Hi, I have created shortcuts by
<Component Id="component1" DiskId="1" Guid="MYGUID"> <File Id="file1" Name="myApp.bat" Vital="yes" Source="..\myApp\bin\Release\myApp.bat"> <Shortcut Id="startmenuMyApp" Directory="ProgramMenuDir" Name="myApp" WorkingDirectory="INSTALLDIR" Icon="myApp.ico" Advertise="yes" /> <Shortcut Id="desktopMyApp" Directory="DesktopFolder" Name="myApp" WorkingDirectory="INSTALLDIR" Icon="myApp.ico" Show="normal" Advertise="yes" /> </File> </Component> The shortcuts have been created with the right icon, everything ok. But they do not work. The target property in shortcut properties table contains only the name of the shortcut (myApp) instead of the full path of the batch file. After doubleclick on the shortcut a cmd window appears and disappears again immediately. Has somebody any experience with a batch file and a working example with source code? Thanks in advance, Peter -- View this message in context: http://www.nabble.com/Shortcut-created-with-a-.bat-doesn%27t-work-tf4487829.html#a12798076 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users