Skip to content

IWindowsInstallerDecompilerHelper Interface

Interface provided to help Windows Installer decompiler extensions.

MethodDescription
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.
PropertyDescription
RootElementGets or sets the root element of the decompiled output.
WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Creates an element from the standard WiX Toolset namespace and adds it to the root document.

public System.Xml.Linq.XElement AddElementToRoot(
string name,
System.Object[] content
)
ParameterTypeDescription
namestringName of the element to create and add.
contentSystem.Object[]Optional content to add to the new element.

System.Xml.Linq.XElement Element in the standard namespace.

Creates an element with the specified name and adds it to the root document.

public System.Xml.Linq.XElement AddElementToRoot(
System.Xml.Linq.XName name,
System.Object[] content
)
ParameterTypeDescription
nameSystem.Xml.Linq.XNameName of the element to create and add.
contentSystem.Object[]Optional content to add to the new element.

System.Xml.Linq.XElement Element in the standard namespace.

Adds an existing element to the root document.

public System.Xml.Linq.XElement AddElementToRoot(
System.Xml.Linq.XElement element
)
ParameterTypeDescription
elementSystem.Xml.Linq.XElementElement to add.

System.Xml.Linq.XElement Same element provided.

Creates an element from the standard WiX Toolset namespace.

public System.Xml.Linq.XElement CreateElement(
string name,
System.Object[] content
)
ParameterTypeDescription
namestringName of the element to create.
contentSystem.Object[]Optional content to add to the new element.

System.Xml.Linq.XElement Element in the standard namespace.

Get an element index by a row’s table and primary keys.

public System.Xml.Linq.XElement GetIndexedElement(
WixToolset.Data.WindowsInstaller.Row row
)
ParameterTypeDescription
rowWixToolset.Data.WindowsInstaller.RowRow to get element.

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.

public System.Xml.Linq.XElement GetIndexedElement(
string table,
string primaryKey
)
ParameterTypeDescription
tablestringTable name for indexed element.
primaryKeystringPrimary key for indexed element.

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.

public System.Xml.Linq.XElement GetIndexedElement(
string table,
string primaryKey1,
string primaryKey2
)
ParameterTypeDescription
tablestringTable name for indexed element.
primaryKey1stringPrimary key for first column indexed element.
primaryKey2stringPrimary key for second column indexed element.

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.

public System.Xml.Linq.XElement GetIndexedElement(
string table,
string primaryKey1,
string primaryKey2,
string primaryKey3
)
ParameterTypeDescription
tablestringTable name for indexed element.
primaryKey1stringPrimary key for first column indexed element.
primaryKey2stringPrimary key for second column indexed element.
primaryKey3stringPrimary key for third column indexed element.

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.

public System.Xml.Linq.XElement GetIndexedElement(
string table,
System.String[] primaryKeys
)
ParameterTypeDescription
tablestringTable name for indexed element.
primaryKeysSystem.String[]Primary keys for indexed element.

System.Xml.Linq.XElement Element indexed for the table and primary keys or null if not found.

Index an element by a row’s table and primary keys.

public void IndexElement(
WixToolset.Data.WindowsInstaller.Row row,
System.Xml.Linq.XElement element
)
ParameterTypeDescription
rowWixToolset.Data.WindowsInstaller.RowRow to index element.
elementSystem.Xml.Linq.XElementElement to index.

IndexElement(table, primaryKey, element) Method

Section titled “IndexElement(table, primaryKey, element) Method”

Index an element by table and primary key.

public void IndexElement(
string table,
string primaryKey,
System.Xml.Linq.XElement element
)
ParameterTypeDescription
tablestringTable name to index element.
primaryKeystringPrimary key to index element.
elementSystem.Xml.Linq.XElementElement to index.

IndexElement(table, primaryKey1, primaryKey2, element) Method

Section titled “IndexElement(table, primaryKey1, primaryKey2, element) Method”

Index an element by table and primary keys.

public void IndexElement(
string table,
string primaryKey1,
string primaryKey2,
System.Xml.Linq.XElement element
)
ParameterTypeDescription
tablestringTable name to index element.
primaryKey1stringFirst column’s primary key to index element.
primaryKey2stringSecond column’s primary key to index element.
elementSystem.Xml.Linq.XElementElement 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.

public void IndexElement(
string table,
string primaryKey1,
string primaryKey2,
string primaryKey3,
System.Xml.Linq.XElement element
)
ParameterTypeDescription
tablestringTable name to index element.
primaryKey1stringFirst column’s primary key to index element.
primaryKey2stringSecond column’s primary key to index element.
primaryKey3stringThird column’s primary key to index element.
elementSystem.Xml.Linq.XElementElement to index.

IndexElement(table, primaryKeys, element) Method

Section titled “IndexElement(table, primaryKeys, element) Method”

Index an element by table and primary keys.

public void IndexElement(
string table,
System.String[] primaryKeys,
System.Xml.Linq.XElement element
)
ParameterTypeDescription
tablestringTable name to index element.
primaryKeysSystem.String[]Column’s primary key to index element.
elementSystem.Xml.Linq.XElementElement to index.

Gets or sets the root element of the decompiled output.

public System.Xml.Linq.XElement RootElement { get; set; }