I also use a BeforeBuild target in the one case where we harvest.  It works 
fine under VS 2013 and I have had no particular issues with it.

--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing 
Development
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Brian Enderle [mailto:bria...@gmail.com] 
Sent: Thursday, October 30, 2014 9:30 AM
To: WiX Users
Subject: [WiX-users] Automatically 'harvest' files in VS 2013

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
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to