medfall

A super great game engine
Log | Files | Refs

commit ad3e9bd96101eca243426a5643d053c66f3b23d0
parent 8a57a50c346a19b12daf5b2c081c8d02127a06e3
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed May 10 19:43:20 +0300

Installer tweaks

Diffstat:
installer.nsi | 16++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/installer.nsi b/installer.nsi @@ -1,7 +1,7 @@ !include "MUI2.nsh" Name "Medfall" -Outfile "MedfallInstall.exe" +Outfile "MedfallInstaller.exe" InstallDir "$PROGRAMFILES64\Medfall" InstallDirRegKey HKCU "Software\Medfall" "" @@ -9,15 +9,17 @@ RequestExecutionLevel admin !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES +!insertmacro MUI_UNPAGE_CONFIRM +!insertmacro MUI_UNPAGE_INSTFILES Section "Install" SectionInstall # Install stuff SetOutPath $INSTDIR - File launcher.exe + File launch.exe # Start menu shortcut CreateDirectory "$SMPROGRAMS\Medfall" - CreateShortCut "$SMPROGRAMS\Medfall\Medfall.lnk" "$INSTDIR\launcher.exe" + CreateShortCut "$SMPROGRAMS\Medfall\Medfall.lnk" "$INSTDIR\launch.exe" # Uninstaller WriteUninstaller "$INSTDIR\uninstall.exe" @@ -36,16 +38,10 @@ Section "Install" SectionInstall WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Medfall" "EstimatedSize" $1 SectionEnd -Function un.onInit - MessageBox MB_OKCANCEL "Really uninstall Medfall?" IDOK next - Abort - next: -FunctionEnd - Section "Uninstall" # Files Delete "$INSTDIR\medfall.exe" - Delete "$INSTDIR\launcher.exe" + Delete "$INSTDIR\launch.exe" Delete "$INSTDIR\uninstall.exe" Delete "$INSTDIR\version.txt" Delete "$INSTDIR\manifest.txt"