From c166601c0344ca826043c15688aac43de3c490d1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 5 Dec 2017 19:38:52 +1300 Subject: Make JRE more generic --- setup/traccar.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/traccar.iss b/setup/traccar.iss index 3d6c1a872..c929f6d9e 100644 --- a/setup/traccar.iss +++ b/setup/traccar.iss @@ -40,7 +40,7 @@ end; function InitializeSetup(): Boolean; begin - if RegKeyExists(GetLocalMachine(), 'SOFTWARE\JavaSoft\Java Runtime Environment') then + if RegKeyExists(GetLocalMachine(), 'SOFTWARE\JavaSoft') then begin Result := true; end -- cgit v1.2.3