IWindowsInstallerBackendHelper Interface
Interface provided to help Windows Installer backend extensions.
Methods
Method | Description |
---|---|
CreateFileFacade(file) | Creates a file facade from a FileSymbol . |
CreateFileFacade(fileRow) | Creates a file facade from a File row. |
CreateRow(section, symbol, data, tableDefinition) | Creates a «see T:WixToolset.Data.WindowsInstaller.Row» in the specified table. |
TryAddSymbolToMatchingTableDefinitions(section, symbol, data, tableDefinitions) | Looks up the registered «see T:WixToolset.Data.WindowsInstaller.TableDefinition» for the given «see T:WixToolset.Data.IntermediateSymbol» and creates a «see T:WixToolset.Data.WindowsInstaller.Row» in that table. Goes sequentially through each field in the symbol and assigns the value to the column with the same index as the field. If the symbol's Id is registered as the primary key then that is used for the first column and the column data is offset by 1. |
WixToolset.Extensibility.dll
version 5.0.1+2f00cbe680fb01ab485d56f16de9cd19b133f875
CreateFileFacade(file) Method
Creates a file facade from a FileSymbol
.
Declaration
public WixToolset.Extensibility.Data.IFileFacade CreateFileFacade(
WixToolset.Data.Symbols.FileSymbol file
)
Parameters
Parameter | Type | Description |
---|---|---|
file | WixToolset.Data.Symbols.FileSymbol | FileSymbol backing the facade. |
CreateFileFacade(fileRow) Method
Creates a file facade from a File row.
Declaration
public WixToolset.Extensibility.Data.IFileFacade CreateFileFacade(
WixToolset.Data.WindowsInstaller.Rows.FileRow fileRow
)
Parameters
Parameter | Type | Description |
---|---|---|
fileRow | WixToolset.Data.WindowsInstaller.Rows.FileRow | FileRow |
Return value
WixToolset.Extensibility.Data.IFileFacade
New IFileFacade
.
CreateRow(section, symbol, data, tableDefinition) Method
Creates a «see T:WixToolset.Data.WindowsInstaller.Row» in the specified table.
Declaration
public WixToolset.Data.WindowsInstaller.Row CreateRow(
WixToolset.Data.IntermediateSection section,
WixToolset.Data.IntermediateSymbol symbol,
WixToolset.Data.WindowsInstaller.WindowsInstallerData data,
WixToolset.Data.WindowsInstaller.TableDefinition tableDefinition
)
Parameters
Parameter | Type | Description |
---|---|---|
section | WixToolset.Data.IntermediateSection | Parent section. |
symbol | WixToolset.Data.IntermediateSymbol | Symbol with line information for the row. |
data | WixToolset.Data.WindowsInstaller.WindowsInstallerData | Windows Installer data. |
tableDefinition | WixToolset.Data.WindowsInstaller.TableDefinition | Table definition for the row. |
Return value
WixToolset.Data.WindowsInstaller.Row
Row created in the data .
TryAddSymbolToMatchingTableDefinitions(section, symbol, data, tableDefinitions) Method
Looks up the registered «see T:WixToolset.Data.WindowsInstaller.TableDefinition» for the given «see T:WixToolset.Data.IntermediateSymbol» and creates a «see T:WixToolset.Data.WindowsInstaller.Row» in that table. Goes sequentially through each field in the symbol and assigns the value to the column with the same index as the field. If the symbol's Id is registered as the primary key then that is used for the first column and the column data is offset by 1.
Declaration
public bool TryAddSymbolToMatchingTableDefinitions(
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 | Parent section. |
symbol | WixToolset.Data.IntermediateSymbol | Symbol to create the row from. |
data | WixToolset.Data.WindowsInstaller.WindowsInstallerData | Windows Installer data. |
tableDefinitions | WixToolset.Data.WindowsInstaller.TableDefinitionCollection | Table definitions that have been registered with the binder. |
Return value
bool
True if a row was created.