1. This is the way the Windows Installer works for advertised shortcuts. 2. Don't mark the shortcut advertised and it should get installed whenever it's Component is installed.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, October 19, 2007 14:15 To: [email protected] Subject: [WiX-users] Shortcut Targets and Shared Components Hello all, I was just wondering if the was a bug or not: So I have a component (in a separate fragment) that installs a file and adds a shortcut on the Program Menu. That component is used in 2 features. However, when I open the compiled msi file in Orca and look at the Shortcut Table, only ONE feature is listed as the target (what it looks like is that it is the last feature to include the component). So what happens is that if the first feature is selected, BUT NOT the second, the files get installed but the shortcut does not. What I had to do to rectify this is to create two additional components that install the same shortcut - One that creates the shortcut for the first feature. And, one that creates the same shortcut for the second feature. That way I get the two entries in my Shortcut table. One for the first feature and one for the second. My questions are: 1. Is the a bug or just the way it works? 2. Is this the best way to solve the problem? Thanks. [cid:[email protected]]
<<inline: image001.jpg>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

