summaryrefslogtreecommitdiffhomepage
path: root/installer
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-15 05:13:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-15 05:13:51 +0200
commit7b15426c5a1e8ce1f17cf7fe01f8594ab75f98e9 (patch)
tree021d26eb429c13d9242b4e5dc560571cda0affa5 /installer
parent0efacbc3d776079b48ea09c010798e71de155cb5 (diff)
Add innosetup-based installer script
Diffstat (limited to 'installer')
-rw-r--r--installer/opentrack-installer.iss48
1 files changed, 48 insertions, 0 deletions
diff --git a/installer/opentrack-installer.iss b/installer/opentrack-installer.iss
new file mode 100644
index 00000000..4e43b587
--- /dev/null
+++ b/installer/opentrack-installer.iss
@@ -0,0 +1,48 @@
+; Script generated by the Inno Setup Script Wizard.
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+
+#define MyAppName "opentrack"
+#define MyAppVersion "2.0a1"
+#define MyAppPublisher "opentrack"
+#define MyAppURL "http://github.com/opentrack/opentrack"
+#define MyAppExeName "opentrack.exe"
+
+[Setup]
+; NOTE: The value of AppId uniquely identifies this application.
+; Do not use the same AppId value in installers for other applications.
+; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
+AppId={{E454805B-11A6-469F-9FA9-865BEAD787D0}
+AppName={#MyAppName}
+AppVersion={#MyAppVersion}
+;AppVerName={#MyAppName} {#MyAppVersion}
+AppPublisher={#MyAppPublisher}
+AppPublisherURL={#MyAppURL}
+AppSupportURL={#MyAppURL}
+AppUpdatesURL={#MyAppURL}
+DefaultDirName={pf}\{#MyAppName}
+DefaultGroupName={#MyAppName}
+AllowNoIcons=yes
+OutputBaseFilename=opentrack-setup
+SetupIconFile=C:\Users\Administrator\Projects\opentrack\facetracknoir\facetracknoir.ico
+Compression=lzma
+SolidCompression=yes
+DisableWelcomePage=True
+DisableReadyPage=True
+DisableReadyMemo=True
+
+[Languages]
+Name: "english"; MessagesFile: "compiler:Default.isl"
+
+[Tasks]
+Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
+
+[Files]
+Source: "C:\Users\Administrator\Projects\opentrack\install\*"; DestDir: "{app}"; Flags: ignoreversion createallsubdirs recursesubdirs
+
+[Icons]
+Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
+Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
+
+[Run]
+Filename: "{app}\redist\vc80redist_x86.exe"; Parameters: "/q:a"; Flags: postinstall waituntilterminated; Description: "Install MSVC 8.0 runtime for FaceAPI"
+Filename: "{app}\{#MyAppExeName}"; Flags: nowait postinstall skipifsilent; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}" \ No newline at end of file