From 79c5b35a6a1bc615c60e2e6aa5e95caa6ee17e3f Mon Sep 17 00:00:00 2001 From: lotus Date: Fri, 21 Jan 2011 18:09:24 +0000 Subject: [PATCH] fix bug in installer in case there was a 32 bit jre installed on a 64 bit windows. now the necessary 64 bit jre gets installed. danke PCA42! http://forum.yacy-websuche.de/viewtopic.php?p=21631#p21631 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7439 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- build.nsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.nsi b/build.nsi index 3e04aba8f..9a1f26c42 100755 --- a/build.nsi +++ b/build.nsi @@ -241,6 +241,9 @@ Function GetJRE FunctionEnd Function DetectJRE + ${If} ${RunningX64} + SetRegView 64 + ${EndIf} ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" "CurrentVersion" StrCmp $2 ${JRE_VERSION6} doneDetectJRE Call GetJRE