HarvestFolder element (Buildtools extension)
Harvest files from a folder.
Attributes
Id
stringUnique identifier for this harvest configuration. This value will generated if not specified.
SelfReg
wxs:YesNoTypeUnionCapture self-registration for executable files during harvesting. Self-reg is only attempted when the attribute is set to ‘yes’. The default is ‘no’.
SelfRegExecutableArguments
stringCommand-line arguments to pass to an executable when capturing self-registration. Ignored unless SelfReg attribute is ‘yes’.
SelfRegExtensions
stringWhitespace separated list of file extensions to capture self-registration. Ignored unless SelfReg attribute is ‘yes’. Default set of extensions is: .exe, .com, .dll, .ocx, .tlb, .olb
SelfRegWarnOnError
wxs:YesNoTypeUnionDowngrade error messages encountered during self-registration capture to warnings. Ignored unless SelfReg attribute is ‘yes’. The default is ‘no’.
Source
string requiredRoot of folder to harvest relative to the harvesting document. If no wildcards are specified all files under the root are harvested. If any wildcard is specified only files matching the wildcard are included. For example, “content*.dat” will include all .dat files from the “content” folder beside the .wxs file.
Strategy
HarvestStrategyTypeUnionHarvest strategy to apply.
SuppressFont
wxs:YesNoTypeUnionPrevent automatically marking “.ttf” files as a font. The default is ‘no’.