Agent installation and package update

Questions about WAPT Server / Requests and help related to the WAPT server
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
hasop
Messages: 44
Registration: December 13, 2017 - 10:31

December 13, 2017 - 10:43

Hello,
I'm currently learning about WAPT and, despite the documentation, I can't find answers to these questions:
I installed the agent on a few test machines using FusionInventory's remote deployment (which we might eventually replace with WAPT if it proves successful).
Initially, I wanted to install it using waptdeploy, but an error calling a JSON URL prevented me from doing so.
So, I ran the command "waptagent.exe /VERYSILENT /MERGETASKS=""useWaptServer""" on the different machines, and it works fine. I can then deploy packages to these machines.

However, I don't have a notification icon on the client machines. Therefore, users don't have access to the features described in the documentation (running inventory updates, etc.).
What am I missing?

Furthermore, package installations only occur when I trigger them from the console. I would have liked to be able to give users control over the installation, and at worst, have it happen when the machine is shut down (or perhaps at a specific time of low activity, for example). This last point doesn't seem to be working. Is this related to the lack of a notification icon?

Thank you in advance for your help.
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
Niaha
Messages: 5
Registration: December 13, 2017 - 11:09

December 13, 2017 - 11:55 AM

Hi,

I had the same problem as you about 20 minutes ago, and you're partly responsible for finding the solution.

Follow the tutorial, and instead of "--hash3FHGH°05°Y54...", use /VERYSILENT.

I had no problems installing or getting the information back.

Best regards,
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

December 13, 2017 - 12:11

Good morning,

The list of tasks to pass as arguments to waptdeploy is in the online documentation, but it's just a little further down the page: https://www.wapt.fr/fr/doc-1.5/Configur ... waptdeploy

The option you are looking for is:

Code: Select all

autorunTray
This was pointed out to us last week at the Paris Open Source Summit; we're going to reorganize this page
Furthermore, package installations only occur when I initiate them from the console. I would have preferred to allow users to control the installation and, at the very least, have it run when the machine is shut down (or perhaps at a specific time of low activity). This last point doesn't seem to be working. Is this related to the lack of a notification icon?
No, this point is related to waptexit.exe, the script that runs when the machine shuts down, only on workstations Windows Pro/Enterprise

By any chance, are the machines equipped with Windows Home?

https://www.wapt.fr/fr/doc-1.5/Frequent ... -lance-pas

Sincerely,

Alexander
hasop
Messages: 44
Registration: December 13, 2017 - 10:31

December 14, 2017 - 1:34 PM

I tried installing again using wapdeploy and here's the complete result:

Code: Select all

C:\Users\XXXXXXXX>"D:\Downloads\waptdeploy.exe" --minversion=1.3.13.0 --wait
=15 --waptsetupurl="http://sw-wapt-test/wapt/waptagent.exe" --tasks="autorunTray
,installService,installredist2008,autoUpgradePolicy" --hash=30e783xxxxxxxxxxxe6
WAPT version:
WAPT required version: 1.3.13.0
Wapt agent path: C:\Users\XXXXXXXX\AppData\Local\Temp\waptagent.exe
Wget new waptagent from http://sw-wapt-test/wapt/waptagent.exe
SHA256 hash of downloaded setup file: 30e783xxxxxxxxxxxe6
OK : Hash of waptagent match expected hash.
Got version: 1.3.13.0
Unable to speak with waptservice... continue (Unable to download: http://127.0.0
.1:8088/tasks.json HTTP Status: 0)

Install ...
Launching C:\Users\XXXXXXXX\AppData\Local\Temp\waptagent.exe /VERYSILENT /MERGET
ASKS=""autorunTray,installService,installredist2008,autoUpgradePolicy""
Install OK : 1.3.13.0
Cleanup...
Because there is an error, the return code should not be 0 and is therefore considered a failure. However, the agent appears to be running, but there is no notification icon.

Furthermore, we are using Windows 7 Pro.
How can I check if waptexit is properly installed?

Could the problem causing the absence of a notification icon also prevent waptexit from executing?

Thank you for your help
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
hasop
Messages: 44
Registration: December 13, 2017 - 10:31

December 18, 2017 - 4:17 PM

Any ideas?
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 18, 2017 - 8:40 PM

hasop wrote: Dec 14, 2017 - 1:34 PM I tried installing again using wapdeploy and here's the complete result:

Code: Select all

C:\Users\XXXXXXXX>"D:\Downloads\waptdeploy.exe" --minversion=1.3.13.0 --wait
=15 --waptsetupurl="http://sw-wapt-test/wapt/waptagent.exe" --tasks="autorunTray
,installService,installredist2008,autoUpgradePolicy" --hash=30e783xxxxxxxxxxxe6
WAPT version:
WAPT required version: 1.3.13.0
Wapt agent path: C:\Users\XXXXXXXX\AppData\Local\Temp\waptagent.exe
Wget new waptagent from http://sw-wapt-test/wapt/waptagent.exe
SHA256 hash of downloaded setup file: 30e783xxxxxxxxxxxe6
OK : Hash of waptagent match expected hash.
Got version: 1.3.13.0
Unable to speak with waptservice... continue (Unable to download: http://127.0.0
.1:8088/tasks.json HTTP Status: 0)



Install ...
Launching C:\Users\XXXXXXXX\AppData\Local\Temp\waptagent.exe /VERYSILENT /MERGET
ASKS=""autorunTray,installService,installredist2008,autoUpgradePolicy""
Install OK : 1.3.13.0
Cleanup...

Because there is an error, the return code should not be 0 and is therefore considered a failure. However, the agent appears to be running, but there is no notification icon.
The Wapttray simply creates a shortcut in:

Code: Select all

c:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ 
which points to: c:\wapt\wapttray.exe


Furthermore, we are using Windows 7 Pro.
How can I check if waptexit is properly installed?

If you go to:

Code: Select all

gpedit.msc
Then in:

Code: Select all

Configuration Ordinateur -> Paramètres Windows -> Script -> Arrêt du system
If wapt exit does not appear, it did not work

https://www.wapt.fr/fr/doc/Frequent-pro ... -lance-pas

hasop wrote: Dec 14, 2017 - 1:34 PM
Could the problem causing the absence of a notification icon also prevent waptexit from running?
It doesn't work the same way, so no.

I'm going to test the wapttray with waptdeploy; it's been a long time since I've tested it
hasop
Messages: 44
Registration: December 13, 2017 - 10:31

December 19, 2017 - 10:32

After checking, everything is OK (start menu and script stopped).
The notification icon only appears after restarting the computer.

I think the error message is preventing the icon from displaying during installation.

Thank you for your help.
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
Locked