IWindowsInstallerDecompilerHelper Interface
Interface provided to help Windows Installer decompiler extensions.
Methods
Section titled “Methods”| Method | Description |
|---|---|
| AddElementToRoot(name, content) | Creates an element from the standard WiX Toolset namespace and adds it to the root document. |
| AddElementToRoot(name, content) | Creates an element with the specified name and adds it to the root document. |
| AddElementToRoot(element) | Adds an existing element to the root document. |
| CreateElement(name, content) | Creates an element from the standard WiX Toolset namespace. |
| GetIndexedElement(row) | Get an element index by a row’s table and primary keys. |
| GetIndexedElement(table, primaryKey) | Get an element index by table and primary key. |
| GetIndexedElement(table, primaryKey1, primaryKey2) | Get an element index by table and primary keys. |
| GetIndexedElement(table, primaryKey1, primaryKey2, primaryKey3) | Get an element index by table and primary keys. |
| GetIndexedElement(table, primaryKeys) | Get an element index by table and primary keys. |
| IndexElement(row, element) | Index an element by a row’s table and primary keys. |
| IndexElement(table, primaryKey, element) | Index an element by table and primary key. |
| IndexElement(table, primaryKey1, primaryKey2, element) | Index an element by table and primary keys. |
| IndexElement(table, primaryKey1, primaryKey2, primaryKey3, element) | Index an element by table and primary keys. |
| IndexElement(table, primaryKeys, element) | Index an element by table and primary keys. |
Properties
Section titled “Properties”| Property | Description |
|---|---|
| RootElement | Gets or sets the root element of the decompiled output. |
WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
AddElementToRoot(name, content) Method
Section titled “AddElementToRoot(name, content) Method”Creates an element from the standard WiX Toolset namespace and adds it to the root document.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement AddElementToRoot( string name, System.Object[] content)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| name | string | Name of the element to create and add. |
| content | System.Object[] | Optional content to add to the new element. |
Return value
Section titled “Return value”System.Xml.Linq.XElement Element in the standard namespace.
AddElementToRoot(name, content) Method
Section titled “AddElementToRoot(name, content) Method”Creates an element with the specified name and adds it to the root document.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement AddElementToRoot( System.Xml.Linq.XName name, System.Object[] content)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| name | System.Xml.Linq.XName | Name of the element to create and add. |
| content | System.Object[] | Optional content to add to the new element. |
Return value
Section titled “Return value”System.Xml.Linq.XElement Element in the standard namespace.
AddElementToRoot(element) Method
Section titled “AddElementToRoot(element) Method”Adds an existing element to the root document.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement AddElementToRoot( System.Xml.Linq.XElement element)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| element | System.Xml.Linq.XElement | Element to add. |
Return value
Section titled “Return value”System.Xml.Linq.XElement Same element provided.
CreateElement(name, content) Method
Section titled “CreateElement(name, content) Method”Creates an element from the standard WiX Toolset namespace.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement CreateElement( string name, System.Object[] content)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| name | string | Name of the element to create. |
| content | System.Object[] | Optional content to add to the new element. |
Return value
Section titled “Return value”System.Xml.Linq.XElement Element in the standard namespace.
GetIndexedElement(row) Method
Section titled “GetIndexedElement(row) Method”Get an element index by a row’s table and primary keys.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement GetIndexedElement( WixToolset.Data.WindowsInstaller.Row row)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| row | WixToolset.Data.WindowsInstaller.Row | Row to get element. |
Return value
Section titled “Return value”System.Xml.Linq.XElement Element indexed for the row or null if not found.
GetIndexedElement(table, primaryKey) Method
Section titled “GetIndexedElement(table, primaryKey) Method”Get an element index by table and primary key.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement GetIndexedElement( string table, string primaryKey)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| table | string | Table name for indexed element. |
| primaryKey | string | Primary key for indexed element. |
Return value
Section titled “Return value”System.Xml.Linq.XElement Element indexed for the table and primary key or null if not found.
GetIndexedElement(table, primaryKey1, primaryKey2) Method
Section titled “GetIndexedElement(table, primaryKey1, primaryKey2) Method”Get an element index by table and primary keys.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement GetIndexedElement( string table, string primaryKey1, string primaryKey2)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| table | string | Table name for indexed element. |
| primaryKey1 | string | Primary key for first column indexed element. |
| primaryKey2 | string | Primary key for second column indexed element. |
Return value
Section titled “Return value”System.Xml.Linq.XElement Element indexed for the table and primary keys or null if not found.
GetIndexedElement(table, primaryKey1, primaryKey2, primaryKey3) Method
Section titled “GetIndexedElement(table, primaryKey1, primaryKey2, primaryKey3) Method”Get an element index by table and primary keys.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement GetIndexedElement( string table, string primaryKey1, string primaryKey2, string primaryKey3)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| table | string | Table name for indexed element. |
| primaryKey1 | string | Primary key for first column indexed element. |
| primaryKey2 | string | Primary key for second column indexed element. |
| primaryKey3 | string | Primary key for third column indexed element. |
Return value
Section titled “Return value”System.Xml.Linq.XElement Element indexed for the table and primary keys or null if not found.
GetIndexedElement(table, primaryKeys) Method
Section titled “GetIndexedElement(table, primaryKeys) Method”Get an element index by table and primary keys.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement GetIndexedElement( string table, System.String[] primaryKeys)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| table | string | Table name for indexed element. |
| primaryKeys | System.String[] | Primary keys for indexed element. |
Return value
Section titled “Return value”System.Xml.Linq.XElement Element indexed for the table and primary keys or null if not found.
IndexElement(row, element) Method
Section titled “IndexElement(row, element) Method”Index an element by a row’s table and primary keys.
Declaration
Section titled “Declaration”public void IndexElement( WixToolset.Data.WindowsInstaller.Row row, System.Xml.Linq.XElement element)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| row | WixToolset.Data.WindowsInstaller.Row | Row to index element. |
| element | System.Xml.Linq.XElement | Element to index. |
IndexElement(table, primaryKey, element) Method
Section titled “IndexElement(table, primaryKey, element) Method”Index an element by table and primary key.
Declaration
Section titled “Declaration”public void IndexElement( string table, string primaryKey, System.Xml.Linq.XElement element)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| table | string | Table name to index element. |
| primaryKey | string | Primary key to index element. |
| element | System.Xml.Linq.XElement | Element to index. |
IndexElement(table, primaryKey1, primaryKey2, element) Method
Section titled “IndexElement(table, primaryKey1, primaryKey2, element) Method”Index an element by table and primary keys.
Declaration
Section titled “Declaration”public void IndexElement( string table, string primaryKey1, string primaryKey2, System.Xml.Linq.XElement element)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| table | string | Table name to index element. |
| primaryKey1 | string | First column’s primary key to index element. |
| primaryKey2 | string | Second column’s primary key to index element. |
| element | System.Xml.Linq.XElement | Element to index. |
IndexElement(table, primaryKey1, primaryKey2, primaryKey3, element) Method
Section titled “IndexElement(table, primaryKey1, primaryKey2, primaryKey3, element) Method”Index an element by table and primary keys.
Declaration
Section titled “Declaration”public void IndexElement( string table, string primaryKey1, string primaryKey2, string primaryKey3, System.Xml.Linq.XElement element)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| table | string | Table name to index element. |
| primaryKey1 | string | First column’s primary key to index element. |
| primaryKey2 | string | Second column’s primary key to index element. |
| primaryKey3 | string | Third column’s primary key to index element. |
| element | System.Xml.Linq.XElement | Element to index. |
IndexElement(table, primaryKeys, element) Method
Section titled “IndexElement(table, primaryKeys, element) Method”Index an element by table and primary keys.
Declaration
Section titled “Declaration”public void IndexElement( string table, System.String[] primaryKeys, System.Xml.Linq.XElement element)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| table | string | Table name to index element. |
| primaryKeys | System.String[] | Column’s primary key to index element. |
| element | System.Xml.Linq.XElement | Element to index. |
RootElement Property
Section titled “RootElement Property”Gets or sets the root element of the decompiled output.
Declaration
Section titled “Declaration”public System.Xml.Linq.XElement RootElement { get; set; }