Archive: Run one install from another with parameters


Run one install from another with parameters
Hello All

Task:
two installs with gui
case 1:
one run another and second must run in silent mode without gui and returns code (Success or Failed) to fist

case 2:
second check if fist setup exist and add files
in this case second HAS gui

How to run one install from another and check return code?
How to run install with gui and without gui? Command parameters? like this
setup2.exe /silentmode=On
setup2.exe /silentmode=Off


you just need to combine GetParameters with SetSilent.


Originally posted by Yathosho
you just need to combine GetParameters with SetSilent.
What about Return code in second installer to check successful installation?

See appendix D, section 2 in the documentation. With the latest CVS version you can also set your own return code.


Originally posted by kichik
See appendix D, section 2 in the documentation. With the latest CVS version you can also set your own return code.
Section D?
Useful information and some common words about error level. What do you mean?

The error level is the return code.