[SOLVED] Package installation problem

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
celine18
Messages: 22
Registration: Oct 03, 2018 - 3:14 p.m.

July 2, 2019 - 2:31 PM

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
Last edited by celine18 on July 3, 2019 - 10:25 AM, edited 1 time.
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

July 2, 2019 - 4:24 PM

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.
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 3, 2019 - 09:18

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
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
celine18
Messages: 22
Registration: Oct 03, 2018 - 3:14 p.m.

July 3, 2019 - 10:29

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
Locked