You have to reference the "F.Plugin.Users.Sync" Feature in the
"F.Plugin.Users" Feature (as this is referenced in the "F.Plugins"
feature) for that tree to work.

As Bob A says, the problem here is your trying to refer to a parent
feature in a child fragment & WiX doesn't work like that (references
must always be parent -> child & in this case, "F.Plugin.Users" is the
parent, "F.Plugin.Users.Sync" is the child).

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: pcristini [mailto:[email protected]] 
Sent: 22 September 2010 17:14
To: [email protected]
Subject: [WiX-users] Sub-feature in separate wxs file


I have all my components separated out into multiple files and am trying
to achieve a structure like this:

Main app:
  - Plugins
     - Plugin 1
     - User Plugin
        - User Sync Plugin (this one is not showing up)
     - Plugin 3

And I don't want the Plugin.Users.wxs file to have any reference to the
Plugin.UserSync.wxs Is it possibly because I have multiple FeatureRefs
to the same feature?

Plugins.wxs:
<Fragment>
        <FeatureGroup Id="FG.Plugins">
                <Feature Id="F.Plugins" Level="1" >
                        <FeatureRef Id="F.Plugin.Plugin1" />
                        <FeatureRef Id="F.Plugin.Users" />
                        <FeatureRef Id="F.Plugin.Plugin3" />
                        <!-- etc. -->
                </Feature>
        </FeatureGroup>
</Fragment>

Plugin.Users.wxs:
<Feature Id="F.Plugin.Users" Level="2">
        <ComponentGroupRef Id="CG.Plugin.Users" /> </Feature>

Plugin.UsersSync.wxs:
<FeatureRef Id="F.Plugin.Users">
        <Feature Id="F.Plugin.Users.Sync" Level="2">
                <ComponentGroupRef Id="CG.Plugin.Users.Sync" />
        </Feature>
</FeatureRef>
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Sub-featur
e-in-separate-wxs-file-tp5559722p5559722.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
Start uncovering the many advantages of virtual appliances and start
using them to simplify application deployment and accelerate your shift
to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to