Yes. Features are a "tree" but Components can be duplicated throughout 
as leaves as you want. In the end, a Component is installed as long as 
one of its Features is installed.

Chris Ridd wrote:
> Hi,
>
> I've been working on properly supporting feature selection (Custom
> installs) in our packages. So far so good, except I've got a slight
> conceptual problem.
>
> I install into 2 different directories, both of which are user-
> configurable. So my WXS looks kind of like:
>
> Directory "INSTALLDIR" [...]
>    Components n + m
> Directory "DATADIR" [...]
>    Components x + y
> Feature Id="Software" ConfigurableDirectory="INSTALLDIR" [...]
>    Feature Id="A"
>      ComponentRefs n
>    Feature Id="B"
>      ComponentRefs m
> Feature Id="Data" ConfigurableDirectory="DATADIR" [...]
>    Feature Id="Adata"
>      ComponentRefs x
>    Feature Id="Bdata"
>      ComponentRefs y
>
> (and so on). Apologies if I've got the XML attribute names wrong, I'm
> at home and this is from memory.
>
> Now feature "A" requires components installed in DATADIR, say "x". Can
> I just include those ComponentRefs under Feature "A", even though they
> refer to things installed under a different Directory? Or will that
> stop the "x" components from being installed in the user-specified
> DATADIR?
>
> Cheers,
>
> Chris
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to