diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-15 05:13:51 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-15 05:13:51 +0200 |
commit | 7b15426c5a1e8ce1f17cf7fe01f8594ab75f98e9 (patch) | |
tree | 021d26eb429c13d9242b4e5dc560571cda0affa5 | |
parent | 0efacbc3d776079b48ea09c010798e71de155cb5 (diff) |
Add innosetup-based installer script
-rw-r--r-- | .gitignore | 15 | ||||
-rw-r--r-- | installer/opentrack-installer.iss | 48 |
2 files changed, 56 insertions, 7 deletions
@@ -1,10 +1,11 @@ /CMakeLists.txt.user *~ /build* -/install -/bin/tracker-ht/headtracker-ftnoir.exe -/bin/tracker-ht/libgcc_s_dw2-1.dll -/bin/tracker-ht/libstdc++-6.dll -/bin/tracker-ht/bounding-box.raw -/bin/tracker-ht/flandmark_model.dat -/bin/tracker-ht/head.raw +/install
+/bin/tracker-ht/headtracker-ftnoir.exe
+/bin/tracker-ht/libgcc_s_dw2-1.dll
+/bin/tracker-ht/libstdc++-6.dll
+/bin/tracker-ht/bounding-box.raw
+/bin/tracker-ht/flandmark_model.dat
+/bin/tracker-ht/head.raw
+/installer/Output
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 |