Hi, I've would like a shortcut that has the following hierarchy: (start button)All Programs->manufacturer name->application
I used the wix tutorial http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm and also saw this entry on StackOverflow: http://stackoverflow.com/questions/470662/how-to-create-a-multi-level-subfolder-in-start-menu-using-wix. The application consists of several merge modules that encapsulate the program's functionality and a user interface which I also made into a merge module. I need to use the "a" and "b" merge modules as is, but I can be flexible about the "gui" merge module if necessary. I have not succeeded in getting this to work. Can someone please look at this script and tell me what I am doing wrong? Thank you. <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="MANUFACTURERDIRECTORY" Name="myCompany"> <Directory Id="APPLICATIONROOTDIRECTORY" Name="myApp"> <!--Add the merge modules. All the files will be dumped into the same directory. (Each merge module was created in a separate project): --> <Merge Id="aMergeModule" Language="1033" SourceFile="aMergeModule.msm" DiskId="1"></Merge> <Merge Id="bMergeModule" Language="1033" SourceFile="bMergeModule.msm" DiskId="1"></Merge> <Merge Id="guiMergeModule" Language="1033" SourceFile="guiMergeModule.msm" DiskId="1"></Merge> </Directory> </Directory> </Directory> </Directory> <!--Add the shortcut to the installer package--> <DirectoryRef Id="APPLICATIONROOTDIRECTORY"> <Component Id="ApplicationShortcut" Guid="06277927-4888-45c0-BC5A-D5D138E50EBD"> <Shortcut Id="ApplicationStartMenuShortcut" Name="myApp" Directory="APPLICATIONROOTDIRECTORY" Description="myDescription" Target="[APPLICATIONROOTDIRECTORY]myApp.exe" WorkingDirectory="APPLICATIONROOTDIRECTORY"/> <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/> <RegistryValue Root= "HKLM" Key="Software\myCompany\myApp" Name="installed" Type="integer" Value="1" KeyPath="yes"/> </Component> </DirectoryRef> <Feature Id="a" Title="aFeature" Level="1"> <MergeRef Id="aMergeModule"/> </Feature> <Feature Id="b" Title="bFeature" Level="1"> <MergeRef Id="bMergeModule"/> </Feature> <Feature Id="gui" Title="guiFeature" Level="1"> <MergeRef Id="guiMergeModule"/> <!--Tell Wix to install the shortcut--> <ComponentRef Id="ApplicationShortcut"/> </Feature> ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users