Page 1 of 1

SAGE client installation - installshield and answer file

Published: January 19, 2021 - 11:31
by MathieuL
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?

Re: SAGE client installation - installshield and answer file

Published: January 19, 2021 - 11:33 AM
by MathieuL
I should mention that I put the answer file in the package folder...
I must be missing something.

Re: SAGE client installation - installshield and answer file

Published: January 19, 2021 - 1:28 PM
by MathieuL
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
>>>