-
Notifications
You must be signed in to change notification settings - Fork 28
/
install.nsi
37 lines (32 loc) · 1.08 KB
/
install.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
37
# The Legend of Edgar script
Name "The Legend of Edgar"
OutFile "edgar-0.1-1.installer.exe"
InstallDir "$PROGRAMFILES\Parallel Realities\Edgar"
Page Directory
Page InstFiles
SetCompressor bzip2
Section "Main"
SetOutPath $INSTDIR
File edgar.exe
File edgar.pak
File edgar.ico
File *.dll
File /r locale
File /r doc
SectionEnd
Section "Shortcuts"
CreateDirectory "$SMPROGRAMS\Parallel Realities\Edgar"
CreateShortCut "$SMPROGRAMS\Parallel Realities\Edgar\Edgar.lnk" "$INSTDIR\edgar.exe" "" $INSTDIR\edgar.ico 0 "" ""
CreateShortCut "$SMPROGRAMS\Parallel Realities\Edgar\Help.lnk" "$INSTDIR\doc\index.html" "" "" 0 "" ""
CreateShortCut "$SMPROGRAMS\Parallel Realities\Edgar\Uninstall.lnk" "$INSTDIR\uninstaller.exe"
CreateShortCut "$DESKTOP\Edgar.lnk" "$INSTDIR\edgar.exe" "" "$INSTDIR\edgar.ico" 0 "" ""
SectionEnd
Section "CreateUninstaller"
WriteUninstaller "$INSTDIR\uninstaller.exe"
SectionEnd
Section "Uninstall"
Delete "$SMPROGRAMS\Parallel Realities\Edgar\*.*"
Delete "$SMPROGRAMS\Parallel Realities\Edgar"
Delete "$DESKTOP\Edgar.lnk"
RMDir /r "$INSTDIR"
SectionEnd