Can cleaned users Windows 7-bound taskbar shortcuts be cleaned programmatically?
Here's the script:
In Wix, install a script for our app, menu shortcuts and desktop shortcuts are now handled differently than before.
These changes cause any user to bind a shortcut to the application in the taskbar to become an orphan when the user launches an update from a previous installation. In other words, the label remains, but no longer points to anything.
The shortcut appears as a blank page indicating the link has been removed. A quick look in the C: \ Users [UserName] \ AppData \ Roaming \ Microsoft \ Internet Explorer \ Quick Launch \ User Pinned \ TaskBar folder confirms this. Clicking on a shortcut will remove it and then display a Windows dialog asking if the shortcut should be removed or not (the answer doesn't make sense as it has already been removed).
My question is:
Can I specify taskbar to remove orphan shortcuts?
Preferably this will be triggered by a custom action in the Wix script after installing a new version.
source to share
The moving profile can move from machine to machine, so this is almost impossible. About what you can do is leave behind a component that runs at login and detects that your application is no longer installed and removes the shortcuts.
I would consider the user's data and let the user worry about it.
source to share