]> git.mxchange.org Git - quix0rs-blobwars.git/blob - blobwars.nsi
Don't link pak tool with SDL.
[quix0rs-blobwars.git] / blobwars.nsi
1 # Blob Wars : Metal Blob Solid script
2
3 Name "Blob Wars : Metal Blob Solid"
4 OutFile "blobwars-1.19-1.installer.exe"
5 InstallDir "$PROGRAMFILES\Parallel Realities\BlobWars"
6 Page Directory
7 Page InstFiles
8
9 Section "Main"
10   SetOutPath $INSTDIR
11   File blobwars.exe
12   File blobwars.pak
13   File blobwars.ico
14   File *.dll
15   File /r locale
16   File /r doc
17 SectionEnd
18
19 Section "Shortcuts"
20         CreateDirectory "$SMPROGRAMS\Parallel Realities\BlobWars"
21         CreateShortCut "$SMPROGRAMS\Parallel Realities\BlobWars\BlobWars.lnk" "$INSTDIR\blobwars.exe" "" $INSTDIR\blobwars.ico 0 "" ""
22         CreateShortCut "$SMPROGRAMS\Parallel Realities\BlobWars\Uninstall.lnk" "$INSTDIR\uninstaller.exe"
23         CreateShortCut "$DESKTOP\BlobWars.lnk" "$INSTDIR\blobwars.exe" "" "$INSTDIR\blobwars.ico" 0 "" ""
24 SectionEnd
25
26 Section "CreateUninstaller"
27         WriteUninstaller "$INSTDIR\uninstaller.exe"
28 SectionEnd
29
30 Section "Uninstall"
31   Delete "$SMPROGRAMS\Parallel Realities\BlobWars\*.*"
32   Delete "$SMPROGRAMS\Parallel Realities\BlobWars"
33   Delete "$DESKTOP\BlobWars.lnk"
34   RMDir /r "$INSTDIR"
35 SectionEnd