IWindowsInstallerBackendBinderExtension Interface
Interface all binder extensions implement.
Methods
| Method | Description |
|---|---|
| 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
| Property | Description |
|---|---|
| TableDefinitions | Table definitions provided by the extension. |
WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
PostBackendBind(result) Method
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
| Parameter | Type | Description |
|---|---|---|
| result | Data.IBindResult | Bind result to process. |
PreBackendBind() Method
Called before binding occurs.
Declaration
public void PreBackendBind()ResolveMedia(mediaSymbol, mediaLayoutDirectory, layoutDirectory) Method
Override layout location for a media.
Declaration
public string ResolveMedia( WixToolset.Data.Symbols.MediaSymbol mediaSymbol, string mediaLayoutDirectory, string layoutDirectory)Parameters
| Parameter | Type | Description |
|---|---|---|
| mediaSymbol | WixToolset.Data.Symbols.MediaSymbol | Media symbol. |
| mediaLayoutDirectory | string | Default media specific layout directory. |
| layoutDirectory | string | Default overall layout directory. |
Return value
string Layout location or null to use the default processing.
SymbolsFinalized(section) Method
Extension can process the intermediate before the Windows Installer data is created.
Declaration
public void SymbolsFinalized( WixToolset.Data.IntermediateSection section)Parameters
| Parameter | Type | Description |
|---|---|---|
| section | WixToolset.Data.IntermediateSection | The finalized intermediate section. |
TryProcessSymbol(section, symbol, data, tableDefinitions) Method
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
| Parameter | Type | Description |
|---|---|---|
| section | WixToolset.Data.IntermediateSection | The linked section. |
| symbol | WixToolset.Data.IntermediateSymbol | The current symbol. |
| data | WixToolset.Data.WindowsInstaller.WindowsInstallerData | Windows Installer data |
| tableDefinitions | WixToolset.Data.WindowsInstaller.TableDefinitionCollection | Collection of table definitions available for the output. |
Return value
bool True if the symbol was handled, or false if not.
TableDefinitions Property
Table definitions provided by the extension.
Declaration
public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.WindowsInstaller.TableDefinition> TableDefinitions { get; set; }