Hello, world!

I have an application installer created for my app.  Everything works
except the shortcut.  When I install, it does not place the shortcut
in the start menu.  Here's the code:

<Directory Id="ProgramMenuFolder">
       <Directory Id="ApplicationProgramsFolder" Name="MyApp">
               <Component Id="ApplicationShortcut"
Guid="B3385D42-9FED-4CC2-8B29-7E874370095B">
                       <Shortcut Id="ApplicationStartMenuShortcut"
Name="MyApp"
Description="Start MyApp" Target='"[PROGRAMDIR]MyApp.exe"'
WorkingDirectory="PROGRAMDIR" Icon="logo.ico" />
                       <RemoveFolder Id="ApplicationProgramsFolder"
On="uninstall" />
                       <RegistryValue Root="HKCU"
Key="Software\Microsoft\MyApp"
Name="installed" Type="integer" Value="1" KeyPath="yes" />
               </Component>
       </Directory>
</Directory>

And it's properly referenced in the <Feature> item.

<ComponentRef Id="ApplicationShortcut" />

The code seems to be to the documentation
(http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm).
 What might be the problem?

Thanks!
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to