Skip to content
⌘ NSIS Forum Archive

Weird Behaviour?

6 posts

petersa#

Weird Behaviour?

Hi all,

For some reason, this code doesn't work right. If yes, the program should run and the installer should quit. If no, the installer should stay put and let the user see the details. It quits though, no matter what is chosen!

Am I doing something wrong?

AutoCloseWindow False
MessageBox MB_YESNO|MB_ICONQUESTION "Would you like to run it now?" IDNO 2
AutoCloseWindow True
Exec "$INSTDIR\IT.EXE"
petersa#
I tried your idea, Bor, but it didn't work; thanks anyway!

Is this like one of those commands that run whether or not they're in a section that's used?

Please, help, Justin! 🙁