Yes, it is. http://blogs.msdn.com/windows_installer_team/archive/2005/09/27/463651.a spx
No more than one target of Start menu or Desktop shortcut Do not specify more than one file per component as a target for the Start menu or a Desktop shortcut (per Organizing Applications into Components). Testability: scan shortcut and directory tables for Start menu or a Desktop shortcut targets. Make sure no component has more than one Start menu or a Desktop shortcut target. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ward, Mike (MED US) Sent: Tuesday, June 26, 2007 2:03 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Shortcuts and components The following yields two shortcuts. Both shortcuts open CRC.ReportDesigner.exe which is not desired. <Component Id="ReportBinaryComponents" Guid="AE8E1085-2F1A-43ce-B167-7A4E4888AFA1"> <File Id="CRC.ReportDesigner.exe" Name="CRC.ReportDesigner.exe" Source="$(var.SourcePath)\CRC.ReportDesigner.exe" Vital="yes" > <Shortcut Id="CRC.ReportDesignerShortcut" Name="sD Report Designer 7.0" Icon="AppIcon.exe" Directory="ProgramMenuDir" WorkingDirectory="Bin" Advertise="yes" /> </File> <File Id="CRC.TemplateImporter.exe" Name="CRC.TemplateImporter.exe" Source="$(var.SourcePath)\CRC.TemplateImporter.exe" Vital="yes"> <Shortcut Id="CRC.TemplateImporterShortcut" Name="sD Template Importer 7.0" Icon="AppIcon.exe" Directory="ProgramMenuDir" WorkingDirectory="Bin" Advertise="yes" /> </File> </Component> If I separate the files/shortcuts into separate components, then each shortcut points to the correct executable. <Component Id="ReportDesignerComponent" Guid="6FD60D0A-01A4-4be1-A432-A82A1B90325E"> <File Id="CRC.ReportDesigner.exe" Name="CRC.ReportDesigner.exe" Source="$(var.SourcePath)\CRC.ReportDesigner.exe" Vital="yes" > <Shortcut Id="CRC.ReportDesignerShortcut" Name="sD Report Designer 7.0" Icon="AppIcon.exe" Directory="ProgramMenuDir" WorkingDirectory="Bin" Advertise="yes" /> </File> </Component> <Component Id="TemplateImporterComponent" Guid="6D3A0812-4882-4ae1-B1D1-9ED46503D667"> <File Id="CRC.TemplateImporter.exe" Name="CRC.TemplateImporter.exe" Source="$(var.SourcePath)\CRC.TemplateImporter.exe" Vital="yes"> <Shortcut Id="CRC.TemplateImporterShortcut" Name="sD Template Importer 7.0" Icon="AppIcon.exe" Directory="ProgramMenuDir" WorkingDirectory="Bin" Advertise="yes" /> </File> </Component> Is this expected behavior? ------------------------------------------------------------------------ ---- This message and any included attachments are from Siemens Medical Solutions and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail with a copy to [EMAIL PROTECTED] Thank you ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users