I have a program that is built using a WiX project. When the application is installed the first time, I am able to pin it to the taskbar just fine. When an update is installed, the application still works, but the icon in the taskbar turns into the default icon (the file icon), not my program's icon.
While I go into the pinned icon's shortcut properties and click "Change Icon", it gives an error message stating the path can't be found. The path to the icon looks something like this:
"%SystemRoot%\installer{LONG GUID HERE}\ICON.EXE"
That long guid will change with each update release (and by update, I mean changing from version 4.5.5 to 4.5.6). The GUID corresponds to the Product ID in my Product element of the schema, which will never be the same, and updating doesn't update the icon path for icons pinned to the taskbar.
How do I get the icon pinned to the taskbar to update with future updates? Also, How can I set the icon path to point to the location of my executable, which is how other programs like Firefox set their icons? Is this available in WiX?