WiX 3.5 introduces the Component/@Feature attribute
(http://www.joyofsetup.com/2007/12/07/simplifying-the-wix-v3-language/)
which should make it much simpler to include components as you only need
to write code for the components and can potentially skip the
ComponentGroup part  but I am struggling to see a way to use it (it is
bound to be obvious!). 

 

I like to separate the main install setup from the files by keeping them
in separate files. In the main setup I would have something like this:

<Feature Id="DefaultFeature" Level="1"
ConfigurableDirectory="INSTALLDIR" Title="Feature 1" />

 

In the files install I can use the Component/@Feature like this:

                <Component Feature=" DefaultFeature">

                                <File Source="MyFile.dll" />

                </Component>

 

The problem with this is that there isn't a reference to any of the
components in the main install so none of the components are included in
the msi. (With old way of doing it I would have had a ComponentGroupRef
in the Feature and that would have included the components.)

 

Any suggestions or am I just try to simplify this too much? 

 

Neil

 

Neil Sleightholm
X2 Systems Limited
n...@x2systems.com <mailto:n...@x2systems.com> 

 

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to