Good evening,
I'm finalizing two packages for the Veyon software (student computer monitoring).
Is it possible, from within a package that needs to be installed, to uninstall an existing WAPT package? Or, failing that, to reinstall software that's already present, even if it's the same version? This should only be done once, as long as the package hasn't been updated on the server.
This new installation uses a configuration file that doesn't exist for the students.
Force uninstallation of a package from within another package?
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Hello,
you have several methods.
If you have created a new package with a different name:
1) in your WAPT\control package file: add the name of the package to remove to the conflicts section;
2) in your installation routine, add the line wapt.remove('the name of the package to remove').
If you want to modify the current package, it seems simpler to add your configuration file and increment the package version number so that it updates on the machines.
you have several methods.
If you have created a new package with a different name:
1) in your WAPT\control package file: add the name of the package to remove to the conflicts section;
2) in your installation routine, add the line wapt.remove('the name of the package to remove').
If you want to modify the current package, it seems simpler to add your configuration file and increment the package version number so that it updates on the machines.
This question was also asked on the mailing list:
https://lists.tranquil.it/pipermail/wap ... 02463.html
Simon's answer on the mailing list seems more accurate and will more effectively achieve the desired result:
https://lists.tranquil.it/pipermail/wap ... 02468.html
https://lists.tranquil.it/pipermail/wap ... 02463.html
Simon's answer on the mailing list seems more accurate and will more effectively achieve the desired result:
https://lists.tranquil.it/pipermail/wap ... 02468.html
Vincent CARDON
Tranquil IT
Tranquil IT
Thank you.
By default, I usually use forums because they're more easily indexed by search engines, which is why questions can appear in the list a few days later if there's no response on the forum.
I know we're all volunteers, and that's absolutely not a criticism. In fact, thank you to those who take the time to reply.
By default, I usually use forums because they're more easily indexed by search engines, which is why questions can appear in the list a few days later if there's no response on the forum.
I know we're all volunteers, and that's absolutely not a criticism. In fact, thank you to those who take the time to reply.
Hello,
I'm revisiting the WAPT.remove('package-name') command and encountering a problem.
When removing the package, the uninstallation completes correctly, but it's no longer silent. For your information, the original package handles silent uninstallation correctly.
To double-check, I also used the command `wapt-get remove package-name`, and the problem is identical. I've also tested this on several popular packages and I'm experiencing the same issue.
Is it necessary to include a variable or other information to ensure the silent uninstallation of the original package?
I'm revisiting the WAPT.remove('package-name') command and encountering a problem.
When removing the package, the uninstallation completes correctly, but it's no longer silent. For your information, the original package handles silent uninstallation correctly.
To double-check, I also used the command `wapt-get remove package-name`, and the problem is identical. I've also tested this on several popular packages and I'm experiencing the same issue.
Is it necessary to include a variable or other information to ensure the silent uninstallation of the original package?
