# HG changeset patch # User Herman Bloggs # Date 1037380131 0 # Node ID ff8eb6508202b1053b584dcbb25f81fad3751e78 # Parent a17b482a921657010c5224bf7d75e7b759a35bb9 [gaim-migrate @ 4150] Installer script now receives Gaim version from command line committer: Tailor Script diff -r a17b482a9216 -r ff8eb6508202 gaim-installer.nsi --- 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)"