From 4924439787dbda7aa25beaa94af7b1e0dd9d98ec Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 23 Feb 2004 04:23:34 +0000 Subject: [PATCH] allow continuing if uninstaller fails --- stepmania/stepmania.nsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/stepmania.nsi b/stepmania/stepmania.nsi index dd16e2a1ff..479ef8cb39 100644 --- a/stepmania/stepmania.nsi +++ b/stepmania/stepmania.nsi @@ -48,7 +48,7 @@ ExecWait '$WINDIR\unvise32.exe $INSTDIR\uninstal.log' $R1 ; don't use quotes her ; unvise32.exe doesn't return a useful exit code. See if uninstal.log still exists. IfFileExists "$INSTDIR\uninstal.log" vise_still_exists old_vise_not_installed vise_still_exists: -MessageBox MB_OK|MB_ICONINFORMATION "Uninstallation failed." +MessageBox MB_YESNO|MB_DEFBUTTON2|MB_ICONINFORMATION "Uninstallation failed. Install anyway?" IDYES old_vise_not_installed Abort old_vise_not_installed: @@ -85,7 +85,7 @@ Delete $R3 ; failure (eg. aborted). IntCmp $R4 0 old_nsis_not_installed ; jump if 0 -MessageBox MB_OK|MB_ICONINFORMATION "Uninstallation failed." +MessageBox MB_YESNO|MB_DEFBUTTON2|MB_ICONINFORMATION "Uninstallation failed. Install anyway?" IDYES old_nsis_not_installed Abort