HarvestFile element (Buildtools extension)
Harvest a file and exclude it from future harvesting.
Attributes
Id
stringSets the File/@Id for the key harvested file. 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 requiredFile path to harvest relative to the harvesting document.
SuppressFont
wxs:YesNoTypeUnionPrevent automatically marking “.ttf” and “.otf” files as a font. The default is ‘no’.