Pinned Taskbar items unlink after update
Posted: Wed Mar 29, 2017 4:22 pm
Our method of deployment involves always providing full installers, not patches. As a result, when a user runs the installer to update, the previous version is first removed and then the new version is installed. A problem we experience is that shortcuts pinned to the taskbar are invalidated by this process.
To be clear, the shortcut is not placed in the taskbar by the installer. It is pinned there manually by the user when the program is running by right clicking the program in the taskbar and choosing “Pin to Taskbar”. Those users then find their pinned program inaccessible from the taskbar. It appears as a generic white document icon and clicking it gives the following message: “Can't open this item. It might have been moved, renamed, or deleted. Do you want to remove this item?”
It seems to me that the pinned entry should stay in the taskbar since the shortcuts and program paths stay exactly the same between updates. Is it possible to modify the installer to ensure that the user’s pinned entry is preserved across these updates?
To be clear, the shortcut is not placed in the taskbar by the installer. It is pinned there manually by the user when the program is running by right clicking the program in the taskbar and choosing “Pin to Taskbar”. Those users then find their pinned program inaccessible from the taskbar. It appears as a generic white document icon and clicking it gives the following message: “Can't open this item. It might have been moved, renamed, or deleted. Do you want to remove this item?”
It seems to me that the pinned entry should stay in the taskbar since the shortcuts and program paths stay exactly the same between updates. Is it possible to modify the installer to ensure that the user’s pinned entry is preserved across these updates?