[Installer] Fix the Windows product display name and icon

The name was not set at all and was falling back to the fullname being swift.
Instead set it explicitly to fullname including version and architecture.
The productDisplayIcon is evaluated at installer runtime and needs to be
set to a installed icon path.
The installer icon itself was to big (> 100 kb) and got unnecessary sizes
removed.

ref T344
This commit is contained in:
Roland Winklmeier
2018-09-17 10:56:18 +02:00
committed by Klaus Basan
parent 0034d33b77
commit 441d292b54
3 changed files with 13 additions and 1 deletions

View File

@@ -163,7 +163,8 @@
<osxApplicationBundleIdentifier>org.swift-project.macinstaller</osxApplicationBundleIdentifier>
<osxUninstallerApplicationBundleIcon>../images/swiftinstaller.icns</osxUninstallerApplicationBundleIcon>
<outputDirectory>.</outputDirectory>
<productDisplayIcon>../images/swiftinstaller.ico</productDisplayIcon>
<productDisplayIcon>${installdir}/share/icons/swiftinstaller.ico</productDisplayIcon>
<productDisplayName>${product_fullname} ${project.version} ${architecture}bit</productDisplayName>
<requestedExecutionLevel>highestAvailable</requestedExecutionLevel>
<saveRelativePaths>1</saveRelativePaths>
<startMenuGroupName>swift ${project.version} ${architecture}bit</startMenuGroupName>