Hi, I've finally been able to create two shortcuts (one in the desktop and another one in the ProgramFile menu). But the only way I've found is to define both shortcuts as advertised. I'm attaching the code used. But I would like to know if it's possible to do it via non-advertised shortcuts.
<?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <!--Definició del producte--> <Product Id="02ec2a18-74cb-481a-a28f-a6087cb87866" Name="Spawn 1.0" Language="3082" Version="1.0.0.0" Manufacturer="Spawn Software" UpgradeCode="3eb0df35-274e-4bf5-b6eb-7fd31f7a2dc2"> <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="WixProject2.cab" EmbedCab="yes" /> <Property Id="ALLUSERS" Value="2" /> <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='SpawnSoftware' Name='Spawn Software'> <Directory Id='INSTALLLOCATION' Name='Spawn 1.0'> <Component Id="MainExecutable" Guid="E73A6A72-BD27-46d0-A62E-60182D117C3A"> <File Id="SpawnEXE" Name="Spawn.exe" Source="Spawn.exe" Vital='yes'> <Shortcut Id="desktopSPAWN10" Directory="DesktopFolder" Advertise="yes" Name="Spawn 1.0" WorkingDirectory='INSTALLLOCATION' Icon="SpawnIcon.exe" IconIndex="0" /> <Shortcut Id="menuFileSPAWN10" Directory="ProgramMenuDir" Advertise="yes" Name="Spawn 1.0" WorkingDirectory='INSTALLLOCATION' Icon="SpawnIcon.exe" IconIndex="0" /> </File> </Component> </Directory> </Directory> </Directory> <Directory Id='ProgramMenuFolder' Name='Programs'> <Directory Id='ProgramMenuDir' Name="Spawn 1.0"> <Component Id="ProgramMenuDir" Guid="2F414D0B-2118-43f7-BF5A-994BA82C77EC"> <RemoveFolder Id='IDProgramMenuDir' On='uninstall'/> <RegistryValue Root='HKMU' Key='SOFTWARE\Spawn Software\Spawn 1.0' Type='string' Value="0" KeyPath='yes' /> </Component> </Directory> </Directory> <Directory Id="DesktopFolder" Name="Desktop" /> </Directory> <!--Definició de les features, que son la mínima unitat d'instalació--> <Feature Id="ProductFeature" Title="The complete package." Level="1"> <ComponentRef Id="MainExecutable" /> <ComponentRef Id="ProgramMenuDir" /> </Feature> <!--Definició de les icones emprades--> <Icon Id="SpawnIcon.exe" SourceFile="Spawn.ico" /> </Product> </Wix> Thanks in advance. -- Best Regards, *Natxo Mateos* [EMAIL PROTECTED] *Asuni CAD* - _www.asuni.es <http://www.asuni.es>_ - 93 319 6868 - 91 541 6439 *Especialistas en el desarrollo de aplicaciones a medida sobre AutoCAD* ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users