Prevent the packages from reinstalling

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
Locked
guigui
Messages: 3
Registration: August 25, 2018 - 5:54 PM

September 2, 2018 - 5:58 PM

Hello,

I'm new to WAPT and I need your help. I recently finished installing my server. I can add dependencies to packages and groups of packages for a given user. I'm deploying my agent via GPO, but here's my problem: every time the machine restarts, WAPT checks for updates and tries to reinstall the packages I added in the console just before the restart. In addition, when I log back in after restarting, I get a flood of error notifications saying that some packages couldn't be installed.

Can you tell me how to stop WAPT from checking for updates and how to block this spam of notifications?

Thank you in advance for your help. :)
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

September 5, 2018 - 11:15

If the packages added to a machine (added as dependencies) were installed correctly, they should not need to be reinstalled afterwards.

So if wapt tries to reinstall them every time it stops, it means they are not installed correctly.
Verify the following command manually on one of the workstations using a command prompt (CMD) with elevated privileges:

Code: Select all

  wapt-get upgrade
You should be able to see the reason for the errors.

Alternatively, to avoid receiving notifications, remove the "WAPT tray helper" shortcut from the directory

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Tranquil IT
guigui
Messages: 3
Registration: August 25, 2018 - 5:54 PM

September 7, 2018 - 5:53 PM

Hello,

Thank you very much for your reply. With the `wapt-get update` command, the client machine no longer searches for relevant updates.
However, I'm still having trouble resolving my notification problem. I've noticed that deleting the WAPT tray helper.lnk file, as you suggested, stops the notifications, but I can't seem to automate its deletion. Do you think it would be possible to modify the WAPT agent before it installs on the machines, so as to block notifications at that point?

Thank you again for your help. :D
Locked