Skip to content

Commit fbb6dfc

Browse files
authored
Merge pull request #19327 from victoryforce/more-innosetup-fixes
More fixes for Inno Setup based installer
2 parents a46e80f + 88e225e commit fbb6dfc

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packaging/windows/darktable.iss.in

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ AppPublisherURL={#MyAppURL}
2020
AppSupportURL={#MyAppURL}
2121
AppUpdatesURL={#MyAppURL}
2222
DefaultDirName={autopf}\{#MyAppName}
23-
UninstallDisplayIcon={uninstallexe}
23+
UninstallDisplayIcon={app}\bin\{#MyAppExeName}
2424

2525
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
2626
; on anything but x64 and Windows 11 on Arm.
@@ -78,6 +78,18 @@ Root: HKA; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\{#MyAppC
7878
ValueData: "{app}\bin\{#MyAppCliExeName}"; \
7979
Flags: uninsdeletekey
8080

81+
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \
82+
ValueType: string; \
83+
ValueName: "CAMLIBS"; \
84+
ValueData: "{app}\lib\libgphoto2\${CPACK_NSIS_GPHOTO2_VERSION}"; \
85+
Flags: uninsdeletevalue
86+
87+
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \
88+
ValueType: string; \
89+
ValueName: "IOLIBS"; \
90+
ValueData: "{app}\lib\libgphoto2_port\${CPACK_NSIS_GPHOTO2_PORT_VERSION}"; \
91+
Flags: uninsdeletevalue
92+
8193
[Icons]
8294
Name: "{group}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"
8395
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"

0 commit comments

Comments
 (0)