Reference/Abort: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(→Abort) |
(→Abort) |
||
Line 3: | Line 3: | ||
user_message | user_message | ||
Cancels the install, stops execution of script, and displays user_message in the status display. Note: you can use this from [ | Cancels the install, stops execution of script, and displays user_message in the status display. Note: you can use this from [http://nsis.sourceforge.net/Docs//Chapter4.html#4.7.2 Callback functions] to do special things. [http://nsis.sourceforge.net/Docs/Chapter4.html#4.5 Page callbacks] also uses Abort for special purposes. | ||
<highlight-nsis>Abort | <highlight-nsis>Abort | ||
Abort "can't install"</highlight-nsis> | Abort "can't install"</highlight-nsis> |
Revision as of 18:48, 27 November 2011
Abort
user_message
Cancels the install, stops execution of script, and displays user_message in the status display. Note: you can use this from Callback functions to do special things. Page callbacks also uses Abort for special purposes.
Abort Abort "can't install"