Skip to content

HarvestFile element (Buildtools extension)

Harvest a file and exclude it from future harvesting.

Id

string

Sets the File/@Id for the key harvested file. This value will generated if not specified.

SelfReg

bool

Capture self-registration for executable files during harvesting. Self-reg is only attempted when the attribute is set to ‘yes’. The default is ‘no’.

SelfRegExecutableArguments

string

Command-line arguments to pass to an executable when capturing self-registration. Ignored unless SelfReg attribute is ‘yes’.

SelfRegExtensions

string

Whitespace 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

bool

Downgrade error messages encountered during self-registration capture to warnings. Ignored unless SelfReg attribute is ‘yes’. The default is ‘no’.

Source

string required

File path to harvest relative to the harvesting document.

SuppressFont

bool

Prevent automatically marking “.ttf” and “.otf” files as a font. The default is ‘no’.