aboutsummaryrefslogtreecommitdiff
path: root/setup/traccar.iss
diff options
context:
space:
mode:
Diffstat (limited to 'setup/traccar.iss')
-rw-r--r--setup/traccar.iss5
1 files changed, 2 insertions, 3 deletions
diff --git a/setup/traccar.iss b/setup/traccar.iss
index f60b811f7..7bb599af2 100644
--- a/setup/traccar.iss
+++ b/setup/traccar.iss
@@ -7,7 +7,6 @@ OutputBaseFilename=traccar-setup
ArchitecturesInstallIn64BitMode=x64
[Dirs]
-Name: "{app}\bat"
Name: "{app}\conf"
Name: "{app}\data"
Name: "{app}\lib"
@@ -20,10 +19,10 @@ Name: "{app}\templates"
Source: "out\*"; DestDir: "{app}"; Flags: recursesubdirs
[Run]
-Filename: "{app}\bat\installService.bat"; Parameters: ">%TEMP%\installService.log 2>&1"; Flags: runhidden
+Filename: "java.exe"; Parameters: "-jar {app}\tracker-server.jar --install {app}\conf\traccar.xml"; Flags: runhidden
[UninstallRun]
-Filename: "{app}\bat\uninstallService.bat"; Parameters: ">%TEMP%\uninstallService.log 2>&1"; Flags: runhidden
+Filename: "java.exe"; Parameters: "-jar {app}\tracker-server.jar --uninstall"; Flags: runhidden
[Code]
function GetLocalMachine(): Integer;