http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm

Also try looking at a verbose log of your installer during install.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer
 

 
 

-----Original Message-----
From: Claus Tøndering [mailto:cl...@tondering.dk] 
Sent: 25 June 2009 15:57
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Creating a shortcut to an external program

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 
doesn't complain about anythiing, but the shortcut is not created.

 

What do I do wrong?

 

Cheers,

Claus Tondering

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to