Archive: Quit upon abortion of external installer


Quit upon abortion of external installer
Hi,

I'm looking for a way to terminate NSIS installer if an external installation wizard I called using execWait is aborted.

in some pseudo code:

If Successful(execWait "ext_install.exe")
continue
Else
quit

The external install wizard is Install Shield. Is there any way to read the return value or can it be done in a completely different way?

Thanks in advance for your support

Patrick


You can check out app' exit code (second ExecWait parameter). If it retirnes (for example) 0 on success

ExecWait ext_install.exe $0
IntCmp $0 0 OK
Abort "InstSh failed"
OK: ...

THX a lot for your reply.
I'll check it out as soon as I get back to my desk :)