InsertCustomAction Method

InstallShield 2016 » Automation Interface

Project • This information applies to the following project types:

Basic MSI
InstallScript MSI

Call the InsertCustomAction method to insert a custom action into one of the project’s sequences.

Syntax

InsertCustomAction (CustomAction As ISWiCustomAction, Comment As String, Condition as String, SequenceNumber as Long) as ISWiSequenceRecord

Parameters

InsertCustomAction Method Parameters

Parameter

Description

CustomAction

The custom action you want to create.

Comment

An optional string comment about your custom action.

Condition

An optional string condition for your custom action.

SequenceNumber

The numeric sequence number for your custom action.

Return Values

The InsertCustomAction method returns an ISWiSequenceRecord object.

Applies To

ISWiSequence