Dhaval Patel wrote: > I think it is because you are not creating a 2nd level to start off with. I > use the following snippet in my packages all the time - you can use it as a > reference (credit goes to Rob. I think he blogged it a long time ago): > > <Directory Id="ProgramMenuFolder" Name="PMFolder" > > > <Directory Id='ShortcutFolder' Name='MyUni' LongName='Acme > 1.0'> > > <Component Id='Shortcuts' Guid=' > {MYGUID-6E17-41ef-8C7D-AAD2F355862D}' > > > <Registry Root="HKCU" Key="SOFTWARE\My > Company\MyProduct" > > Type="string" KeyPath="yes" Value="Uninstall"/> > > <Shortcut Id="UninstallProduct" Name="unin.msi" > LongName="Uninstall Acme 1.0" > > Target="[System64Folder]msiexec.exe" > Arguments="/x [ProductCode]" > > Directory="ShortcutFolder" > Description="Removes > Acme 1.0." /> > > <RemoveFolder Id="RemoveShortcuts" On="uninstall" /> > > </Component> > > </Directory> > > </Directory> > > This snippet can sit immediately beneath your regular "TARGETDIR" element. > You'll need to reference the component in your feature tree. Hope this > helps. > > On Nov 29, 2007 7:02 PM, Szentpali Janos <[EMAIL PROTECTED]> wrote: > > >> Hi, >> >> I have a setup that contains: >> >> ... >> <File> >> ... >> <Shortcut >> Directory='ProgramMenuFolder' >> IconIndex='0' >> Id='StartMenuShortcut' >> LongName='Title of the program' >> Name='Title' >> WorkingDirectory='INSTALLDIR' >> /> >> </File> >> ... >> >> What should i do for the shortdut to be created not in the Programs >> Start menu folder, but in a subfolder of it? >> I am very new to Wix and the documentation related to the Shortcut >> element is empty :D. Thanks in advance. >> >> -- >> Szentpáli János >> >> >> ------------------------------------------------------------------------- >> SF.Net email is sponsored by: The Future of Linux Business White Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > Thanks for the tip. It works fine now ;)
-- Szentpáli János ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users