Hello,
I tested a local silent installation for the SAGE client using an answer file:
SafeX3V1Client116.exe -r -f1c:\tempsage\rep.iss.
Then I deleted the client and ran the installation with the answer file
: SafeX3V1Client116.exe -s -f1c:\tempsage\rep.iss.
The installation completed silently and everything is OK.
I would like to package it, but it's not working.
I tried these two options:
`def install():
#install_exe_if_needed("SafeX3V1Client116.exe",'-s -f1rep.iss',key='Safe X3 Client V1',min_version='15.0.498')`
run('"SafeX3V1Client116.exe" -s -f1rep.iss')`
and I get the same message every time:
>>>
*** Remote Interpreter Reinitialized ***
Command Line: install "D:\waptdev\cim-sage-wapt\WAPT\.."
Using config file: D:\wapt\wapt-get.ini
Installing WAPT files D:\waptdev\cim-sage-wapt
2021-01-19 11:25:32,967 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command '"SafeX3V1Client116.exe" -s -f1rep.iss' returned non-zero exit status -2147213312.
Output::
Traceback (most recent call last):
File "D:\wapt\common.py", line 3877, in install_wapt
exitstatus = setup.install()
File "D:\waptdev\cim-sage-wapt\setup.py", line 8, in install
run('"SafeX3V1Client116.exe" -s -f1rep.iss')
File "D:\wapt\common.py", line 3647, in run
return ensure_unicode(setuphelpers.run(*arg,**args))
File "D:\wapt\setuphelpers_windows.py", line 3718, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"SafeX3V1Client116.exe" -s -f1rep.iss' returned non-zero exit status -2147213312.
Output:
FATAL ERROR: CalledProcessErrorOutput: Command '"SafeX3V1Client116.exe" -s -f1rep.iss' returned non-zero exit status -2147213312.
Output:
Exit code: 3
>>>
Do you have any idea?
SAGE client installation - installshield and answer file
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
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
I found a command in the post about Pronote, I searched the InstallShield forum...
it seems to call the current directory...
run(r'"SafeX3V1Client116.exe" -s -f1%s\rep.iss' % basedir)
I can see the installation start, I get a few progress windows, but after a while I still get an error message:
>>>
*** Remote Interpreter Reinitialized ***
Command Line: install "D:\waptdev\cim-sage-wapt\WAPT\.."
Using config file: D:\wapt\wapt-get.ini
Installing WAPT files D:\waptdev\cim-sage-wapt
2021-01-19 13:25:25,927 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command '"SafeX3V1Client116.exe" -s -f1D:\\waptdev\\cim-sage-wapt\\rep.iss' returned non-zero exit status -2147213312.
Output::
Traceback (most recent call last):
File "D:\wapt\common.py", line 3877, in install_wapt
exitstatus = setup.install()
File "D:\waptdev\cim-sage-wapt\setup.py", line 8, in install
run(r'"SafeX3V1Client116.exe" -s -f1%s\rep.iss' % basedir)
File "D:\wapt\common.py", line 3647, in run
return ensure_unicode(setuphelpers.run(*arg,**args))
File "D:\wapt\setuphelpers_windows.py", line 3718, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"SafeX3V1Client116.exe" -s -f1D:\\waptdev\\cim-sage-wapt\\rep.iss' returned non-zero exit status -2147213312.
Output:
FATAL ERROR: CalledProcessErrorOutput: Command '"SafeX3V1Client116.exe" -s -f1D:\\waptdev\\cim-sage-wapt\\rep.iss' returned non-zero exit status -2147213312.
Output:
Exit code: 3
>>>
it seems to call the current directory...
run(r'"SafeX3V1Client116.exe" -s -f1%s\rep.iss' % basedir)
I can see the installation start, I get a few progress windows, but after a while I still get an error message:
>>>
*** Remote Interpreter Reinitialized ***
Command Line: install "D:\waptdev\cim-sage-wapt\WAPT\.."
Using config file: D:\wapt\wapt-get.ini
Installing WAPT files D:\waptdev\cim-sage-wapt
2021-01-19 13:25:25,927 CRITICAL Fatal error in install script: CalledProcessErrorOutput: Command '"SafeX3V1Client116.exe" -s -f1D:\\waptdev\\cim-sage-wapt\\rep.iss' returned non-zero exit status -2147213312.
Output::
Traceback (most recent call last):
File "D:\wapt\common.py", line 3877, in install_wapt
exitstatus = setup.install()
File "D:\waptdev\cim-sage-wapt\setup.py", line 8, in install
run(r'"SafeX3V1Client116.exe" -s -f1%s\rep.iss' % basedir)
File "D:\wapt\common.py", line 3647, in run
return ensure_unicode(setuphelpers.run(*arg,**args))
File "D:\wapt\setuphelpers_windows.py", line 3718, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"SafeX3V1Client116.exe" -s -f1D:\\waptdev\\cim-sage-wapt\\rep.iss' returned non-zero exit status -2147213312.
Output:
FATAL ERROR: CalledProcessErrorOutput: Command '"SafeX3V1Client116.exe" -s -f1D:\\waptdev\\cim-sage-wapt\\rep.iss' returned non-zero exit status -2147213312.
Output:
Exit code: 3
>>>
Wapt 1.8.7334 Enterprise - Windows Server 2016 Datacenter
Admin Console on the server itself
Admin Console on the server itself
