|
| 1 | + |
| 2 | +#define MyAppName "darktable" |
| 3 | +#define MyAppVersion "${PROJECT_VERSION}" |
| 4 | +#define MyAppCopyright "Copyright © 2009-2025 darktable developers" |
| 5 | +#define MyAppPublisher "darktable team" |
| 6 | +#define MyAppURL "https://darktable.org/" |
| 7 | +#define MyAppExeName "darktable.exe" |
| 8 | +#define MyAppCliExeName "darktable-cli.exe" |
| 9 | + |
| 10 | +[Setup] |
| 11 | +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. |
| 12 | +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) |
| 13 | +AppId={{D6A9DE72-A18F-4051-85A9-D8DF95F71D80} |
| 14 | +AppName={#MyAppName} |
| 15 | +AppVersion={#MyAppVersion} |
| 16 | +AppCopyright={#MyAppCopyright} |
| 17 | +AppPublisher={#MyAppPublisher} |
| 18 | +AppPublisherURL={#MyAppURL} |
| 19 | +AppSupportURL={#MyAppURL} |
| 20 | +AppUpdatesURL={#MyAppURL} |
| 21 | +DefaultDirName={autopf}\{#MyAppName} |
| 22 | +UninstallDisplayIcon={uninstallexe} |
| 23 | + |
| 24 | +; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run |
| 25 | +; on anything but x64 and Windows 11 on Arm. |
| 26 | +ArchitecturesAllowed=x64compatible |
| 27 | + |
| 28 | +; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the |
| 29 | +; install be done in "64-bit mode" on x64 or Windows 11 on Arm, |
| 30 | +; meaning it should use the native 64-bit Program Files directory and |
| 31 | +; the 64-bit view of the registry. |
| 32 | +ArchitecturesInstallIn64BitMode=x64compatible |
| 33 | + |
| 34 | +ChangesAssociations=yes |
| 35 | +DefaultGroupName={#MyAppName} |
| 36 | +AllowNoIcons=yes |
| 37 | +LicenseFile=share\doc\darktable\LICENSE |
| 38 | + |
| 39 | +; Uncomment the following line to run in non administrative install mode (install for current user only). |
| 40 | +;PrivilegesRequired=lowest |
| 41 | + |
| 42 | +PrivilegesRequiredOverridesAllowed=dialog |
| 43 | +OutputBaseFilename=darktable-{#MyAppVersion}-${ARCH_STRING} |
| 44 | + |
| 45 | +; When this directive is set, the compiler will create a manifest file detailing information about the files compiled into Setup. The file will be created in the output directory unless a path is included. |
| 46 | +OutputManifestFile=darktable-manifest.txt |
| 47 | + |
| 48 | +SolidCompression=yes |
| 49 | +WizardStyle=modern |
| 50 | + |
| 51 | +[Tasks] |
| 52 | +; Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked |
| 53 | + |
| 54 | +[Files] |
| 55 | +; Source: "bin\{#MyAppExeName}"; DestDir: "{app}\bin"; Flags: ignoreversion |
| 56 | +Source: "bin\*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 57 | +Source: "lib\*"; DestDir: "{app}\lib"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 58 | +Source: "share\*"; DestDir: "{app}\share"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 59 | +; NOTE: Don't use "Flags: ignoreversion" on any shared system files |
| 60 | + |
| 61 | +[Registry] |
| 62 | +${CMAKE_ADD_DARKTABLE_TO_OPENWITHLIST} |
| 63 | + |
| 64 | +[Icons] |
| 65 | +Name: "{group}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}" |
| 66 | +Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" |
| 67 | +; Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: desktopicon |
| 68 | + |
| 69 | +[Run] |
| 70 | +Filename: "{app}\bin\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent |
0 commit comments