How do I create a shortcut to a java appliction using Wix

khryzsel

New Member
How do I create a shortcut that launches a java application with arguments in Wix? This is my current schema and it compiles but doesn't place the shortcut on the desktop.\[code\]<DirectoryRef Id="DesktopFolder"> <Component Id="Shortcut" Guid="GUID-HERE"> <Shortcut Id="desktopFoobarApp" Name="Foobar 1.0" Directory='DesktopFolder' WorkingDirectory='INSTALLDIR' Target="java" Arguments="-jar [INSTALLDIR]FoobarApp.jar -v -f [INSTALLDIR]conf.cfg" Icon="icon.ico" /> <RegistryValue Root="HKCU" Key="Software\Microsoft\FoobarApp" Name="installed" Type="integer" Value="http://stackoverflow.com/questions/13746938/0" KeyPath="yes"/> </Component></DirectoryRef>\[/code\]
 
Back
Top