Archive: Return value?


Return value?
Hi,

How can I set the return value of my installer?
Quit and Abort both can't take return values as far as I know.
I'm launching my installer from another applicatio and need different return values


StrCmp ${PREVIOUS_VERSION} "" noUpgrade
MessageBox MB_YESNO "Setup will remove the following Products: $\r$\n ${PREVIOUS_VERSION} $\r$\n Press Yes to continue." /SD IDYES IDNO exitUpgrade
MessageBox MB_OK "Removing..."
; here i need to return 0

exitUpgrade:
Quit ; here i return an error

noUpgrade:




Regards,
EnCey

SetErrorLevel


Thanks!