I need to catch a return value from the setup for the parent process (also a setup). "0" indicates for me that the setup was installed correct. If I cancel the setup for instance from license dialog I cannot set any return values (terminate with exit code) because the script doesn't seem to move on:
Code: Select all
...
Display Dialog: licensecheck, wait for dialog to return (modal)
if Variable WIZARD Equals BACK
GoTo Label: Welcome Dialog
else
if Variable WIZARD Equals CANCEL
WriteLog "LICENSECHECK Canceled > terminate installation" to $LOGFILE$
GoTo Label: Main Install
end
end
label: ReadMe Information
...
In this example the log output function is not called, why?
I don't understand this.
Also the setup returns always "0" if the Cancel Setup Action is called. Where can I edit this Action?