-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Pinned shortcut icon disappears on upgrade #11995
Copy link
Copy link
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.WG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build
Milestone
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.WG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build
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 theShortcut@Iconproperty to it. Instead, omit the@Iconattribute 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.