Export (0) Print
Expand All

Custom Action Types

The following table identifies the basic types of custom actions and shows the values that are in the Type, Source, and Target fields of the CustomAction table for each type. The basic custom actions can be modified by including optional flag bits in the Type column. For descriptions of the options and the values, see the following:

Use the links to the Basic Custom Action Type for a description and the options available for each type.

Basic custom action typeTypeSourceTarget
Custom Action Type 1

DLL file stored in a Binary table stream.

1Key to Binary table. DLL entry point.
Custom Action Type 2

EXE file stored in a Binary table stream.

2Key to Binary table.Command-line string.
Custom Action Type 5

JScript file stored in a Binary table stream.

5Key to Binary table.An optional JScript function that can be called.
Custom Action Type 6

VBScript file stored in a Binary table stream.

6Key to Binary table.An optional VBScript function that can be called.
Custom Action Type 17

DLL file that is installed with a product.

17Key to File table.DLL entry point.
Custom Action Type 18

EXE file that is installed with a product.

18Key to File table.Command-line string.
Custom Action Type 19

Displays a specified error message and returns failure, terminating the installation.

19Blank Formatted text string. The literal message or an index into the Error table.
Custom Action Type 21

JScript file that is installed with a product.

21Key to File table.An optional JScript function that can be called.
Custom Action Type 22

VBScript file that is installed with a product.

22Key to File table.An optional VBScript function that can be called.
Custom Action Type 34

EXE file having a path referencing a directory.

34Key to Directory table. This is the working directory for execution. The Target column is formatted and contains the full path and name of the executable file followed by optional arguments.
Custom Action Type 35

Directory set with formatted text.

35A key to the Directory table. The designated directory is set by the formatted string in the Target field.A formatted text string.
Custom Action Type 37

JScript text stored in this sequence table.

37NullA string of JScript code.
Custom Action Type 38

VBScript text stored in this sequence table.

38NullA string of VBScript code.
Custom Action Type 50

EXE file having a path specified by a property value.

50Property name or key to Property table.Command-line string.
Custom Action Type 51

Property set with formatted text.

51Property name or key to the Property table. This property is set by the formatted string in the Target field.A formatted text string.
Custom Action Type 53

JScript text specified by a property value.

53Property name or key to Property table.An optional JScript function that can be called.
Custom Action Type 54

VBScript text specified by a property value.

54Property name or key to Property table.An optional VBScript function that can be called.

 

In addition, the following custom action types are used with concurrent installations:

 

 

Community Additions

ADD
Show:
© 2014 Microsoft