[RESOLVED] organizational unit package error

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
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

August 14, 2019 - 4:17 PM

Hello everyone,

the following package: viewtopic.php?f=9&t=1925

works very well, one station at a time.
However, as soon as it is placed in an OR, it gives this error:
installing tls-agent-kav-10-installerTraceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3846, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptmsjbkd\setup.py", line 18, in install
File "C:\Program Files (x86)\wapt\common.py", line 3802, in new_func
return func(*args,**kwargs)
File "C:\Program Files (x86)\wapt\setuphelpers.py", line 4157, in install_msi_if_needed
run(r'msiexec /norestart /q /i "%s" %s' % (msi,props),accept_returncodes=accept_returncodes,timeout=timeout,pidlist=pidlist)
File "C:\Program Files (x86)\wapt\setuphelpers.py", line 1061, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "Kaspersky Network Agent.msi" PRIVACYPOLICY=1 LAUNCHPROGRAM=1 EULA=1 SERVERADDRESS=10.31.8.47 DONT_USE_ANSWER_FILE=1' returned non-zero exit status 1603.
Output:
CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "Kaspersky Network Agent.msi" PRIVACYPOLICY=1 LAUNCHPROGRAM=1 EULA=1 SERVERADDRESS=10.31.8.47 DONT_USE_ANSWER_FILE=1' returned non-zero exit status 1603.
Output:
I understand the output, because WAPT does not retrieve an expected return value.

My question is: Why this error on the ORs and not the positions?

THANKS
Last edited by Gaetan on August 26, 2019 - 09:36, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

August 14, 2019 - 6:57 PM

There's no connection to OU packages.

However, I doubt error 1603 is expected. ^^

https://support.microsoft.com/fr-fr/hel ... stallation
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

August 19, 2019 - 09:56

Hello,

indeed, it's not expected; it only appears if the application is already present.
But only on a deployment via the OU, not on a peer-to-peer basis.

So I don't understand the difference between the two types of installations.

Could you explain how I can correct my package, please?
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

August 21, 2019 - 10:16

Hello,
I managed to work around the problem by modifying the code (updated in the other post).

But I still don't understand why the error was present in the OU and not in the peer-to-peer interaction.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

August 21, 2019 - 10:28

I admit to having behaved strangely with the Zabbix package...
Locked