I'm running an installer from my NSIS installer/script via the following:
However I want to abort the whole script/installer if this installer fails to complete. I.e. if the exit code != 0.Section "app2" Section2
; Set Section properties
SetOverwrite on
SectionIn RO
;Set Section Files and Shortcuts
SetOutPath "$INSTDIR\Install\"
File "..\..\source\biginstaller\app2.exe"
ExecWait "$INSTDIR\Install\app2.exe"
SectionEnd
I did find a 'Useful Script' that mentions this, but I'm being intellectually challenged and cant find how to apply it, as the example seems to omit this section.
http://nsis.sourceforge.net/Embedding_other_installers#Using_the_return_value_from_the_ExecWait
.
Suggestions please?