forked from vranki/siilihai-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
siilihai.nsi
37 lines (27 loc) · 861 Bytes
/
siilihai.nsi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This file is used to generate Windows installer for Siilihai.
# Use makensis.exe from Nullsoft Installer creator.
outFile "siilihai-win32-latest.exe"
installDir $PROGRAMFILES\Siilihai
Page directory
Page instfiles
section
setOutPath $INSTDIR
File siilihai-client.exe
File *.dll
File *.ico
writeUninstaller "$INSTDIR\uninstall.exe"
createShortCut "$SMPROGRAMS\Siilihai.lnk" "$INSTDIR\siilihai-client.exe" "$INSTDIR\siilis_icon_16.ico"
createDirectory "$INSTDIR\platforms"
setOutPath "$INSTDIR\platforms"
file "qwindows.dll"
sectionEnd
section "uninstall"
delete "$INSTDIR\uninstall.exe"
delete "$INSTDIR\*.exe"
delete "$INSTDIR\*.dll"
delete "$INSTDIR\*.ico"
delete "$INSTDIR\platforms\*.*"
RMDir "$INSTDIR\platforms"
RMDir $INSTDIR
delete "$SMPROGRAMS\Siilihai.lnk"
sectionEnd