| 1 |
; Script initially generated by the Inno Setup Script Wizard. |
| 2 |
; Documentation: http://www.jrsoftware.org/ishelp/ |
| 3 |
; |
| 4 |
; This script is used by "Inno Setup" (http://www.jrsoftware.org/) to create a |
| 5 |
; setup executable. When the "make install" process ends, double-click on this |
| 6 |
; file to load it into Inno Setup, then execute it to create the installer. It |
| 7 |
; expects to find all the dependency libs in the root destination folder (the |
| 8 |
; one from the 'make install' process), and the usual 'lib' directory. |
| 9 |
; Note that all *.dll files will be added, so be careful which DLLs are present |
| 10 |
; in the folder before running this script. |
| 11 |
; |
| 12 |
; This script searches for and bundles all "luminance-hdr*.exe" files, allowing |
| 13 |
; you to bundle GUI and CLI versions, a "release" as well as a "debug" version at the same time. |
| 14 |
; At least one "luminance-hdr.exe" file is required. |
| 15 |
; |
| 16 |
; This script is configured to check that the operating system's bit depth is |
| 17 |
; the same as that of the executable file. |
| 18 |
; |
| 19 |
; The IA-64 architecture is not supported. |
| 20 |
|
| 21 |
#define MyAppName "${LHDR_NAME}" |
| 22 |
#define MyAppVersion "${GIT_DESCRIBE}" |
| 23 |
#define MyAppVersionNumeric "${GIT_NUMERIC_VERSION_ONLY}" |
| 24 |
#define MyAppPublisher "${LHDR_VENDOR}" |
| 25 |
#define MyAppURL "http://qtpfsgui.sourceforge.net/" |
| 26 |
#define MyAppExeName "luminance-hdr.exe" |
| 27 |
#define MySourceBasePath "${PROJECT_SOURCE_DIR}" |
| 28 |
#define MyBitDepth "${BUILD_BIT_DEPTH}" |
| 29 |
#define MyTargetArchitecture "${ARCHITECTURE_ALLOWED}" |
| 30 |
#define MyInstallMode "${INSTALL_MODE}" |
| 31 |
#define MySystemName "${SYSTEM_NAME}" |
| 32 |
#define MySourceLibsDir "${LIBSSRCDIR}" |
| 33 |
#define MyBranch "${GIT_BRANCH}" |
| 34 |
#define MyHuginBinPath "${HUGIN_BIN_DIR}" |
| 35 |
|
| 36 |
[Setup] |
| 37 |
; NOTE: The value of AppId uniquely identifies this application. |
| 38 |
; Do not use the same AppId value in installers for other applications. |
| 39 |
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) |
| 40 |
AppId={#MyAppName}{#MyAppVersion} |
| 41 |
AppName={#MyAppName} |
| 42 |
AppVersion={#MyAppVersion} |
| 43 |
VersionInfoVersion={#MyAppVersionNumeric} |
| 44 |
AppPublisher={#MyAppPublisher} |
| 45 |
AppPublisherURL={#MyAppURL} |
| 46 |
AppSupportURL={#MyAppURL} |
| 47 |
AppUpdatesURL={#MyAppURL} |
| 48 |
DefaultDirName={pf}\{#MyAppName}\{#MyAppVersion} |
| 49 |
DefaultGroupName={#MyAppName} |
| 50 |
AllowNoIcons=yes |
| 51 |
LicenseFile=LICENSE |
| 52 |
OutputDir=..\ |
| 53 |
OutputBaseFilename=Luminance-HDR_{#MyBranch}_{#MyAppVersion}_{#MySystemName}_{#MyBitDepth} |
| 54 |
SetupIconFile={#MySourceBasePath}\program-icons\luminance.ico |
| 55 |
;WizardImageFile={#MySourceBasePath}\build_files\platforms\msys2\installerStrip.bmp |
| 56 |
WizardImageBackColor=$2A2A2A |
| 57 |
Compression=lzma |
| 58 |
SolidCompression=yes |
| 59 |
ArchitecturesAllowed={#MyTargetArchitecture} |
| 60 |
ArchitecturesInstallIn64BitMode={#MyInstallMode} |
| 61 |
PrivilegesRequired=none |
| 62 |
|
| 63 |
[Languages] |
| 64 |
Name: "english"; MessagesFile: "compiler:Default.isl" |
| 65 |
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl" |
| 66 |
Name: "catalan"; MessagesFile: "compiler:Languages\Catalan.isl" |
| 67 |
Name: "corsican"; MessagesFile: "compiler:Languages\Corsican.isl" |
| 68 |
Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl" |
| 69 |
Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl" |
| 70 |
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl" |
| 71 |
Name: "finnish"; MessagesFile: "compiler:Languages\Finnish.isl" |
| 72 |
Name: "french"; MessagesFile: "compiler:Languages\French.isl" |
| 73 |
Name: "german"; MessagesFile: "compiler:Languages\German.isl" |
| 74 |
Name: "greek"; MessagesFile: "compiler:Languages\Greek.isl" |
| 75 |
Name: "hebrew"; MessagesFile: "compiler:Languages\Hebrew.isl" |
| 76 |
Name: "hungarian"; MessagesFile: "compiler:Languages\Hungarian.isl" |
| 77 |
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl" |
| 78 |
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl" |
| 79 |
Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl" |
| 80 |
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl" |
| 81 |
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl" |
| 82 |
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl" |
| 83 |
Name: "serbiancyrillic"; MessagesFile: "compiler:Languages\SerbianCyrillic.isl" |
| 84 |
Name: "serbianlatin"; MessagesFile: "compiler:Languages\SerbianLatin.isl" |
| 85 |
Name: "slovenian"; MessagesFile: "compiler:Languages\Slovenian.isl" |
| 86 |
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl" |
| 87 |
Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl" |
| 88 |
|
| 89 |
[Tasks] |
| 90 |
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked |
| 91 |
;Name: "desktopicon\common"; Description: "For all users"; GroupDescription: "Additional icons:"; Flags: exclusive |
| 92 |
;Name: "desktopicon\user"; Description: "For the current user only"; GroupDescription: "Additional icons:"; Flags: exclusive unchecked |
| 93 |
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1 |
| 94 |
;Name: regBrowseFolder; Description: "Add ""Browse with RawTherapee"" option to context menu when right-clicking on a folder."; GroupDescription: File extensions: |
| 95 |
|
| 96 |
[Files] |
| 97 |
Source: "luminance-hdr*.exe"; DestDir: "{app}"; Flags: ignoreversion |
| 98 |
Source: "hdrhtml\*"; DestDir: "{app}\hdrhtml\"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 99 |
Source: "help\*"; DestDir: "{app}\help\"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 100 |
Source: "i18n\*"; DestDir: "{app}\i18n\"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 101 |
Source: "icons\*"; DestDir: "{app}\icons\"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 102 |
Source: "imageformats\*"; DestDir: "{app}\imageformats\"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 103 |
Source: "platforms\*"; DestDir: "{app}\platforms\"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 104 |
Source: "sqldrivers\*"; DestDir: "{app}\sqldrivers\"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 105 |
Source: "AUTHORS"; DestDir: "{app}"; Flags: ignoreversion |
| 106 |
Source: "LICENSE"; DestDir: "{app}"; Flags: ignoreversion |
| 107 |
Source: "Changelog"; DestDir: "{app}"; Flags: ignoreversion |
| 108 |
Source: "README.md"; DestDir: "{app}"; Flags: ignoreversion |
| 109 |
Source: "{#MyHuginBinPath}/align_image_stack.exe"; DestDir: "{app}/hugin"; Flags: ignoreversion |
| 110 |
Source: "{#MyHuginBinPath}/*.dll"; Excludes: "wx*.dll"; DestDir: "{app}/hugin"; Flags: ignoreversion |
| 111 |
|
| 112 |
;---- DLLs ! (the Qt5 plugins dll are already copied in the base path |
| 113 |
Source: "{#MySourceLibsDir}\qt5concurrent.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 114 |
Source: "{#MySourceLibsDir}\qt5core.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 115 |
Source: "{#MySourceLibsDir}\qt5gui.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 116 |
Source: "{#MySourceLibsDir}\qt5network.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 117 |
Source: "{#MySourceLibsDir}\qt5printsupport.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 118 |
Source: "{#MySourceLibsDir}\qt5sql.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 119 |
Source: "{#MySourceLibsDir}\qt5webkitwidgets.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 120 |
Source: "{#MySourceLibsDir}\qt5widgets.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 121 |
Source: "{#MySourceLibsDir}\qt5winextras.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 122 |
Source: "{#MySourceLibsDir}\qt5xml.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 123 |
Source: "{#MySourceLibsDir}\qt5webkit.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 124 |
Source: "{#MySourceLibsDir}\qt5multimedia.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 125 |
Source: "{#MySourceLibsDir}\qt5multimediawidgets.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 126 |
Source: "{#MySourceLibsDir}\qt5xml.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 127 |
Source: "{#MySourceLibsDir}\qt5positioning.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 128 |
Source: "{#MySourceLibsDir}\qt5qml.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 129 |
Source: "{#MySourceLibsDir}\qt5quick.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 130 |
Source: "{#MySourceLibsDir}\qt5sensors.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 131 |
Source: "{#MySourceLibsDir}\qt5webchannel.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 132 |
Source: "{#MySourceLibsDir}\qt5opengl.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 133 |
Source: "{#MySourceLibsDir}\libexiv2.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 134 |
Source: "{#MySourceLibsDir}\libgsl-23.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 135 |
Source: "{#MySourceLibsDir}\libiex-2_*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 136 |
Source: "{#MySourceLibsDir}\libilmimf-2_*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 137 |
Source: "{#MySourceLibsDir}\libjpeg-8.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 138 |
Source: "{#MySourceLibsDir}\liblcms2-2.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 139 |
Source: "{#MySourceLibsDir}\libpng16-16.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 140 |
Source: "{#MySourceLibsDir}\libraw-*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 141 |
Source: "{#MySourceLibsDir}\libtiff-5.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 142 |
Source: "{#MySourceLibsDir}\libwinpthread-1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 143 |
Source: "{#MySourceLibsDir}\libgcc_s_seh-1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 144 |
Source: "{#MySourceLibsDir}\libgomp-1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 145 |
Source: "{#MySourceLibsDir}\libstdc++-6.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 146 |
Source: "{#MySourceLibsDir}\libexpat-1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 147 |
Source: "{#MySourceLibsDir}\libiconv-2.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 148 |
Source: "{#MySourceLibsDir}\zlib1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 149 |
Source: "{#MySourceLibsDir}\libgslcblas-0.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 150 |
Source: "{#MySourceLibsDir}\libhalf-2_*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 151 |
Source: "{#MySourceLibsDir}\libilmthread-2_*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 152 |
Source: "{#MySourceLibsDir}\libimath-2_*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 153 |
Source: "{#MySourceLibsDir}\zlib1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 154 |
Source: "{#MySourceLibsDir}\libjasper-4.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 155 |
Source: "{#MySourceLibsDir}\liblzma-5.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 156 |
Source: "{#MySourceLibsDir}\libicuin*.dll"; Excludes: "libicuind*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 157 |
Source: "{#MySourceLibsDir}\libicuuc*.dll"; Excludes: "libicuucd*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 158 |
Source: "{#MySourceLibsDir}\libpcre2-16-0.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 159 |
Source: "{#MySourceLibsDir}\libharfbuzz-0.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 160 |
Source: "{#MySourceLibsDir}\libicudt*.dll"; Excludes: "libicudtd*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 161 |
Source: "{#MySourceLibsDir}\libfreetype-6.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 162 |
Source: "{#MySourceLibsDir}\libglib-2.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 163 |
Source: "{#MySourceLibsDir}\libgraphite2.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 164 |
Source: "{#MySourceLibsDir}\libsqlite3-0.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 165 |
Source: "{#MySourceLibsDir}\libwebp-7.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 166 |
Source: "{#MySourceLibsDir}\libxml2-2.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 167 |
Source: "{#MySourceLibsDir}\libxslt-1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 168 |
Source: "{#MySourceLibsDir}\libzstd.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 169 |
Source: "{#MySourceLibsDir}\libbz2-1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 170 |
Source: "{#MySourceLibsDir}\libintl-8.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 171 |
Source: "{#MySourceLibsDir}\libpcre-1.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 172 |
Source: "{#MySourceLibsDir}\libcfitsio-3.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 173 |
|
| 174 |
;Source: "gdb.exe"; DestDir: "{app}"; Flags: skipifsourcedoesntexist ignoreversion |
| 175 |
; NOTE: Don't use "Flags: ignoreversion" on any shared system files |
| 176 |
|
| 177 |
[Icons] |
| 178 |
Name: "{group}\{#MyAppName} {#MyAppVersion}"; Filename: "{app}\{#MyAppExeName}" |
| 179 |
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}" |
| 180 |
Name: "{group}\{cm:UninstallProgram,{#MyAppName} {#MyAppVersion}}"; Filename: "{uninstallexe}" |
| 181 |
;Name: "{commondesktop}\{#MyAppName} {#MyAppVersion}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: desktopicon |
| 182 |
Name: "{commondesktop}\{#MyAppName} {#MyBranch} {#MyAppVersion}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon |
| 183 |
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName} {#MyAppVersion}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon |
| 184 |
|
| 185 |
[Run] |
| 186 |
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent |
| 187 |
|
| 188 |
;[Registry] |
| 189 |
;Root: HKCU; Subkey: "SOFTWARE\Classes\Directory\shell\Browse with RawTherapee"; ValueType: string; ValueData: "Browse with RawTherapee"; Flags: uninsdeletekey; Tasks: regBrowseFolder |
| 190 |
;Root: HKCU; Subkey: "SOFTWARE\Classes\Directory\shell\Browse with RawTherapee\command"; ValueType: string; ValueData: "{app}\{#MyAppExeName} -w ""%1"""; Flags: uninsdeletekey; Tasks: regBrowseFolder |