Page 1 of 1

Prevent the packages from reinstalling

Published: September 2, 2018 - 5:58 PM
by guigui
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. :)

Re: Preventing packages from reinstalling

Published: September 5, 2018 - 11:15 AM
by htouvet
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

Re: Preventing packages from reinstalling

Published: September 7, 2018 - 5:53 PM
by guigui
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