comparison gaim-installer.nsi @ 3966:ff8eb6508202

[gaim-migrate @ 4150] Installer script now receives Gaim version from command line committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Fri, 15 Nov 2002 17:08:51 +0000
parents a17b482a9216
children 85980320d468
comparison
equal deleted inserted replaced
3965:a17b482a9216 3966:ff8eb6508202
1 ; Installer script for win32 Gaim 1 ; Installer script for win32 Gaim
2 ; Herman Bloggs <hermanator12002@yahoo.com> 2 ; Herman Bloggs <hermanator12002@yahoo.com>
3 3
4 ; NOTE: this .NSI script is designed for NSIS v2.0b0+ 4 ; NOTE: this .NSI script is designed for NSIS v2.0b0+
5 5
6 Name "Gaim 0.60 alpha 4 (Win32)" 6 Name "Gaim ${GAIM_VERSION} (Win32)"
7 OutFile "gaim-0.60-alpha4.exe" 7 OutFile "gaim-${GAIM_VERSION}.exe"
8 Icon .\pixmaps\gaim-install.ico 8 Icon .\pixmaps\gaim-install.ico
9 UninstallIcon .\pixmaps\gaim-install.ico 9 UninstallIcon .\pixmaps\gaim-install.ico
10 10
11 ; Some default compiler settings (uncomment and change at will): 11 ; Some default compiler settings (uncomment and change at will):
12 ; SetCompress auto ; (can be off or force) 12 ; SetCompress auto ; (can be off or force)
52 52
53 ; Gaim Registry Settings 53 ; Gaim Registry Settings
54 ; Read in Aspell install path 54 ; Read in Aspell install path
55 ReadRegStr $R0 HKEY_LOCAL_MACHINE "Software\Aspell" "" 55 ReadRegStr $R0 HKEY_LOCAL_MACHINE "Software\Aspell" ""
56 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "" "$INSTDIR" 56 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "" "$INSTDIR"
57 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "Version" "0.60a4" 57 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "Version" "${GAIM_VERSION}"
58 ; Keep track of aspell install path, for when we uninstall 58 ; Keep track of aspell install path, for when we uninstall
59 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "AspellPath" $R0 59 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "AspellPath" $R0
60 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gaim" "DisplayName" "Gaim (remove only)" 60 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gaim" "DisplayName" "Gaim (remove only)"
61 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gaim" "UninstallString" '"$INSTDIR\gaim-uninst.exe"' 61 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gaim" "UninstallString" '"$INSTDIR\gaim-uninst.exe"'
62 ; Set App path to include aspell dir (so Gaim can find aspell dlls) 62 ; Set App path to include aspell dir (so Gaim can find aspell dlls)