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 5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78

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; }