Skip to content

Commit 22de224

Browse files
committed
Don't interrupt silent un/installer with message boxes
1 parent eb404f3 commit 22de224

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Examples/makensis-fork.nsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ Function PageLeaveReinstall
11601160
Quit ; ...yes, already installed, we are done
11611161
Abort
11621162
${EndIf}
1163-
MessageBox MB_ICONEXCLAMATION "Unable to uninstall!"
1163+
MessageBox MB_ICONEXCLAMATION "Unable to uninstall!" /SD IDOK
11641164
Abort
11651165
${Else}
11661166
StrCpy $0 $R1 1
@@ -1195,7 +1195,7 @@ Section Uninstall
11951195
SetDetailsPrint listonly
11961196

11971197
IfFileExists $INSTDIR\Bin\makensis.exe nsis_installed
1198-
MessageBox MB_YESNO "It does not appear that NSIS is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?" IDYES nsis_installed
1198+
MessageBox MB_YESNO "It does not appear that NSIS is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?" IDYES nsis_installed /SD IDYES
11991199
Abort "Uninstall aborted by user"
12001200
nsis_installed:
12011201

0 commit comments

Comments
 (0)