build/windows: Add custom icon to the Installer setup

There are two approaches regarding the icon for Windows installers .exe:
1) same icon as the app: this give more identity, but creates confusion if
   you saved the installer in the same dir of the installed app shortcut.
   This approach is also confusing in the task bar (e.g.: running GIMP
   stable while installing GIMP unstable);
2) generic icon (e.g. a box, a cd) provided by the tool: more generic if
   you downloaded two installers generated by the same tool (ours is Inno)

I choose a middle ground and created a icon with: the app icon and an
"installer" symbol (a package box), which conveys the best of two words.

This also fixes the Inno inborn bug of the unninstaller with install icon.
This commit is contained in:
Bruno 2024-06-04 16:21:45 -03:00
parent bc2917b1f3
commit 56269a68f6
3 changed files with 3 additions and 1 deletions

View File

@ -99,6 +99,7 @@ if (Test-Path -Path $gen_path)
Copy-Item $gen_path\*list build\windows\installer\
# Copy generated images into the source directory
Copy-Item $gen_path\*ico build\windows\installer\
Copy-Item $gen_path\*bmp build\windows\installer\
}

View File

@ -174,6 +174,7 @@ WizardImageStretch=yes
;INSTALLER .EXE FILE
SetupIconFile=setup.ico
ArchitecturesInstallIn64BitMode=x64 arm64
MinVersion=10.0

@ -1 +1 @@
Subproject commit 341b0412165f5a090ec8873e15392c8844e7e812
Subproject commit 81415f82d5dd4ae933148190132865064f37d671