diff options
| author | lotus <lotus@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2011-01-21 18:09:24 +0000 |
|---|---|---|
| committer | lotus <lotus@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2011-01-21 18:09:24 +0000 |
| commit | 79c5b35a6a1bc615c60e2e6aa5e95caa6ee17e3f (patch) | |
| tree | 102188c513bc23425cb0f7baf44789de271d6976 /build.nsi | |
| parent | f1f03d8c908400ef6f0e1d353de9ca6d9c482c2e (diff) | |
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
Diffstat (limited to 'build.nsi')
| -rwxr-xr-x | build.nsi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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
|
