Hello. Still can't find a solution so asking here.

 

I have an advertised shortcut for my installed application but this shortcut
hasn't context menu items "Pin to Start menu" and "Pin to Taskbar". Shortcut
options:

<Shortcut Id="ComponentShortcut" Name="$(var.ProductName)" Advertise="yes"
Directory="ProgramMenuFolder" WorkingDirectory="INSTALLLOCATION"
Icon="Application.ico">

After adding these lines:

<ShortcutProperty Key="System.AppUserModel.ID"
Value="MyCompany.MyApplication" />

<ShortcutProperty Key="System.AppUserModel.RelaunchCommand"
Value="MyAppilcation.exe" />

<ShortcutProperty Key="System.AppUserModel.RelaunchDisplayNameResource"
Value="MyApplication" />

"Pin to Start menu" item added to context menu, but still no "Pin to
Taskbar". However application can be pinned to taskbar: I can run
application and select "Pin this program to Taskbar" from application
taskbar icon. Also application set the same Application ID
("MyCompany.MyApplication") after run. I see that Acrobat Reader 9 has
advertised shortcut too and this shortcut has all two menu items for
pinning. What I'm doing wrong? Thanks.

 

Additional project data: Targeting Windows 7 x64 only, WiX 3.5.

 

Alexander Kozlenko

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to