changeset 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 cafc0968ea6b
files gaim-installer.nsi
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gaim-installer.nsi	Fri Nov 15 00:56:24 2002 +0000
+++ b/gaim-installer.nsi	Fri Nov 15 17:08:51 2002 +0000
@@ -3,8 +3,8 @@
 
 ; NOTE: this .NSI script is designed for NSIS v2.0b0+
 
-Name "Gaim 0.60 alpha 4 (Win32)"
-OutFile "gaim-0.60-alpha4.exe"
+Name "Gaim ${GAIM_VERSION} (Win32)"
+OutFile "gaim-${GAIM_VERSION}.exe"
 Icon .\pixmaps\gaim-install.ico
 UninstallIcon .\pixmaps\gaim-install.ico
 
@@ -54,7 +54,7 @@
   ; Read in Aspell install path
   ReadRegStr $R0 HKEY_LOCAL_MACHINE "Software\Aspell" ""
   WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "" "$INSTDIR"
-  WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "Version" "0.60a4"
+  WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "Version" "${GAIM_VERSION}"
   ; Keep track of aspell install path, for when we uninstall
   WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "AspellPath" $R0
   WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gaim" "DisplayName" "Gaim (remove only)"