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
pull/1/head
lotus 14 years ago
parent f1f03d8c90
commit 79c5b35a6a

@ -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

Loading…
Cancel
Save