Skip to content

IWindowsInstallerBackendBinderExtension Interface

Interface all binder extensions implement.

Methods

MethodDescription
PostBackendBind(result)Called after all output changes occur and right before the output is bound into its final format.
PreBackendBind()Called before binding occurs.
ResolveMedia(mediaSymbol, mediaLayoutDirectory, layoutDirectory)Override layout location for a media.
SymbolsFinalized(section)Extension can process the intermediate before the Windows Installer data is created.
TryProcessSymbol(section, symbol, data, tableDefinitions)Called for each extension symbol that hasn’t been handled yet.

Properties

PropertyDescription
TableDefinitionsTable definitions provided by the extension.
WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

PostBackendBind(result) Method {#postbackendbind_result}

Called after all output changes occur and right before the output is bound into its final format.

Declaration

public void PostBackendBind(
Data.IBindResult result
)

Parameters

ParameterTypeDescription
resultData.IBindResultBind result to process.

PreBackendBind() Method {#prebackendbind_nop}

Called before binding occurs.

Declaration

public void PreBackendBind()

ResolveMedia(mediaSymbol, mediaLayoutDirectory, layoutDirectory) Method {#resolvemedia_mediasymbol_medialayoutdirectory_layoutdirectory}

Override layout location for a media.

Declaration

public string ResolveMedia(
WixToolset.Data.Symbols.MediaSymbol mediaSymbol,
string mediaLayoutDirectory,
string layoutDirectory
)

Parameters

ParameterTypeDescription
mediaSymbolWixToolset.Data.Symbols.MediaSymbolMedia symbol.
mediaLayoutDirectorystringDefault media specific layout directory.
layoutDirectorystringDefault overall layout directory.

Return value

string Layout location or null to use the default processing.

SymbolsFinalized(section) Method {#symbolsfinalized_section}

Extension can process the intermediate before the Windows Installer data is created.

Declaration

public void SymbolsFinalized(
WixToolset.Data.IntermediateSection section
)

Parameters

ParameterTypeDescription
sectionWixToolset.Data.IntermediateSectionThe finalized intermediate section.

TryProcessSymbol(section, symbol, data, tableDefinitions) Method {#tryprocesssymbol_section_symbol_data_tabledefinitions}

Called for each extension symbol that hasn’t been handled yet.

Declaration

public bool TryProcessSymbol(
WixToolset.Data.IntermediateSection section,
WixToolset.Data.IntermediateSymbol symbol,
WixToolset.Data.WindowsInstaller.WindowsInstallerData data,
WixToolset.Data.WindowsInstaller.TableDefinitionCollection tableDefinitions
)

Parameters

ParameterTypeDescription
sectionWixToolset.Data.IntermediateSectionThe linked section.
symbolWixToolset.Data.IntermediateSymbolThe current symbol.
dataWixToolset.Data.WindowsInstaller.WindowsInstallerDataWindows Installer data
tableDefinitionsWixToolset.Data.WindowsInstaller.TableDefinitionCollectionCollection of table definitions available for the output.

Return value

bool True if the symbol was handled, or false if not.

TableDefinitions Property {#tabledefinitions}

Table definitions provided by the extension.

Declaration

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.WindowsInstaller.TableDefinition> TableDefinitions { get; set; }