Hello,
I'm currently learning about WAPT before deploying it.
I have a quick question:
I install a package on a client machine, for example, Notepad++. When I shut down the machine, the package installs without any problem. If I manually uninstall Notepad++ from the Control Panel, WAPT still detects the software as installed even though it's no longer there.
1. Is this normal?
2. Is there a way to make WAPT detect the uninstallation?
Thank you in advance.
[SOLVED] Manual uninstallation of a 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
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello djedje68,
2. In the enterprise version, you can activate the audit feature and verify that the uninstallation key or the .exe binary is still there.
Sincerely,
Denis
1. A person with uninstallation rights on Windows is an administrator of the machine. Therefore, they can do whatever they want/can (even send incorrect inventories or simply uninstall the WAPT client). This is why you should avoid giving administrator rights to users; otherwise, it's normal not to have complete control over the machines...djedje68 wrote: ↑Dec 16, 2019 - 1:07 PM I'm currently learning about WAPT before deploying it.
Quick question:
I install a package on a client machine, for example, Notepad++. When I shut down the machine, the package installs without any problem. If I manually uninstall Notepad++ from the Control Panel, WAPT detects the software as installed even though it's no longer there.
1. Is this normal?
2. Is there a way to make WAPT detect the uninstallation?
2. In the enterprise version, you can activate the audit feature and verify that the uninstallation key or the .exe binary is still there.
Sincerely,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Good morning,
Thank you very much for your feedback.
Thank you very much for your feedback.
I'm well aware of all that; most people don't have admin rights, and frankly, that wasn't the point. Otherwise, I would have asked how to gain control over my network. I'm currently testing the software, and my question seemed legitimate to understand how WAPT works in different situations. The WAPT documentation states that you need a specific sample of the machines in your network. I was testing this sample to see the results.1. A person with uninstallation rights on Windows is an administrator of the machine. Therefore, they can do whatever they want/can (even send incorrect inventories or simply uninstall the WAPT client). This is why you should avoid giving administrator rights to users; otherwise, it's normal not to have complete control over the machines...
Okay, thanks for the reply. So in the Community version, we have no way to get this information?2. In the enterprise version, you can activate the audit feature and verify that the uninstallation key or the .exe binary is still there.
How does WAPT behave with software already installed before WAPT deployment?
For example,
FusionInventory is already installed at version 2.4.
If I add my WAPT repository with version 2.5.2, it doesn't install it because it detects that the package is already installed.
How can we force the software replacement?
The goal is to replace all software installed "before" WAPT for finer control.
For example,
FusionInventory is already installed at version 2.4.
If I add my WAPT repository with version 2.5.2, it doesn't install it because it detects that the package is already installed.
How can we force the software replacement?
The goal is to replace all software installed "before" WAPT for finer control.
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
The Fusion package from tis uses install_exe_if_needed which has the min_version argument.
Therefore, wapt will force a reinstallation of Fusion.
https://wapt.tranquil.it/store/details- ... 2.5-2.wapt
Therefore, wapt will force a reinstallation of Fusion.
https://wapt.tranquil.it/store/details- ... 2.5-2.wapt
Great! Thanks for the feedbackThe Fusion package from tis uses install_exe_if_needed which has the min_version argument.
Therefore, wapt will force a reinstallation of Fusion.
https://wapt.tranquil.it/store/details- ... 2.5-2.wapt
Even if the package had been installed by a means other than WAPT?
Thank you for the answer
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello djedje68,
Sincerely,
Denis
The `install_exe_if_needed` function compares the version to the registry information displayed on the "Programs and Features" screen. If the software is correctly registered, `install_exe_if_needed` will only install it if the version is lower than the one provided. However, sometimes software fails to register its version correctly; in this case, additional work is required to correct the problem.djedje68 wrote: ↑Dec 19, 2019 - 12:57Great! Thanks for the feedbackThe Fusion package from tis uses install_exe_if_needed which has the min_version argument.
Therefore, wapt will force a reinstallation of Fusion.
https://wapt.tranquil.it/store/details- ... 2.5-2.wapt
Even if the package had been installed by a means other than WAPT?
Sincerely,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Great answer!! Thank you so much!The `install_exe_if_needed` function compares the version to the registry information displayed on the "Programs and Features" screen. If the software is correctly registered, `install_exe_if_needed` will only install it if the version is lower than the one provided. However, sometimes software fails to register its version correctly; in this case, additional work is required to correct the problem.
