Yes, you will need to add them manually to some wxs file OR you can use the pre-build step, which uses heat to assemble this file for you (provided that all these files are in a separate directory).
Heat is part of Wix and can compile the entire catalog using a switch. Depending on the command line arguments, it creates a separate wxs file containing one ComponentGroup. Just specify this ComponentGroup from product.wxs.
An example of how I am currently using heat to collect my release directory:
heat dir "../../bin/release" -gg -cg CG.ApplicationBinaries -dr INSTALLDIR -scom -sfrag -sreg -srd -var var.BuildOutputDir -o ApplicationBinaries.wxs
This will lead to the creation of the ApplicationBinaries.wxs file:
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <DirectoryRef Id="INSTALLDIR"> <Component Id="cmp53F90D1335DD67504EC2B9E1E8620DD3" Guid="{CA2DF1B5-7B20-4596-84A4-925B4F9BA6EC}"> <File Id="filC65F9CB88694FCA79FCB3CADB9481921" KeyPath="yes" Source="$(var.BuildOutputDir)\AsyncTCPsocket.dll" /> </Component> .... </DirectoryRef> </Fragment> <Fragment> <ComponentGroup Id="CG.ApplicationBinaries"> <ComponentRef Id="cmp53F90D1335DD67504EC2B9E1E8620DD3" /> ... </ComponentGroup> </Fragment> </Wix>
Elmar de koning
source share