MSI.GetFeatureInfo

table MSI.GetFeatureInfo ( 

number Handle,

string FeatureID,

number Attributes )

Description

Calls the MsiGetFeatureInfo function to get descriptive information for a feature.

Parameters

Handle

(number) The "handle" to the product that owns the feature. You can use the MSI.OpenProduct action to get the product handle.

FeatureID

(string) The identifier of the feature whose information you want.

Attributes

(number) The attributes you want to get. Use the plus sign ("+") to combine values. Choose from one or more of the following:
For more information about these flags, see the Feature Table topic in the MSDN.

CONSTANT

VALUE

INSTALLFEATUREATTRIBUTE_FAVORLOCAL

1

INSTALLFEATUREATTRIBUTE_FAVORSOURCE

2

INSTALLFEATUREATTRIBUTE_FOLLOWPARENT

4

INSTALLFEATUREATTRIBUTE_FAVORADVERTISE

8

INSTALLFEATUREATTRIBUTE_DISALLOWADVERTISE

16

INSTALLFEATUREATTRIBUTE_NOUNSUPPORTEDADVERTISE

32

Returns

(table) Returns a table indexed by the following values.

KEY

TYPE

DESCRIPTION

Title

string

The localized name of the feature.

Description

string

The localized description of the feature.

If the action fails, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions