Archive: How to get return value code after installation is finished


How to get return value code after installation is finished
hi,

How to get return value code after installion is completed?

Thanks,
Jayam


SetErrorLevel


From which installer? Are you running another installer from your own installer or are you talking of your own installer?

If it's another installer, use ExecWait and pass a variable to be filled with the return code as the second parameter.

ExecWait "another installer.exe" $0
If it's your installer, run it in a cmd.exe with start /wait and use %ERRORLEVEL% later.