Keep pinned application while updating - Win7 - Advanced Installer Community
walteste
Posts: 20
Joined: Sun Apr 22, 2012 7:15 pm
Location: Dubai, UAE

Keep pinned application while updating - Win7

Hi,

everytime out application updates, then the pinned application shortcut in the Windows 7 taskbar is getting invalid.

Is there a solution or a proper work around to this issue?

Regards,
Stefan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Keep pinned application while updating - Win7

Hello Stefan,

Indeed, when you pin manually a shortcut in the taskbar, the shortcut is lost during an upgrade. This is unfortunately a known issue caused by the Windows Installer and cannot be fixed on our end because Microsoft does not provide any programmatic means to access the pinned taskbar icons - only users are allowed to manipulate this.

As for why this is occurring is partly because of the changes Microsoft made in Windows 7. The old location of quick launch ("Taskbar") shortcuts was changed (by appending User Pinned\TaskBar) in 7 to prevent installers from blatantly dropping a shortcut in the quick launch without an option to not do that (in short, it was being abused). So starting with 7, they changed the folder location so these abusive installers could no longer do that. Rather, all shortcuts to be pinned must occur by user interaction, AKA right-click > Pin to Taskbar.

Because an update is basically an uninstall of the old version and installation of the new version, the taskbar shortcut is lost.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”