IWindowsInstallerBackendBinderExtension Interface
Interface all binder extensions implement.
Methods
Section titled “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
Section titled “Properties”| Property | Description |
|---|---|
| TableDefinitions | Table definitions provided by the extension. |
WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
PostBackendBind(result) Method
Section titled “PostBackendBind(result) Method”Called after all output changes occur and right before the output is bound into its final format.
Declaration
Section titled “Declaration”public void PostBackendBind( Data.IBindResult result)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| result | Data.IBindResult | Bind result to process. |
PreBackendBind() Method
Section titled “PreBackendBind() Method”Called before binding occurs.
Declaration
Section titled “Declaration”public void PreBackendBind()ResolveMedia(mediaSymbol, mediaLayoutDirectory, layoutDirectory) Method
Section titled “ResolveMedia(mediaSymbol, mediaLayoutDirectory, layoutDirectory) Method”Override layout location for a media.
Declaration
Section titled “Declaration”public string ResolveMedia( WixToolset.Data.Symbols.MediaSymbol mediaSymbol, string mediaLayoutDirectory, string layoutDirectory)Parameters
Section titled “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
Section titled “Return value”string Layout location or null to use the default processing.
SymbolsFinalized(section) Method
Section titled “SymbolsFinalized(section) Method”Extension can process the intermediate before the Windows Installer data is created.
Declaration
Section titled “Declaration”public void SymbolsFinalized( WixToolset.Data.IntermediateSection section)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| section | WixToolset.Data.IntermediateSection | The finalized intermediate section. |
TryProcessSymbol(section, symbol, data, tableDefinitions) Method
Section titled “TryProcessSymbol(section, symbol, data, tableDefinitions) Method”Called for each extension symbol that hasn’t been handled yet.
Declaration
Section titled “Declaration”public bool TryProcessSymbol( WixToolset.Data.IntermediateSection section, WixToolset.Data.IntermediateSymbol symbol, WixToolset.Data.WindowsInstaller.WindowsInstallerData data, WixToolset.Data.WindowsInstaller.TableDefinitionCollection tableDefinitions)Parameters
Section titled “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
Section titled “Return value”bool True if the symbol was handled, or false if not.
TableDefinitions Property
Section titled “TableDefinitions Property”Table definitions provided by the extension.
Declaration
Section titled “Declaration”public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.WindowsInstaller.TableDefinition> TableDefinitions { get; set; }