FeatureListItems

InstallShield 2014 » InstallScript Language Reference

Project: This information applies to the following project types:

InstallScript
InstallScript MSI

The FeatureListItems function lists all subfeatures under the feature specified in szFeature. The list of fully qualified subfeature names is stored in listFeatures. If szFeature has subfeatures, listFeatures returns an empty list.

Syntax

FeatureListItems ( szFeatureSource, szFeature, listFeatures );

Parameters

FeatureListItems Parameters

Parameter

Description

szFeatureSource

Specifies the media name of the script-created feature set whose subfeatures are listed.

szFeature

Specifies the feature whose subfeatures are listed. Pass a null string ("") in this parameter to list all top-level features. To learn how to refer to top-level features and subfeatures, see Specifying Features and Subfeatures in Function Calls.

listFeatures

Returns the list of features. You must call ListCreate before calling FeatureListItems to initialize the string list identified by listFeatures.

Return Values

FeatureListItems Return Values

Return Value

Description

0

FeatureListItems listed the features.

< 0

FeatureListItems was unable to list the features. Call FeatureError for additional information.

See Also