From 18d25eac0f9f4a7ef7d8ad7d0799d533a5b6c026 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 10 Jul 2010 06:59:33 +0000 Subject: [PATCH] - updated installer to give the option for the user to launch the game or not --- mk/windoze/Installer/MegaGlestInstaller.nsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mk/windoze/Installer/MegaGlestInstaller.nsi b/mk/windoze/Installer/MegaGlestInstaller.nsi index dcb939a1..c4d02de8 100644 --- a/mk/windoze/Installer/MegaGlestInstaller.nsi +++ b/mk/windoze/Installer/MegaGlestInstaller.nsi @@ -101,11 +101,14 @@ FunctionEnd Function .onInstSuccess - MessageBox MB_OK "${APNAME} v${APVER} installed successfully, click OK to launch game." + MessageBox MB_YESNO "${APNAME} v${APVER} installed successfully, \ + click Yes to launch the game$\nor 'No' to exit." IDNO noLaunch SetOutPath $INSTDIR Exec 'glest_game.exe' +noLaunch: + FunctionEnd ; The stuff to install