First thing I see is a component rule violation: C1 and C2 have the same keypath (assuming both components are in the same directory). File F1 should be installed by one and only one component (same with every other resource).
You will need to fix that somehow, since violations of the component rules, by definition, lead to unexpected and sometimes unexplainable behaviors. -----Original Message----- From: fiordean dacian [mailto:dfiord...@yahoo.com] Sent: Tuesday, September 15, 2009 7:35 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Component installed even if not part of selected feature Hi, I have something like <Component Id="C1" Guid="..." DiskId="1"> <File Id="F1" Name="app.exe" Source="c:\app.exe"> <Shortcut Id="app1Sc" Name="app sc" Icon="..." IconIndex="..."/> <Shortcut Id="app1ScRmt" Name="appSc Remote" Icon="..." IconIndex="..."/> </File> <File>...</File> <Registry>...</Registry> </Component> <Component Id="C2" Guid="..." DiskId="1"> <File Id="F1" Name="app.exe" Source="c:\app.exe"> <Shortcut Id="app2Sc" Name="app sc" Icon="..." IconIndex="..."/> </File> <File>...</File> <Registry>...</Registry> </Component> <Component Id="C3" Guid="..." DiskId="1"> <File>...</File> </Component> <Feature Id="Full" Level="1"> <ComponentRef Id="C2"/> <ComponentRef Id="C3"/> </Feature> <Feature Id="Partial" Level="1"/> <ComponentRef Id="C1"/> </Feature> I select "Full" feature for installation; I know it's correct because C3 component files are installed. But I also get the shortcuts from C1 component created which looks like the C1 is installed as well (basically C1 and C2 differs only by a shortcut as above, the files are exactly the same) even if not part of "Full" install. I saw someone already had a similar problem but can't seem to find an answer for my problem in the answers he got (I don't plan using conditions) http://sourceforge.net/mailarchive/forum.php?thread_name=45f1db380908240448n 2c4a5594y3a5e9ee8437ee399%40mail.gmail.com&forum_name=wix-users Did anyone had a similar problem? Thanks ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users