Page 1 of 1

[SOLVED] Package installation problem

Published: July 2, 2019 - 2:31 PM
by celine18
Hello,

I recently migrated my server from version 1.6.2.6 to 1.6.2.7 running Debian Stretch without any issues. The console is managed from a Windows 10 PC.
Even before the server update, I was no longer able to deploy software updates via WAPT.

For the past few months, WAPT has been trying to launch the executable files of each application from a temporary folder C:\Windows\Temp\Wapt***\.
The installation starts when each machine shuts down. For security reasons, we block program execution from this directory using our antivirus software.
This used to work perfectly; I don't know what changed in the installation process. The folder is created randomly with numbers and letters in C:\Windows\Temp\. I tried creating an exception on my antivirus server, but without success.

Is it possible to change the location of this default folder, "C:\Windows\Temp\", from the server or the console?

Don't hesitate to ask if you need more details.
Céline

Re: Problem installing packages

Published: July 2, 2019 - 4:24 PM
by olaplanche
Good morning,

The following exclusions should be added to the antivirus configuration?
"C:\Program Files (x86)\wapt\waptservice\win32\nssm.exe"
"C:\Program Files (x86)\wapt\waptservice\win64\nssm.exe"
"C:\Program Files (x86)\wapt\waptagent.exe"
"C:\Program Files (x86)\wapt\waptconsole.exe"
"C:\Program Files (x86)\wapt\waptexit.exe"

"C:\wapt\waptservice\win32\nssm.exe"
"C:\wapt\waptservice\win64\nssm.exe"
"C:\wapt\waptagent.exe"
"C:\wapt\waptconsole.exe"
"C:\wapt\waptexit.exe"
Personally, I have no problems with the above exclusions and Trend Officescan AV.

Re: Problem installing packages

Published: July 3, 2019 - 9:18 AM
by dcardon
Hello Céline,
celine18 wrote: July 2, 2019 - 2:31 PM I recently migrated my server from 1.6.2.6 to 1.6.2.7 under Debian Stretch without any problems. The console is managed from a Windows 10 PC.
Even before the server update, I could no longer deploy my software updates via WAPT.

For the past few months, WAPT has been trying to launch the executable files of each application from a temporary folder C:\Windows\Temp\Wapt***\.
The installation starts when each machine shuts down. For security reasons, we block the execution of programs from this directory using our antivirus software.
Before, this worked perfectly; I don't know what changed in the installation process. The folder is created randomly with numbers and letters in the C:\Windows\Temp\ folder. I tried creating an exception on my antivirus server, but without success.

Is it possible to change the location of this default folder "C:\Windows\Temp\" from the server or the console?
The upgrade is probably unrelated to your problem. Waptdeploy's behavior has been the same at least since version 1.3.

Waptdeploy.exe downloads waptagent.exe to the %TEMP% directory of the user running it, which is c:\windows\temp by default. There is currently no way to change this.

One way to work around the problem is to first put a GPO that downloads the waptagent.exe file to a location where you can run an exe, and then set up a waptdeploy GPO with a local URL such as file:///c/mydirectory/waptagent.exe.

Afterwards, don't forget to also take into account the other exceptions that olaplanche mentioned.

Sincerely,

Denis

Re: [SOLVED] Package installation problem

Published: July 3, 2019 - 10:29 AM
by celine18
Thank you for your replies.
I updated the antivirus with the exceptions and it works. :D
We recently updated our antivirus server; some options must have been removed.

Céline