tags:

views:

359

answers:

1

I have:

  <File Id='MantSegEXE' Name='MantSeguridad.exe' DiskId='1'
     Source='..\MantSeguridad\bin\Release\MantSeguridad.exe' Vital='yes'>
     <Shortcut Id="desktopMantSeg01" Directory="DesktopFolder"
         Name="MantSeg 1.1.0" WorkingDirectory='INSTALLDIR' Icon="MantSeg.ico" />
   </File>

but I get this error:

 error LGHT0204 : ICE43: Component MainExecutable has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file.
 error LGHT0204 : ICE57: Component 'MainExecutable' has both per-user and per-machine data with a per-machine KeyPath.

and the msi file if built and the shortcut is created and I think without any problem so far

+1  A: 

Found the answer in http://wix.mindcapers.com/wiki/Shortcuts_in_WiX

Aragorn