SAGE client installation - installshield and answer file
Published: January 19, 2021 - 11:31
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?
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?