From 2543d16e666954886c2d4a90fd9129f1008b9ade Mon Sep 17 00:00:00 2001 From: Anthony Rabine Date: Sun, 28 May 2023 22:17:44 +0200 Subject: [PATCH] Add innosetup --- .gitignore | 4 ++ .../windows-setup/openstoryteller-editor.iss | 48 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 story-editor/windows-setup/openstoryteller-editor.iss diff --git a/.gitignore b/.gitignore index d46e6a8..a801ae5 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,7 @@ build-story-editor-Desktop_Qt_6_5_1_MinGW_64_bit-Debug/ build-story-editor-Desktop_Qt_6_5_1_MinGW_64_bit-Release/ build-story-editor-Desktop_Qt_6_5_1_MSVC2019_64bit-Debug/ + +release/ + +story-editor/windows-setup/Output/ diff --git a/story-editor/windows-setup/openstoryteller-editor.iss b/story-editor/windows-setup/openstoryteller-editor.iss new file mode 100644 index 0000000..5edc245 --- /dev/null +++ b/story-editor/windows-setup/openstoryteller-editor.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 "Open Story Teller Editor" +#define MyAppVersion "0.1" +#define MyAppPublisher "D8S Eurl" +#define MyAppURL "www.openstoryteller.org" +#define MyAppExeName "story-editor.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={{7D7B5E11-A164-414E-AF4F-BCADA52A95F4} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={autopf}\{#MyAppName} +DisableProgramGroupPage=yes +LicenseFile=..\..\LICENSE +; Remove the following line to run in administrative install mode (install for all users.) +PrivilegesRequired=lowest +PrivilegesRequiredOverridesAllowed=dialog +OutputBaseFilename=openstoryteller-editor +Compression=lzma +SolidCompression=yes +WizardStyle=modern + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "..\..\release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon + +[Run] +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent +