aboutsummaryrefslogtreecommitdiff
path: root/setup/windows
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-08-20 23:37:46 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2012-08-20 23:37:46 +0400
commit4929206865ad6123c70ff2fca7c571e38089a01b (patch)
tree533ce31ef840a52715a36e608278066966886fec /setup/windows
parent6dc180657196e4b6c2029c8b3fe9d3931152d094 (diff)
downloadtrackermap-server-4929206865ad6123c70ff2fca7c571e38089a01b.tar.gz
trackermap-server-4929206865ad6123c70ff2fca7c571e38089a01b.tar.bz2
trackermap-server-4929206865ad6123c70ff2fca7c571e38089a01b.zip
Automate setups creation
Diffstat (limited to 'setup/windows')
-rw-r--r--setup/windows/README.txt19
-rw-r--r--setup/windows/traccar.iss8
-rwxr-xr-xsetup/windows/traccar.sh18
3 files changed, 41 insertions, 4 deletions
diff --git a/setup/windows/README.txt b/setup/windows/README.txt
new file mode 100644
index 000000000..499ff4960
--- /dev/null
+++ b/setup/windows/README.txt
@@ -0,0 +1,19 @@
+== DESCRIPTION ==
+
+Web page - http://www.traccar.org
+
+Author - Anton Tananaev (anton.tananaev@gmail.com)
+
+Traccar software is licensed under the Apache License 2.0.
+
+== INSTALL ==
+
+1. Download and install JRE if you do not have it (http://www.java.com/download)
+2. Run setup.exe and follow instructions
+
+NOTE: For 64-bit Windows you have to install 32-bit JRE.
+
+== UNINSTALL ==
+
+1. Remove Traccar program from Control Panel
+2. Remove Traccar directory (by default in Program Files)
diff --git a/setup/windows/traccar.iss b/setup/windows/traccar.iss
index 9aad6cf8b..fc9ccfc99 100644
--- a/setup/windows/traccar.iss
+++ b/setup/windows/traccar.iss
@@ -12,16 +12,16 @@ Name: "{app}\lib"
Name: "{app}\logs"
[Files]
-Source: "wrapper\bin\wrapper.exe"; DestDir: "{app}\bin"
+Source: "wrapper\bin\wrapper-windows-x86-32.exe"; DestDir: "{app}\bin"; DestName: "wrapper.exe"
Source: "wrapper\src\bin\App.bat.in"; DestDir: "{app}\bin"; DestName: "Traccar.bat"
Source: "wrapper\src\bin\InstallApp-NT.bat.in"; DestDir: "{app}\bin"; DestName: "InstallTraccar-NT.bat"
Source: "wrapper\src\bin\UninstallApp-NT.bat.in"; DestDir: "{app}\bin"; DestName: "UninstallTraccar-NT.bat"
-Source: "wrapper\lib\wrapper.dll"; DestDir: "{app}\lib";
+Source: "wrapper\lib\wrapper-windows-x86-32.dll"; DestDir: "{app}\lib"; DestName: "wrapper.dll"
Source: "wrapper\lib\wrapper.jar"; DestDir: "{app}\lib";
Source: "wrapper\src\conf\wrapper.conf.in"; DestDir: "{app}\conf"; DestName: "wrapper.conf"; AfterInstall: ConfigureWrapper
-Source: "tracker-server.jar"; DestDir: "{app}"
-Source: "lib\*"; DestDir: "{app}\lib"
+Source: "..\..\target\tracker-server.jar"; DestDir: "{app}"
+Source: "..\..\target\lib\*"; DestDir: "{app}\lib"
Source: "windows.cfg"; DestDir: "{app}\conf"; AfterInstall: ConfigureApplication
[Run]
diff --git a/setup/windows/traccar.sh b/setup/windows/traccar.sh
new file mode 100755
index 000000000..e72a130f1
--- /dev/null
+++ b/setup/windows/traccar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+tar -xzf wrapper-delta-pack-*.tar.gz
+mv wrapper-delta-pack-*/ wrapper/
+
+innoextract isetup-*.exe
+
+wine app/ISCC.exe traccar.iss
+mv Output/setup.exe .
+
+zip traccar-windows-32.zip setup.exe README.txt
+
+rm setup.exe
+rm -rf Output
+rm -rf wrapper
+rm -rf app
+rm -rf tmp
+