Hi Fabio, Thanks for code sample, but this doesn't help...
Alexander Kozlenko -----Original Message----- From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch] Sent: Saturday, September 11, 2010 5:31 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Pin to Taskbar and Advertised shortcut Hi Alexander, try the following add the following xml code before any other "ShortcutProperty" Elements: <ShortcutProperty Key="System.AppUserModel.PreventPinning" Value="0" /> Does this work? Regards, Fabio On Sat, Sep 11, 2010 at 12:46 PM, Alexander Kozlenko < alexander.kozle...@hotmail.com> wrote: > Yes, I know that. But executable name doesn't include any word from > this list. When I launch application I _can_ pin it from taskbar context menu. > But I can't pin it from shortcut (as from Acrobat Reader or Outlook > advertised shortcuts). > > -----Original Message----- > From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch] > Sent: Saturday, September 11, 2010 12:35 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Pin to Taskbar and Advertised shortcut > > HI Alexander, > > There is a kill list, do you know that? > > http://www.west-wind.com/weblog/posts/32765.aspx > > <http://www.west-wind.com/weblog/posts/32765.aspx>Regards, > Fabio > > On Sat, Sep 11, 2010 at 12:34 AM, Alexander Kozlenko < > alexander.kozle...@hotmail.com> wrote: > > > 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