Thanks, I think this will fit when i get this working.

I tried:
<Feature Id="Binaries" Title="Binaries" Level="1">
    <ComponentGroupRef Id="Host.Binaries" />
</Feature>
<Feature Id="Symbols" Title="Symbols" Level="2">
    <FeatureRef Id="Binaries" IgnoreParent="yes" />
    <ComponentGroupRef Id="Host.Symbols" />
</Feature>

But when I then only select the Symbols it still installs only the Symbols
ComponentGroup. Any idea whats wrong?

greetings Steffen


2011/11/8 Michael Stoll <unwicht...@mistoll.de>

> AFAIK you cannot do that with ComponentGroups.
>
> If you like a flat structure you can do something like this:
>
>
> <Feature Id="Binaries">
>     ...
> </Feature>
> <Feature Id="Debug">
> <FeatureRef Id="Binaries" IgnoreParent="yes" />
> </Feature>
>
> This will install the "Binaries"-Feature when Debug or Binaries is
> selected. It's like a dependency of "Debug" to "Binaries".
>
> Regards Michael
>
> Am 08.11.2011 12:39, schrieb Steffen Henne:
> > That perhaps explains the strange behavior of the DependencyExtension :D
> >
> > Any possibibilty then to set one ComponentGroup as optional?
> > I'm thinking about having an ComponentGroup with Binaries and one with
> the
> > Program Debug Databases. Then the Debug dbs will be kind of addition to
> the
> > Binaries.
> >
> > Any other way except from defining the Debug dbs as Subfeature of the
> > Binaries like
> > <Feature ...>
> >      <ComponentGroupRef Id="Binaries" />
> >      <Feature ...>
> >         <ComponentGroupRef Id="DebugDbs" />
> >      </Feature
> > </Feature>
> >
> > greetings Steffen
> >
> > 2011/11/8 Michael Stoll<unwicht...@mistoll.de>
> >
> >> AFAIK the DependencyExtension is about dependencies between installer
> >> packages.
> >>
> >> I'm solving component dependencies with groups. Like this:
> >>
> >> <Component Id="A">...</Component>
> >> <Component Id="B">...</Component>
> >>
> >> <ComponentGroup Id="GroupA">
> >> <ComponentRef Id="A" />
> >> <ComponentRef Id="B" />
> >> </ComponentGroup>
> >>
> >> <Feature>
> >> <ComponentGroupRef Id="GroupA" />
> >> </Feature>
> >>
> >> So I'm only referencing groups in the feature and thus can add any
> >> dependency like any other component to that group.
> >>
> >>
> >> Regards Michael
> >>
> >>
> >> Am 08.11.2011 10:49, schrieb Steffen Henne:
> >>> Thanks for your answer. I actually think it's not necessary but we want
> >> to
> >>> try it out for the scenario the guy who creates our big main wxs file
> has
> >>> no idea about the dependencies between all the projects and we can
> define
> >>> them somerwhere else.
> >>>
> >>> I just found the DependencyExtension and tried to use it. Looks like
> >> this:
> >>> in Feature A:
> >>> <Component Id="A" Guid="*">
> >>>                 <dep:Provides Id="test" />
> >>>                   <File Id.. />
> >>> </Component>
> >>>
> >>> in Feature B:
> >>> <Component Id="B" Guid="**">
> >>>           <dep:Provides>
> >>>             <dep:Requires Id="t" ProviderKey="test"/>
> >>>           </dep:Provides>
> >>>           <File Id.... />
> >>> </Component>
> >>>
> >>> So B should be dependent of A right?
> >>> now if i build the installer and select only Feature B it says as
> >> expected
> >>> some dependencies are missing.
> >>> but if i now select feature A and B the same message pops up although
> all
> >>> dependencies are actually fulfilled.
> >>>
> >>> Any idea whats going wrong?
> >>>
> >>>
> >>> 2011/11/5 Blair Murri<os...@live.com>
> >>>
> >>>> If two components must be always be installed/removed together, I
> don't
> >>>> see why they can't be in all the same features.
> >>>> If one of the components depends on another but the dependency is not
> >>>> mutual, you could make a hidden feature that also contains the
> dependent
> >>>> component and use a custom action to enable that feature based on the
> >>>> depending component's action state.
> >>>> -Blair
> >>>>
> >>>>> Date: Fri, 4 Nov 2011 13:10:57 +0100
> >>>>> From: steffen....@googlemail.com
> >>>>> To: wix-users@lists.sourceforge.net
> >>>>> Subject: [WiX-users] Dependencies between components
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> I would like to define that one component can't be installed without
> >> the
> >>>>> other, without them being in the same feature. Is there any
> possibility
> >>>> to
> >>>>> define dependencies between components or component groups?
> >>>>>
> >>>>> or ist there any other approach to realise such a dependency?
> >>>>>
> >>>>> thanks in advance
> >>>>>
> >>>>> Steffen
> >>>>>
> >>
> ------------------------------------------------------------------------------
> >>>>> RSA(R) Conference 2012
> >>>>> Save $700 by Nov 18
> >>>>> Register now
> >>>>> http://p.sf.net/sfu/rsa-sfdev2dev1
> >>>>> _______________________________________________
> >>>>> WiX-users mailing list
> >>>>> WiX-users@lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>>>
> >>
> ------------------------------------------------------------------------------
> >>>> RSA(R) Conference 2012
> >>>> Save $700 by Nov 18
> >>>> Register now
> >>>> http://p.sf.net/sfu/rsa-sfdev2dev1
> >>>> _______________________________________________
> >>>> WiX-users mailing list
> >>>> WiX-users@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>>>
> >>
> ------------------------------------------------------------------------------
> >>> RSA(R) Conference 2012
> >>> Save $700 by Nov 18
> >>> Register now
> >>> http://p.sf.net/sfu/rsa-sfdev2dev1
> >>> _______________________________________________
> >>> WiX-users mailing list
> >>> WiX-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> RSA(R) Conference 2012
> >> Save $700 by Nov 18
> >> Register now
> >> http://p.sf.net/sfu/rsa-sfdev2dev1
> >> _______________________________________________
> >> WiX-users mailing list
> >> WiX-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>
> >
> ------------------------------------------------------------------------------
> > RSA(R) Conference 2012
> > Save $700 by Nov 18
> > Register now
> > http://p.sf.net/sfu/rsa-sfdev2dev1
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to