During an installation or major upgrade, if a user has pinned the application to their task bar, then after the installation has completed, the task bar shortcut is removed from %AppData%\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
and a blank-file icon (see image link below) is left in its place.
Clicking the icon will prompt the user to delete as it doesn't target anything.
(Mirror: https://i.stack.imgur.com/kz1zW.png)
I would like to make it such that the taskbar shortcut is not removed at all when installing or running a major upgrade. We push out updates on a weekly basis and it can be frustrating if the taskbar shortcut breaks during every update.
Is this possible?
I've read about modifying the value for RemoveExistingProducts
(i.e. changing from InstallValidate
to InstallFinalize
), but I'm unsure if this will be viable.