What I was thinking about was the ability to do ComponentGroup/@Directory,
which all the contained Components would "inherit". Thoughts?

2010/1/21 Brian Simoneau <bsimon...@freedomscientific.com>

> Leave what you have in the current fragment, but add a ComponentGroup that
> contains a ComponentRef for each component.  Then add a ComponentGroupRef to
> the different Features.
>
> -Brian Simoneau
>
> -----Original Message-----
> From: Jakub Gwóźdź [mailto:gwozd...@rpg.pl]
> Sent: Thursday, January 21, 2010 11:08 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] ComponentGroup vs DirectoryRef
>
> In my WiX project I have several <Fragments>, in one of them I have
> components that belong to single feature.
> <Fragment>
>  <DirectoryRef Id="APPLICATIONFOLDER" fileSource="srcFiles">
>    <Component Id="Csp" ... > ....</Component>
>    <Component Id="Csp.GuiDll" ... > ....</Component>
>    <Component Id="Csp.RegEntry" ... > ....</Component>
>  </DirectoryRef>
> </Fragment>
>
> then in the Product entry I have a <Feature> with those componentRef's
> listed. All works fine, except I wanted it also this set of features
> (among other components) in a different <Feature>. So I thought I can
> put components into <ComponentGroup> and make a reference to this
> group in both <Feature>s. But schema doesn't allow <DirectoryRef> to
> be inside <ComponentGroup> nor vice-versa.
>
> Is there any elegant way to handle it? Except putting "Directory"
> attribute in each <Component> element, which sucks even more than my
> current solution?
>
> Best regards.
> Jakub Gwóźdź
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to