summary refs log tree commit diff stats
path: root/build
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-11-23 03:39:02 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-11-23 03:39:02 +0100
commitd805d30957401d7249f36394f2ba480f6a1efeb8 (patch)
tree72ee18918c1b07f82821285408f3ef90645e33c1 /build
parentabf1d817cf50571a079436b6f9e9c367c7fc343a (diff)
fix uninstaller logic
Diffstat (limited to 'build')
-rw-r--r--build/xchat-wdk-x64.skel.iss2
-rw-r--r--build/xchat-wdk-x86.skel.iss2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/xchat-wdk-x64.skel.iss b/build/xchat-wdk-x64.skel.iss
index 5a366f0a..01de19eb 100644
--- a/build/xchat-wdk-x64.skel.iss
+++ b/build/xchat-wdk-x64.skel.iss
@@ -157,7 +157,7 @@ var
 	sUnInstPath: String;

 	sUnInstallString: String;

 begin

-	sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\XChat-WDK_is1');

+	sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\XChat-WDK (x64)_is1');

 	sUnInstallString := '';

 	if not RegQueryStringValue(HKLM, sUnInstPath, 'UninstallString', sUnInstallString) then

 		RegQueryStringValue(HKCU, sUnInstPath, 'UninstallString', sUnInstallString);

diff --git a/build/xchat-wdk-x86.skel.iss b/build/xchat-wdk-x86.skel.iss
index 75f92a59..b67ede65 100644
--- a/build/xchat-wdk-x86.skel.iss
+++ b/build/xchat-wdk-x86.skel.iss
@@ -156,7 +156,7 @@ var
 	sUnInstPath: String;

 	sUnInstallString: String;

 begin

-	sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\XChat-WDK_is1');

+	sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\XChat-WDK (x86)_is1');

 	sUnInstallString := '';

 	if not RegQueryStringValue(HKLM, sUnInstPath, 'UninstallString', sUnInstallString) then

 		RegQueryStringValue(HKCU, sUnInstPath, 'UninstallString', sUnInstallString);