I currently use a <BeforeBuild> call to <HeatDirectory> to harvest all the files from a specific folder (i.e., SQL command scripts) like so:
<HeatDirectory NoLogo="$(HarvestDirectoryNoLogo)" SuppressAllWarnings="$(HarvestDirectorySuppressAllWarnings)" SuppressSpecificWarnings="$(HarvestDirectorySuppressSpecificWarnings)" ToolPath="$(WixToolPath)" TreatWarningsAsErrors="$(HarvestDirectoryTreatWarningsAsErrors)" TreatSpecificWarningsAsErrors="$(HarvestDirectoryTreatSpecificWarningsAsErrors)" VerboseOutput="$(HarvestDirectoryVerboseOutput)" AutogenerateGuids="$(HarvestDirectoryAutogenerateGuids)" GenerateGuidsNow="$(HarvestDirectoryGenerateGuidsNow)" OutputFile="ScriptsComponents.wxs" SuppressFragments="$(HarvestDirectorySuppressFragments)" SuppressUniqueIds="$(HarvestDirectorySuppressUniqueIds)" Transforms="%(HarvestDirectory.Transforms)" Directory="$(SolutionDir)ASM\CommandScripts" ComponentGroupName="ScriptsComponents" DirectoryRefId="SCRIPTSFOLDER" KeepEmptyDirectories="false" PreprocessorVariable="var.ScriptsSourceDir" SuppressCom="%(HarvestDirectory.SuppressCom)" SuppressRootDirectory="true" SuppressRegistry="%(HarvestDirectory.SuppressRegistry)" /> One my co-workers today thought he was doing the same thing but not by creating the BeforeBuild event. He thought there was something in the VS 2013 interface that allowed him to specify the files to harvest. Unfortunately he cannot remember what project he was doing this on and we are unable to find the project to see if it is actually possible. I have Google searched for this functionality but cannot find anything. Does anyone know if this is possible and if so, how do we do it? Brian If you can't explain it simply, you don't understand it well enough. - Albert Einstein ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users