Skip to content
⌘ NSIS Forum Archive

Abort dont works with InstallOptions

3 posts

Speed78#

Abort dont works with InstallOptions

Hello,

i use the install options(only one custom page) and it works fine. But if the user cancels the setup on my custom page the custom function runs to the end. That´s not ok. Has anybody a solution??

Here the script!

Greetings

Speed78, Germany
Joel#
maybe putting something like this

Function .onUserAbort
MessageBox MB_YESNO "Quick the installer?" IDYES NoCancelAbort
Abort
NoCancelAbort:
FunctionEnd
kichik#
The MUI already adds .onUserAbort, it's not related. The script works for me. What version of NSIS are you using? Try the latest CVS version. Note that some script updates may be required.