Hi,
I did some testing and it looks like you can control which shortcuts appear
on the main start menu with shortcut properties, otherwise windows will
decide on its own which appear on the main menu.

System.AppUserModel.StartPinOption
(http://msdn.microsoft.com/en-us/library/windows/desktop/jj553605(v=vs.85).as
px) allows you to force your shortcut not to appear on the main start menu.
There also seems to be a bug on windows 7 where you get a pop up warning
dialogue if you use these properties by name so you have to use the guid
format.

See http://support.microsoft.com/kb/2745126

I don't see an option anywhere to force your shortcut to be displayed in the
start menu though.

Example from my test:-

<Shortcut Id="ProductShortcut" Name="The Application" Description="The
application." IconIndex="0" Icon="ProductIcon.exe"
Target="[#TheApplication.exe]">
                                        <ShortcutProperty
Key="System.AppUserModel.ID" Value="Company.TheApplication.exe" />
                                        <ShortcutProperty
Key="{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 12" Value="1" />
                                        <!--
                                                Name:
System.AppUserModel.StartPinOption - PKEY_AppUserModel_StartPinOption
                                                Type:     UInt32 - VT_UI4
                                                FormatID:
{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 12

  
                                                Note: Set this property on a
shortcut to (1) prevent an application from being automatically pinned to
Start screen upon installation; or
                                                (2) indicate that an item is
programmatically added to launcher via user action (which implies
automatically pin to Start and delete on unpin).
                                                
                                                Note: It has to be a guid to
stop windows 7 throwing a warning dialogue.
                                                see
http://support.microsoft.com/kb/2745126
                                                
                                                Note: that you must also set
System.AppUserModel.ID first or the property will not be used.
                                        -->
                                </Shortcut>

Dave

-----Original Message-----
From: Rafal Jagielski [mailto:rafal1...@poczta.onet.pl] 
Sent: 05 February 2013 07:24
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Win 8 Tile from wix

2013/2/4 David Watson <dwat...@sdl.com>:
> If you install shortcuts to the start menu they will appear as a tile 
> using the shortcuts largest icon. Some of the shortcuts may be on the 
> main windows
> 8 start menu and some may be hidden under All Apps (right click 
> anywhere that isn't a tile to see the all apps option).
>
> You cannot install a 'start menu' application from the windows 
> installer, they need to come from the windows store or certain 
> versions of windows allow enterprise admins to sideload to that 
> location after jumping through lots of security hoops.
>
> Dave
>

Hmm how about this posts?
http://social.msdn.microsoft.com/Forums/en/windowsgeneraldevelopmentissues/th
read/11fa666b-7b5c-4d38-b5c3-81e88528cfd3

-----------------------------------------------------------------------------
-
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 and get the
hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to