-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
When upgrading from v7 RC to RC, my pinned pwsh.exe shortcut on the taskbar (pinned from the shortcut you create) disappears. This is because Windows Installer icons via WiX's <Icon> element get random GUIDs that change from release to release. As a former WiX dev and looong-time setup dev, we recommended people away from those icons and other advertised features because of various problems like this.
You can still use it if you want to customize your Add/Remove Programs (ARP) entry like you do via ARPPRODUCTICON, but don't set the Shortcut@Icon property to it. Instead, omit the @Icon attribute and it will default to the first icon index in the target EXE instead of a cached path to the Windows Installer cache that will change from release to release as you rebuild your MSI.