From e3ed7e2fac9c96c6c6b49a1b9085cdb4e290f72a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 18 Sep 2016 02:30:35 +1200 Subject: More changes to setup scripts --- setup/windows/traccar.iss | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 setup/windows/traccar.iss (limited to 'setup/windows/traccar.iss') diff --git a/setup/windows/traccar.iss b/setup/windows/traccar.iss deleted file mode 100644 index 76b176f71..000000000 --- a/setup/windows/traccar.iss +++ /dev/null @@ -1,41 +0,0 @@ -[Setup] -AppName=Traccar -AppVersion=3.7 -DefaultDirName={pf}\Traccar -AlwaysRestart=yes -OutputBaseFilename=traccar-setup - -[Files] -Source: "..\out\*"; DestDir: "{app}"; Flags: recursesubdirs - -[Run] -Filename: "{app}\bin\installService.bat" - -[UninstallRun] -Filename: "{app}\bin\uninstallService.bat" - -[Code] -function GetLocalMachine(): Integer; -begin - if IsWin64 then - begin - Result := HKLM64; - end - else - begin - Result := HKEY_LOCAL_MACHINE; - end; -end; - -function InitializeSetup(): Boolean; -begin - if RegKeyExists(GetLocalMachine(), 'SOFTWARE\JavaSoft\Java Runtime Environment') then - begin - Result := true; - end - else - begin - Result := false; - MsgBox('This application requires Java Runtime Environment version 7 or later. Please download and install the JRE and run this setup again. If you have Java installed and still get this error, you need to re-install it from offline installer (for more info see https://www.traccar.org/windows/).', mbCriticalError, MB_OK); - end; -end; -- cgit v1.2.3