ISetPropertyCustomAction

ISetPropertyCustomAction

Declaration

ISetPropertyCustomAction: ICustomAction

Overview

This interface facilitates editing custom actions that set an installer property to a specified value.

Properties

String PropertyName
Gets or sets the name of the property to be set.

String PropertyValue
Gets or sets the value assigned to the property .

Example

    $advinst = new-object -com AdvancedInstaller
$project = $advinst.CreateProject("architect")
$custAct = $project.CustomActionsComponent.NewSetProperty("MY_PROPERTY", "SomeValue")
$custAct.PropertyName = "MY_PROPERTY"
$custAct.PropertyValue = "SomeValue"