I also had a somewhat similar task at hand and i had realized the following - Chnage id from StartMenuFolder to MyMenuFolder or . any other id Directory String Identifier reference to Directory element where shortcut is to be created. When nested under a Component element, this attribute's value will default to the parent directory. Otherwise, this attribute is required.
<Directory Id="ProgramMenuFolder" Name="ProgramMenu"> <Directory Id="MyMenuFolder" Name="My SDK Name" /> </Directory> Accordingly update other references. http://msdn.microsoft.com/en-us/library/aa372025(VS.85).aspx Directory String Identifier reference to Directory element where shortcut is to be created. When nested under a Component element, this attribute's value will default to the parent directory. Otherwise, this attribute is required. Directory String Identifier reference to Directory element where shortcut is to be created. When nested under a Component element, this attribute's value will default to the parent directory. Otherwise, this attribute is required. Working On Thu, Feb 4, 2010 at 12:30 PM, Sam Strasser <sam.stras...@microsoft.com>wrote: > Hello, > > I am installing an SDK and I would like to put a folder in the start menu > which has two entries: a shortcut to the folder I installed to, and a > shortcut to a .chm help file. I am able to get both shortcuts to appear in > the start menu, but they appear as standalone links, and not in the same > folder. How can I put them in their own folder? > > Here are the relevant snippets from my .wxs > <File Id="SdkChm" Source="$(var.ChmName)"> > <Shortcut Id="SdkChmShortcut" Name=" My SDK > Name Help" Description="Desc" Directory="StartMenuFolder" /> > </File> > > > <Directory Id="ProgramMenuFolder" Name="ProgramMenu"> > <Directory Id="StartMenuFolder" Name="My SDK Name" /> > </Directory> > > > <DirectoryRef Id="ProgramMenuFolder"> > <Component Id="StartMenuFolderComponent" > Guid="FOODGOOF-2F69-46cf-93D5-EFDC1383A7C4"> > <Shortcut Id="SdkInstalledFolderStartMenuShortcut" Name="My > SDK Name" Description="My Desc" Target="[INSTALLDIRECTORY]" /> > > <RemoveFolder Id="StartMenuFolder" On="uninstall" /> > </Component> > </DirectoryRef> > > Thanks > Sam > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Best Regards. Ricky ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users