From 809865e3efe250c14dcacb2b1c4c717f99173d9e Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 13 Feb 2011 18:14:00 +0100 Subject: [PATCH] Add NSIS script to create a Windows installer. --- blobwars.nsi | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 blobwars.nsi diff --git a/blobwars.nsi b/blobwars.nsi new file mode 100644 index 0000000..9a399eb --- /dev/null +++ b/blobwars.nsi @@ -0,0 +1,35 @@ +# Blob Wars : Metal Blob Solid script + +Name "Blob Wars : Metal Blob Solid" +OutFile "blobwars-1.18-1.installer.exe" +InstallDir "$PROGRAMFILES\Parallel Realities\BlobWars" +Page Directory +Page InstFiles + +Section "Main" + SetOutPath $INSTDIR + File blobwars.exe + File blobwars.pak + File blobwars.ico + File *.dll + File /r locale + File /r doc +SectionEnd + +Section "Shortcuts" + CreateDirectory "$SMPROGRAMS\Parallel Realities\BlobWars" + CreateShortCut "$SMPROGRAMS\Parallel Realities\BlobWars\BlobWars.lnk" "$INSTDIR\blobwars.exe" "" $INSTDIR\blobwars.ico 0 "" "" + CreateShortCut "$SMPROGRAMS\Parallel Realities\BlobWars\Uninstall.lnk" "$INSTDIR\uninstaller.exe" + CreateShortCut "$DESKTOP\BlobWars.lnk" "$INSTDIR\blobwars.exe" "" "$INSTDIR\blobwars.ico" 0 "" "" +SectionEnd + +Section "CreateUninstaller" + WriteUninstaller "$INSTDIR\uninstaller.exe" +SectionEnd + +Section "Uninstall" + Delete "$SMPROGRAMS\Parallel Realities\BlobWars\*.*" + Delete "$SMPROGRAMS\Parallel Realities\BlobWars" + Delete "$DESKTOP\BlobWars.lnk" + RMDir /r "$INSTDIR" +SectionEnd -- 2.39.5