release.cmd: detection of Inno Setup should work now on 64bit WIN

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1724 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
xhmikosr
2009-08-20 17:57:41 +00:00
parent 3d66fbdecb
commit 63c0c2fde5
+10 -1
View File
@@ -52,8 +52,17 @@ DEL/f/a %RequiredDLLs% "ProcessHacker.Common.xml"^
REM Delete the temporary directory
RD tmp >NUL 2>&1
REM Set the path of Inno Setup and compile installer
REM Detect if we are running on 64bit WIN and use Wow6432Node, set the path
REM of Inno Setup accordingly and compile installer
IF "%PROGRAMFILES(x86)%zzz"=="zzz" GOTO :32BIT
SET "U_=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"
GOTO :common
:32BIT
SET "U_=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
GOTO :common
:common
SET "I_=Inno Setup"
SET "A_=%I_% 5"
SET "M_=Inno Setup IS NOT INSTALLED!!!"