Hi!

I'm trying to add a second start menu shortcut to my installer, but it 
just doesn't add the second shortcut. I can't find any message 
indicating why in msiexec's install log either.

    <DirectoryRef Id="ApplicationProgramsFolder">

       <Component Id="ApplicationShortcut" Guid="my-guid">

         <Shortcut
           Id="ApplicationStartMenuShortcut"
           Name="My Application"
           Description="My Application Description"
           Target="[#myapplication.exe]"
           WorkingDirectory="APPLICATIONROOTDIRECTORY"
         />

         <Shortcut
           Id="ApplicationStartMenuShortcut2"
           Name="My Application (OpenGL)"
           Description="My Application Description"
           Target="[#myapplication.exe]"
           Arguments="-force-opengl"
           WorkingDirectory="APPLICATIONROOTDIRECTORY"
         />

         <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
         <RegistryValue
           Root="HKCU" Key="Software\Microsoft\MyApplicationName"
           Name="installed" Type="integer" Value="1"
           KeyPath="yes"
         />

       </Component>

    </DirectoryRef>

I've tried creating two components (but for some reason WiX then wants a 
second registry entry, too, but insists on only a single <RemoveFolder 
/>), no success either.

How can I get my second shortcut to appear in the start menu?

Regards,
Markus Ewald

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to