[wix-users] Pinning a shortcut the the taskbar.

Steve De George stevedegeorge at pivotalz.com
Thu Apr 27 07:41:47 PDT 2017


Thanks all for the help.


I did read that MS did not really make this easy as they did not want installers 'spamming' themselves all over a users system. But for our installation it is just a checkbox and it is defaulted to no.


Seems to me though that if you can create a desktop icon there is not much difference if you create a pinned icon to the taskbar.


Still working on this and will post back when I get something working.


Steve De George - Pivotal Z / NextGen Software, Inc.
253-656-4061
www.pivotalz.com<http://www.pivotalz.com/>
www.nextgensoftware.com<http://www.nextgensoftware.com/>
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Nir Bar <nir.bar at panel-sw.com>
Sent: Wednesday, April 26, 2017 8:10:42 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Pinning a shortcut the the taskbar.

Of course you need to get user confirmation for that.Assuming the user chooses it, you create a custom action that calls:


::ShellExecute(NULL, L"taskbarpin", szShortcut, NULL, NULL, 0);


See https://msdn.microsoft.com/en-us/library/windows/desktop/bb762153(v=vs.85).aspx

Nir Bar
Panel::Software Architecture and Development

______________________________________________________________
JetBA.net- Native and WPF WiX BootstrapperApplication Frameworks





____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list