Because it is a desirable feature that wixlibs can contain more components than are often referenced. I exploit this all the time with my common custom action library. If I had to reference all components in the library in every link job, it would become useless.
-- John Merryweather Cooper Build & Install Engineer -- ESA Jack Henry & Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: TimM [mailto:timmay...@smarttech.com] Sent: Friday, August 16, 2013 10:17 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding .wixlib reference to Wix Install project question Quick questions about components within a referenced wixlib. If you add a new component to a WiX install project .wxs file, but then forget to add a reference to that component as part of a ComponentGroup and/or Feature then you get an error LGH0267: Found orphaned Component 'component Id'. Basically reminding you that you forgot that step and therefore a good reminder error that can then be easily corrected. Now if you add a wixlib reference to a WiX install project and either forgot to add the ComponentGroup/Component ID or do not know what entries you have to add references for in your main .wxs install project and then build your project it will NOT give an errors and will complete successfully. So you could be adding a bunch of wixlibs that are not actually doing anything as long as these references are not added and developers would not even know there is a problem. So my question is why these orphaned components are not captured and errors appear in the build when wixlibs are added to install project files and references not added? It would be good to know about these as a new developer may not know what references they may need when adding a wixlib and having an error come up would help. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Adding-wixlib-reference-to-Wix-Install-project-question-tp7588106.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users