changeset 6090:44930abebe0d

[gaim-migrate @ 6549] Removing gaim run registry value on uninstall committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Fri, 11 Jul 2003 16:13:26 +0000
parents 97835d03f0bb
children 9b09fec41257
files gaim-installer.nsi
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gaim-installer.nsi	Fri Jul 11 15:09:19 2003 +0000
+++ b/gaim-installer.nsi	Fri Jul 11 16:13:26 2003 +0000
@@ -44,6 +44,7 @@
 !define GAIM_REG_KEY			"SOFTWARE\gaim"
 !define GAIM_UNINSTALL_KEY		"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gaim"
 !define HKLM_APP_PATHS_KEY		"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\gaim.exe"
+!define GAIM_STARTUP_RUN_KEY		"SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
 !define GAIM_UNINST_EXE			"gaim-uninst.exe"
 
 !define GTK_VERSION			"2.2.1"
@@ -524,6 +525,10 @@
       SetShellVarContext "all"
 
   cont_uninstall:
+    ; The WinPrefs plugin may have left this behind..
+    DeleteRegValue HKCU "${GAIM_STARTUP_RUN_KEY}" "Gaim"
+    DeleteRegValue HKLM "${GAIM_STARTUP_RUN_KEY}" "Gaim"
+
     RMDir /r "$INSTDIR\locale"
     RMDir /r "$INSTDIR\pixmaps"
     Delete "$INSTDIR\plugins\autorecon.dll"