Archive: 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"

switch the last 2lines
*i miss read*


you need to use an if..then..else loop to get this to work properly :) :)


Sorry, but I think I'll need an example of an if-then-else thing...


I think Webspider is refering to Visual Basic or something...
/arune


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! :(