I'm trying to write an installer for a Java program. I install a .jar file
and try to create a shortcut that will execute javaw.exe with the jar file
as its argument.
Using WIX 2, I include these specifications:
<Component Id='MainExecutable' Guid='9f9c2e87-32a3-439f-84e4-f48c98be5ac0'>
<File Id='jfilejar' Name='jfile.jar' DiskId='1' Source='jfile.jar'
Vital='yes'>
<Shortcut Id="startmenujfile" Directory="ProgramMenuDir" Name="jfile"
Target="javaw.exe" Arguments="-jar jfile.jar arg1 arg2"
Icon="icon.ico" IconIndex="0" />
</File>
</Component>
When I run the installer, jfile.jar gets installed correctly and the
installer doesnt complain about anythiing, but the shortcut is not created.
What do I do wrong?
Cheers,
Claus Tondering
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users