Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
First check for native Java, relates to #221 #222
Browse files Browse the repository at this point in the history
  • Loading branch information
binwiederhier committed Sep 10, 2014
1 parent 8d90769 commit dd3f3ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gradle/innosetup/setup.iss.skel
Expand Up @@ -75,10 +75,10 @@ var
JavaVersion: String;
begin
SetArrayLength(RegRootSearchPaths, 4);
RegRootSearchPaths[0] := 'SOFTWARE\\Wow6432Node\\JavaSoft\\Java Development Kit';
RegRootSearchPaths[1] := 'SOFTWARE\\Wow6432Node\\JavaSoft\\Java Runtime Environment';
RegRootSearchPaths[2] := 'SOFTWARE\\JavaSoft\\Java Development Kit';
RegRootSearchPaths[3] := 'SOFTWARE\\JavaSoft\\Java Runtime Environment';
RegRootSearchPaths[0] := 'SOFTWARE\\JavaSoft\\Java Development Kit';
RegRootSearchPaths[1] := 'SOFTWARE\\JavaSoft\\Java Runtime Environment';
RegRootSearchPaths[2] := 'SOFTWARE\\Wow6432Node\\JavaSoft\\Java Development Kit';
RegRootSearchPaths[3] := 'SOFTWARE\\Wow6432Node\\JavaSoft\\Java Runtime Environment';

if IsWin64 then begin
RegRootKey := HKLM64;
Expand Down

0 comments on commit dd3f3ae

Please sign in to comment.