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

Reply via email to