-
Notifications
You must be signed in to change notification settings - Fork 16
/
Westwood Chat.nsi
63 lines (60 loc) · 1.91 KB
/
Westwood Chat.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
!define VERSION "4.221"
Name "Westwood Chat ${VERSION}"
Outfile "Westwood_Chat-${VERSION}.exe"
InstallDir "$PROGRAMFILES\Westwood Chat"
InstallDirRegKey HKLM "Software\Westwood\WChat" "InstallPath"
Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles
Section "Install"
SetShellVarContext all
SetOutPath "$INSTDIR"
WriteUninstaller "$INSTDIR\Uninstall.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Westwood Chat" "DisplayName" "Westwood Chat ${VERSION}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Westwood Chat" "NoModify" 1
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Westwood Chat" "UninstallString" '"$INSTDIR\Uninstall.exe"'
WriteRegStr HKLM "Software\Westwood\WChat" "Name" ""
WriteRegStr HKLM "Software\Westwood\WChat" "InstallPath" "$INSTDIR\WChat.exe"
WriteRegDWORD HKLM "Software\Westwood\WChat" "SKU" 1000
WriteRegDWORD HKLM "Software\Westwood\WChat" "Version" 262365
File bcast16.wav
File bcast8.wav
File deisl1.isu
File deisl2.isu
File enable16.wav
File enable8.wav
File invite16.wav
File invite8.wav
File kick16.wav
File kick8.wav
File license.txt
File nl.cfg
File pager16.wav
File pager8.wav
File patchw32.dll
File register.exe
File thanks16.wav
File thanks8.wav
File wchat.dat
File wchat.exe
File wchat.gid
File wchat.hlp
File wchat.pbk
File wchat.url
File wchatcc.hlp
File wchatra.hlp
File welcom16.wav
File welcom8.wav
File westwood.url
File wupdate.exe
CreateShortCut "$SMPROGRAMS\Westwood Chat.lnk" "$INSTDIR\WChat.exe"
SectionEnd
Section "Uninstall"
SetShellVarContext all
Delete "$SMPROGRAMS\Westwood Chat.lnk"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Westwood Chat"
DeleteRegKey HKLM "Software\Westwood\WChat"
DeleteRegKey /ifempty HKLM "Software\Westwood"
RMDir /r "$INSTDIR"
SectionEnd