--- a/gaim-installer.nsi Wed Jan 12 13:55:54 2005 -0500
+++ b/gaim-installer.nsi Wed Jan 12 17:47:16 2005 -0500
@@ -1051,6 +1051,15 @@
; If install path was set on the command, use it.
StrCmp $INSTDIR "" 0 instdir_done
+ ; If gaim is currently intalled, we should default to where it is currently installed + ReadRegStr $INSTDIR HKCU "${GAIM_REG_KEY}" "" + StrCmp $INSTDIR "" 0 instdir_done + ReadRegStr $INSTDIR HKLM "${GAIM_REG_KEY}" "" + StrCmp $INSTDIR "" 0 instdir_done Call CheckUserInstallRights