From 7b15426c5a1e8ce1f17cf7fe01f8594ab75f98e9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 15 Sep 2013 05:13:51 +0200 Subject: Add innosetup-based installer script --- .gitignore | 15 ++++++------ installer/opentrack-installer.iss | 48 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 7 deletions(-) create mode 100644 installer/opentrack-installer.iss diff --git a/.gitignore b/.gitignore index 7a420ac8..f367cb02 100644 --- a/.gitignore +++ b/.gitignore @@ -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 -- cgit v1.2.3