- updated installer to give the option for the user to launch the game or not

This commit is contained in:
Mark Vejvoda
2010-07-10 06:59:33 +00:00
parent 9a6bb4830e
commit 18d25eac0f

View File

@@ -101,11 +101,14 @@ FunctionEnd
Function .onInstSuccess 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 SetOutPath $INSTDIR
Exec 'glest_game.exe' Exec 'glest_game.exe'
noLaunch:
FunctionEnd FunctionEnd
; The stuff to install ; The stuff to install