![]()
|
InstallShield 2008 ยป Automation Interface
ISWiFeature represents a feature in the InstallShield user interface. You can retrieve a feature by specifying an item in the ISWiFeatures collection.
Many feature properties and attributes are available in the automation interface through this object's methods, properties, and collections. Refer to the following table to see which methods, properties, and collections are available for your project type.
| Name |
Project |
Type |
Description |
|---|---|---|---|
| Basic MSI, InstallScript MSI |
Method |
Adds a condition to the current ISWiFeature. |
|
| All |
Method |
Creates an ISWiFeature object as a subfeature of the current ISWiFeature. |
|
| Basic MSI, InstallScript MSI |
Method |
Associates a merge module with the current feature. |
|
| InstallScript |
Method |
Adds an InstallScript object to the current ISWiFeature. |
|
| Advertise |
Basic MSI, InstallScript MSI |
Read-Write Property |
Gets or sets the Advertisement property for the current feature. Use the following constants to set this property:
|
| All |
Method |
Associates a component with the current feature. |
|
| Basic MSI |
Method |
Associates a DIM reference with the current feature. |
|
| CDRomFolder |
InstallScript |
Read-Write Property |
Gets or sets the feature's CD-ROM Folder property, which specifies the folder in the disk image in which the feature is placed if the feature's check box is checked in the Release wizard's Custom Media Layout panel. |
| Comments |
All |
Read-Write Property |
Gets or sets the comments associated with this feature. |
| Basic MSI, InstallScript MSI |
Method |
Deletes a condition associated with the current feature. |
|
| Description |
All |
Read-Write Property |
Gets or sets the description for this feature. |
| DescriptionID |
All |
Read-Write Property |
Gets or sets the string identifier for this feature's description.
To set this property, the string must exist in the string table and you must know the string identifier. |
| Destination |
Basic MSI, InstallScript MSI |
Read-Write Property |
Gets or sets the default destination of this feature. |
| Display |
Basic MSI, InstallScript MSI |
Read-Write Property |
Gets or sets the Display property for this feature. Use the following constants to set this property:
|
| DisplayName |
All |
Read-Write Property |
Gets or sets the display name of this feature. |
| DisplayNameID |
All |
Read-Write Property |
Gets or sets the string identifier for this feature's display name.
To set this property, the string must exist in the string table and you must know the string identifier. |
| Encryption |
InstallScript |
Read-Write Property |
Gets or sets the feature's Encryption property, which specifies whether the the files for the feature will be encrypted by the release builder. This property is a Boolean. |
| Features |
All |
Read-Only Property |
This property contains an ISWiFeatures collection of all this feature's immediate subfeatures, if any. |
| FTPLocation |
All |
Read-Write Property |
Gets or sets the feature's FTP Location property, which specifies an FTP location for the feature. |
| HTTPLocation |
InstallScript, InstallScript MSI |
Read-Write Property |
Gets or sets the feature's HTTP Location property, which specifies an HTTP location for the feature. |
| IncludeInBuild |
InstallScript |
Read-Write Property |
Gets or sets the feature's Include In Build property, which specifies whether the feature should be included in your distribution media. This property is a Boolean. |
| GUID |
InstallScript |
Read-Write Property |
Gets or sets the feature's GUID property, which identifies the feature in the setup's log file; if you change a feature's GUID in an update setup, the setup engine treats it as a new feature rather than an update to an existing feature. |
| InstallLevel |
Basic MSI, InstallScript MSI |
Read-Write Property |
Gets or sets the install level of this feature. |
| All |
Collection |
Contains all of the components associated with the current feature. |
|
| Basic MSI, InstallScript MSI |
Collection |
Contains all of the conditions associated with the current feature. |
|
| InstallScript |
Collection |
Contains all of the InstallScript objects associated with the current feature. |
|
| Miscellaneous |
InstallScript, InstallScript MSI |
Read-Write Property |
Gets or sets the feature's Miscellaneous property, which associates a text string with the feature. |
| Name |
All |
Read-Only Property |
Feature name of the current element in the collection. |
| Need |
InstallScript |
Read-Write Property |
Gets or sets the feature's File Need property, which specifies whether whether a warning, a severe warning, or no warning should be given to end users who deselect the feature. Use the following constants to set this property: |
| OnInstalled |
InstallScript, InstallScript MSI |
Read-Write Property |
Gets or sets the feature's OnInstalled property, which specifies the function to be executed just after the feature is installed. |
| OnInstalling |
InstallScript, InstallScript MSI |
Read-Write Property |
Gets or sets the feature's OnInstalling property, which specifies the function to be executed just before the feature is installed. |
| OnUninstalled |
InstallScript, InstallScript MSI |
Read-Write Property |
Gets or sets the feature's OnUninstalled property, which specifies the function to be executed just after the feature is uninstalled. |
| OnUninstalling |
InstallScript, InstallScript MSI |
Read-Write Property |
Gets or sets the feature's OnUninstalling property, which specifies the function to be executed just before the feature is uninstalled. |
| Password |
InstallScript |
Read-Write Property |
Gets or sets the feature's Password property, which specifies a password for the feature. |
| ReleaseFlags |
Basic MSI, InstallScript MSI |
Read-Write Property |
Gets or sets the release flags attached to this feature. Separate multiple flags with a comma. You can specify which release flags you want to use to filter the project's features in the ReleaseFlags property of ISWiRelease. |
| RemoteInstallation |
Basic MSI, InstallScript MSI |
Read-Write Property |
Retrieves or sets the feature's Remote Installation property. Use the following constants to set this property:
|
| All |
Method |
Removes a component from this feature. |
|
| All |
Method |
Deletes the specified feature from the project. |
|
| Basic MSI, InstallScript MSI |
Method |
Removes a merge module from the current feature. |
|
| InstallScript |
Method |
Removes an InstallScript object from the current ISWiFeature. |
|
| Required |
Basic MSI, InstallScript MSI |
Read-Write Property |
Gets or sets the feature's Required property. This property is a Boolean. |
| RequiredFeatures |
InstallScript, InstallScript MSI |
Read-Write Property |
Gets or sets a comma-delimited string that lists the names of the features that are specified in the current feature's Required Features property. |
| SetupTypeStatus |
InstallScript, InstallScript MSI |
Read-Write Property |
This Boolean property gets or sets the selection status of the feature in the setup type that is specified in the property's argument, as in the following Visual Basic code snippet: Set pFeature = pProject.ISWiFeatures.Item("Help _Files") Set pSetupType = pProject.ISWiSetupTypes.Item("Co mpact") pFeature.SetupTypeStatus(pSetupT ype) = False |
| StatusText |
InstallScript |
Read-Write Property |
Gets or sets the feature's Status Text property, which specifies the text that end users see in the uppermost line of the progress indicator during the transfer of this feature. |
| Visible |
InstallScript |
Read-Write Property |
Gets or sets the feature's Visible property, which specifies whether the feature will be visible in feature dialog boxes during the installation. This property is a Boolean. |
|
|
Copyright Information | Contact Macrovision |