Skip to main content

CustomActionAttribute Class

Marks a method as a custom action entry point.

Properties

PropertyDescription
NameGets or sets the name of the custom action entrypoint. A null value defaults to the name of the method.

Remarks

A custom action method must be defined as public and static, take a single «see T:WixToolset.Dtf.WindowsInstaller.Session» object as a parameter, and return an «see T:WixToolset.Dtf.WindowsInstaller.ActionResult» enumeration value.

WixToolset.Dtf.WindowsInstaller.dll version 4.0.2+644ed0118bae1aa885bb6cc906dc6c0b904de4d9

Name Property

Gets or sets the name of the custom action entrypoint. A null value defaults to the name of the method.

Declaration

public string Name { get; set; }