IWindowsInstallerDecompilerHelper Interface
Interface provided to help Windows Installer decompiler extensions.
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
Property | Description |
---|---|
RootElement | Gets or sets the root element of the decompiled output. |
WixToolset.Extensibility.dll
version 5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78
AddElementToRoot(name, content) Method
Creates an element from the standard WiX Toolset namespace and adds it to the root document.
Declaration
public System.Xml.Linq.XElement AddElementToRoot(
string name,
System.Object[] content
)
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
System.Xml.Linq.XElement
Element in the standard namespace.
AddElementToRoot(name, content) Method
Creates an element with the specified name and adds it to the root document.
Declaration
public System.Xml.Linq.XElement AddElementToRoot(
System.Xml.Linq.XName name,
System.Object[] content
)
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
System.Xml.Linq.XElement
Element in the standard namespace.
AddElementToRoot(element) Method
Adds an existing element to the root document.
Declaration
public System.Xml.Linq.XElement AddElementToRoot(
System.Xml.Linq.XElement element
)
Parameters
Parameter | Type | Description |
---|---|---|
element | System.Xml.Linq.XElement | Element to add. |
Return value
System.Xml.Linq.XElement
Same element provided.
CreateElement(name, content) Method
Creates an element from the standard WiX Toolset namespace.
Declaration
public System.Xml.Linq.XElement CreateElement(
string name,
System.Object[] content
)
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
System.Xml.Linq.XElement
Element in the standard namespace.
GetIndexedElement(row) Method
Get an element index by a row's table and primary keys.
Declaration
public System.Xml.Linq.XElement GetIndexedElement(
WixToolset.Data.WindowsInstaller.Row row
)
Parameters
Parameter | Type | Description |
---|---|---|
row | WixToolset.Data.WindowsInstaller.Row | Row to get element. |
Return value
System.Xml.Linq.XElement
Element indexed for the row or null if not found.
GetIndexedElement(table, primaryKey) Method
Get an element index by table and primary key.
Declaration
public System.Xml.Linq.XElement GetIndexedElement(
string table,
string primaryKey
)
Parameters
Parameter | Type | Description |
---|---|---|
table | string | Table name for indexed element. |
primaryKey | string | Primary key for indexed element. |
Return value
System.Xml.Linq.XElement
Element indexed for the table and primary key or null if not found.
GetIndexedElement(table, primaryKey1, primaryKey2) Method
Get an element index by table and primary keys.
Declaration
public System.Xml.Linq.XElement GetIndexedElement(
string table,
string primaryKey1,
string primaryKey2
)
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
System.Xml.Linq.XElement
Element indexed for the table and primary keys or null if not found.
GetIndexedElement(table, primaryKey1, primaryKey2, primaryKey3) Method
Get an element index by table and primary keys.
Declaration
public System.Xml.Linq.XElement GetIndexedElement(
string table,
string primaryKey1,
string primaryKey2,
string primaryKey3
)
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
System.Xml.Linq.XElement
Element indexed for the table and primary keys or null if not found.
GetIndexedElement(table, primaryKeys) Method
Get an element index by table and primary keys.
Declaration
public System.Xml.Linq.XElement GetIndexedElement(
string table,
System.String[] primaryKeys
)
Parameters
Parameter | Type | Description |
---|---|---|
table | string | Table name for indexed element. |
primaryKeys | System.String[] | Primary keys for indexed element. |
Return value
System.Xml.Linq.XElement
Element indexed for the table and primary keys or null if not found.
IndexElement(row, element) Method
Index an element by a row's table and primary keys.
Declaration
public void IndexElement(
WixToolset.Data.WindowsInstaller.Row row,
System.Xml.Linq.XElement element
)
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
Index an element by table and primary key.
Declaration
public void IndexElement(
string table,
string primaryKey,
System.Xml.Linq.XElement element
)
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
Index an element by table and primary keys.
Declaration
public void IndexElement(
string table,
string primaryKey1,
string primaryKey2,
System.Xml.Linq.XElement element
)
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
Index an element by table and primary keys.
Declaration
public void IndexElement(
string table,
string primaryKey1,
string primaryKey2,
string primaryKey3,
System.Xml.Linq.XElement element
)
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
Index an element by table and primary keys.
Declaration
public void IndexElement(
string table,
System.String[] primaryKeys,
System.Xml.Linq.XElement element
)
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
Gets or sets the root element of the decompiled output.
Declaration
public System.Xml.Linq.XElement RootElement { get; set; }