"Brian the Wix documentation defines both a "HeatDirectory Target" and a "HeatDirectory Task". ...."
I provided incorrect information in this thread and I appreciate John's prompt to go research this in more detail. There is a HarvestDirectory target and a HeatDirectory task. Here is an example of how to use the HarvestDirectory target to harvest more than one folder tree: <PropertyGroup> <HarvestNoLogo>true</HarvestNoLogo> <HarvestVerboseOutput>true</HarvestVerboseOutput> <HarvestAutogenerateGuids>true</HarvestAutogenerateGuids> <HarvestSupressFragments>true</HarvestSupressFragments> <HarvestSuppressUniqueIds>true</HarvestSuppressUniqueIds> </PropertyGroup> <ItemGroup> <HarvestDirectory Include="..\path\dir1"> <DirectoryRefId>Dir1Id</DirectoryRefId> <Transforms>transfrom1.xslt</Transforms> <ComponentGroupName>Dir1Group</ComponentGroupName> <PreprocessorVariable>var.Dir1Var</PreprocessorVariable> <KeepEmptyDirectories>false</KeepEmptyDirectories> <SuppressCom>true</SuppressCom> <SuppressRootDirectory>true</SuppressRootDirectory> <SuppressRegistry>true</SuppressRegistry> <Visible>false</Visible> </HarvestDirectory> <HarvestDirectory Include="..\path\Dir2"> <DirectoryRefId>Dir2Id</DirectoryRefId> <Transforms>transfrom2.xslt</Transforms> <ComponentGroupName>Dir2Group</ComponentGroupName> <PreprocessorVariable>var.Dir2Var</PreprocessorVariable> <KeepEmptyDirectories>false</KeepEmptyDirectories> <SuppressCom>true</SuppressCom> <SuppressRootDirectory>true</SuppressRootDirectory> <SuppressRegistry>true</SuppressRegistry> <Visible>false</Visible> </HarvestDirectory> </ItemGroup> The generated wxs files end up in ..\obj\$(Configuration) and a ComponentGroupRef needs to be added to the project's authoring. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Automatically-harvest-files-in-VS-2013-tp7597592p7597939.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users