h353655
Posts: 42
Joined: Wed Jun 21, 2017 2:51 pm

Pin shortcut to start menu and taskbar

I need to pin our program shortcut to both start menu and taskbar. It must work in both Win10 and Win11. The user should NOT be asked, as the install must run from the command prompt. How to do that?

Also, if I check the "Advertised shortcut" box, all I get from that is a blan/default icon for all instances of the shortcut.
Catalin
Posts: 6735
Joined: Wed Jun 13, 2018 7:49 am

Re: Pin shortcut to start menu and taskbar

Hello,

As per the Shortcuts Properties article:
Screenshot_159.png
Screenshot_159.png (42.06 KiB) Viewed 369 times

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
h353655
Posts: 42
Joined: Wed Jun 21, 2017 2:51 pm

Re: Pin shortcut to start menu and taskbar

Yes, I saw that one. Does that mean I can manually set it to IDYES and get what I want, even if MS does not like it?
Catalin
Posts: 6735
Joined: Wed Jun 13, 2018 7:49 am

Re: Pin shortcut to start menu and taskbar

Hello,

Yes, that should ensure your shortcut is pinned to taskbar.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”