...instead of:Function .onInit
MessageBox MB_YESNO "This will install. Continue?" IDYES 1
Abort
FunctionEnd
The '1' would mean 'skip the next 1 instruction' and you could even perhaps use negative instructions to say 'go back 6 instructions'.Function .onInit
MessageBox MB_YESNO "This will install. Continue?" IDYES NoAbort
Abort
NoAbort:
FunctionEnd
Wasn't there something like this in older versions on NSIS? If so, why was it removed?