ISWiSuiteFeatures Collection

InstallShield 2019 » Automation Interface » Advanced UI and Suite/Advanced UI

Project • This information applies to the following project types:

Advanced UI
Suite/Advanced UI

Edition • The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.

ISWiSuiteFeatures is a collection that contains every feature (as an ISWiSuiteFeature object) in your project.

When ISWiSuiteFeatures is a member of ISWiProject, it contains all of the root-level features in the project. To retrieve a collection of subfeatures, access the Features property of the ISWiSuiteFeature object. The result is an ISWiSuiteFeatures collection that contains the immediate subfeatures of the current root-level feature. Repeat for further levels of subfeatures.

Members

ISWiSuiteFeatures Collection Members

Name

Type

Description

Count

Read-Only Property

Use this property to return the total number of elements in the ISWiSuiteFeatures collection.

Item

Read-Only Property

Provide the index number or name of the feature to retrieve the ISWiSuiteFeature object. For example, the following statements create a copy of the first item in the collection and of the feature named Help_Files:

Set pFeat1 = m_ISWiProject.ISWiSuiteFeatures.Item(1)

 

Set pFeat2 = m_ISWiProject.ISWiSuiteFeatures.Item("Help_Files")

The name of the feature is case-sensitive—for example, “Help_Files” and “Help_files” are two different features.

Item is the default property for ISWiSuiteFeatures, which means that the following two lines of code are equivalent:

m_ISWiProject.ISWiSuiteFeatures.Item("Help_Files")

m_ISWiProject.ISWiSuiteFeatures("Help_Files").

Applies To

ISWiProject