aemik
17th July 2007 08:58 UTC
MessageBox Failure
MessageBox MB_ICONEXCLAMATION|MB_YESNOCANCEL "Do you want to uninstall first?" IDYES yesbutton IDCANCEL cancelbutton IDNO nobutton
cancelbutton:
Abort
yesbutton:
Exec "$INSTDIR\Uninstaller.exe"
Abort
nobutton:
I dont know why Im getting an error message...
XXnsisuserXX
17th July 2007 09:17 UTC
You forgot a slash between $INSTDIR and Uninstaller.exe. It has to be
Exec "$INSTDIR\Uninstaller.exe"
aemik
17th July 2007 09:31 UTC
No, thats not the failure...
The Error appears in the first line...
Afrow UK
17th July 2007 12:32 UTC
What does the error message say?
Stu
kichik
17th July 2007 17:36 UTC
You can't have three jumps in MessageBox, just two. The third place the MessageBox can jump to is the instruction right after it. IDCANCEL cancelbutton is redundant and should be removed.