Use correct return values from FindCpuType function
authormturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 23 Jun 2009 15:34:22 +0000 (15:34 +0000)
committermturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 23 Jun 2009 15:34:22 +0000 (15:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@787713 13f79535-47bb-0310-9956-ffa450edef68

res/tomcat.nsi

index 830f80f..76f691b 100644 (file)
@@ -176,9 +176,9 @@ Section "Core" SecTomcatCore
   Pop $0
   StrCmp $0 "x86" 0 +2
   File /oname=tomcat@VERSION_MAJOR@.exe bin\tomcat@VERSION_MAJOR@.exe
-  StrCmp $0 "x86_64" 0 +2
+  StrCmp $0 "x64" 0 +2
   File /oname=tomcat@VERSION_MAJOR@.exe bin\x64\tomcat@VERSION_MAJOR@.exe
-  StrCmp $0 "ia64" 0 +2
+  StrCmp $0 "i64" 0 +2
   File /oname=tomcat@VERSION_MAJOR@.exe bin\i64\tomcat@VERSION_MAJOR@.exe
 
   InstallRetry: