Very Secret wrote:
> I solved the problem by adding
>               <RemoveFolder Id="MainExecutable_RemoveShortcutFolder"
> Directory="ProgramMenuDir" On="uninstall" />
> 
> as suggested in another mail in this archive.
> 
> However, my shortcuts does not become executable:
> 
> <Component ...>
>    <File ... />
>    <File Id="exe" Name="myExe.exe" Source="myexe.exe" Vital="yes">
>      <Shortcut Id="desktopExe" Name="myExe" Directory="DesktopFolder"
>                         WorkingDirectory="INSTALLDIR" 
> Icon="myExe.exe" />
>    </File>
>    <File ... />
> </Component>
> 
> Any ideas why?


I still don't know what the canonical way to deine shortcuts in 
Wix 3 is, however, the following put in parallel (i.e. not nested
in the <File>) works for me

  <Shortcut Id='...' Directory='ProgramMenuDir'
      Name='... 1.1' WorkingDirectory='TARGETDIR'
      Target='[INSTALLDIR]bin/....exe' />

Andre'

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to