aboutsummaryrefslogtreecommitdiff
path: root/setup/windows
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-21 13:16:18 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-21 13:16:18 +1200
commit248e0f4f7e2be0e0686f717bbfa83f9f170edfc8 (patch)
tree6b31c403dd6201fec3db399a63f12b196db4a4f1 /setup/windows
parentac454e7696cc2cedd953874d3cde3f78b3249328 (diff)
downloadtraccar-server-248e0f4f7e2be0e0686f717bbfa83f9f170edfc8.tar.gz
traccar-server-248e0f4f7e2be0e0686f717bbfa83f9f170edfc8.tar.bz2
traccar-server-248e0f4f7e2be0e0686f717bbfa83f9f170edfc8.zip
Update setup package scripts
Diffstat (limited to 'setup/windows')
-rw-r--r--setup/windows/traccar.iss11
1 files changed, 6 insertions, 5 deletions
diff --git a/setup/windows/traccar.iss b/setup/windows/traccar.iss
index f25d7da46..709ba4c8b 100644
--- a/setup/windows/traccar.iss
+++ b/setup/windows/traccar.iss
@@ -10,6 +10,7 @@ Name: "{app}\conf"
Name: "{app}\data"
Name: "{app}\lib"
Name: "{app}\logs"
+Name: "{app}\web"
[Files]
Source: "..\wrapper\bin\wrapper-windows-x86-32.exe"; DestDir: "{app}\bin"; DestName: "wrapper.exe"
@@ -22,8 +23,8 @@ Source: "..\wrapper\src\conf\wrapper.conf.in"; DestDir: "{app}\conf"; DestName:
Source: "..\..\target\tracker-server.jar"; DestDir: "{app}"
Source: "..\..\target\lib\*"; DestDir: "{app}\lib"
-Source: "..\traccar-web.war"; DestDir: "{app}"
-Source: "traccar.cfg"; DestDir: "{app}\conf"; AfterInstall: ConfigureApplication
+Source: "..\..\web\*"; DestDir: "{app}\web"
+Source: "traccar.xml"; DestDir: "{app}\conf"; AfterInstall: ConfigureApplication
[Run]
Filename: "{app}\bin\InstallTraccar-NT.bat"
@@ -63,7 +64,7 @@ var
begin
LoadStringFromFile(ExpandConstant(CurrentFileName), S);
Insert('wrapper.java.classpath.2=../tracker-server.jar' + #13#10, S, Pos('wrapper.java.classpath.1', S));
- Insert(ExpandConstant('wrapper.app.parameter.2="{app}\conf\traccar.cfg"') + #13#10, S, Pos('wrapper.app.parameter.1', S));
+ Insert(ExpandConstant('wrapper.app.parameter.2="{app}\conf\traccar.xml"') + #13#10, S, Pos('wrapper.app.parameter.1', S));
StringChangeEx(S, '<YourMainClass>', 'org.traccar.Main', true);
StringChangeEx(S, '@app.name@', 'Traccar', true);
StringChangeEx(S, '@app.long.name@', 'Traccar', true);
@@ -77,8 +78,8 @@ var
S: String;
begin
LoadStringFromFile(ExpandConstant(CurrentFileName), S);
- StringChangeEx(S, '[DATABASE]', ExpandConstant('{app}\data\database'), true);
- StringChangeEx(S, '[WAR]', ExpandConstant('{app}\traccar-web.war'), true);
+ StringChangeEx(S, '[WEB]', ExpandConstant('{app}\web'), true);
StringChangeEx(S, '[LOG]', ExpandConstant('{app}\logs\tracker-server.log'), true);
+ StringChangeEx(S, '[DATABASE]', ExpandConstant('{app}\data\database'), true);
SaveStringToFile(ExpandConstant(CurrentFileName), S, false);
end;