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.1+2f00cbe680fb01ab485d56f16de9cd19b133f875

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