Script Changes: Lexicon Conversion

InstallShield 2014

Terminology Change

In InstallShield Professional, the functional building blocks of your installation from the end user’s perspective were called components. With InstallShield 2014, these building blocks are called features.

Because of this change in terminology, a number of InstallScript function names have also changed. When you upgrade a project that you created using InstallShield Professional, some items in your script might undergo a lexicon change or be aliased.

Function Names
ComponentFileInfo (FeatureFileInfo) Flags
ComponentSetData (FeatureSetData) and ComponentGetData (FeatureGetData) Flags

Function Names

Any InstallScript function name that referred to component now refers to feature. For example, ComponentDialog is now FeatureDialog. The parameters for these functions have not changed. Click a feature function to view the corresponding help topic.

Function Name Changes

Component Function

Feature Function

ComponentAddItem

FeatureAddItem

ComponentCompareSizeRequired

FeatureCompareSizeRequired

ComponentDialog

FeatureDialog

ComponentError

FeatureError

ComponentErrorInfo

FeatureErrorInfo

ComponentFileEnum

FeatureFileEnum

ComponentFileInfo

FeatureFileInfo

ComponentFilterLanguage

FeatureFilterLanguage

ComponentFilterOS

FeatureFilterOS

ComponentGetData

FeatureGetData

ComponentGetItemSize

FeatureGetItemSize

ComponentGetTotalCost

FeatureGetTotalCost

ComponentInitialize

FeatureInitialize

ComponentIsItemSelected

FeatureIsItemSelected

ComponentListItems

FeatureListItems

ComponentLoadTarget

FeatureLoadTarget

ComponentMoveData

FeatureMoveData

ComponentPatch

FeaturePatch

ComponentReinstall

FeatureReinstall

ComponentRemoveAll

FeatureRemoveAll

ComponentRemoveAllInLogOnly

FeatureRemoveAllInLogOnly

ComponentRemoveAllInMedia

FeatureRemoveAllInMedia

ComponentRemoveAllInMediaAndLog

FeatureRemoveAllInMediaAndLog

ComponentSaveTarget

FeatureSaveTarget

ComponentSelectItem

FeatureSelectItem

ComponentSelectNew

FeatureSelectNew

ComponentSetData

FeatureSetData

ComponentSetTarget

FeatureSetTarget

ComponentSetupTypeEnum

FeatureSetupTypeEnum

ComponentSetupTypeGetData

FeatureSetupTypeGetData

ComponentSetupTypeSet

FeatureSetupTypeSet

ComponentTotalSize

FeatureTotalSize

ComponentTransferData

FeatureTransferData

ComponentUpdate

FeatureUpdate

ComponentValidate

FeatureValidate

SdComponentDialog

SdFeatureDialog

SdComponentDialogAdv

SdFeatureDialogAdv

SdComponentMult

SdFeatureMult

SdComponentTree

SdFeatureTree

ComponentFileInfo (FeatureFileInfo) Flags

Flags that you used with the ComponentFileInfo (now FeatureFileInfo) function in InstallShield Professional are converted to reflect their use with features in InstallShield 2014.

ComponentFileInfo Flags

Deprecated Flag

New Flag

COMPONENT_INFO_ATTRIBUTE

FEATURE_INFO_ATTRIBUTE

COMPONENT_INFO_LANGUAGE

FEATURE_INFO_LANGUAGE

COMPONENT_INFO_OS

FEATURE_INFO_OS

COMPONENT_INFO_ORIGSIZE

FEATURE_INFO_ORIGSIZE

COMPONENT_INFO_COMPSIZE

COMPONENT_INFO_DATE

COMPONENT_INFO_DATE_EX

COMPONENT_INFO_TIME

Note: The flags that are not available return -137, which indicates that the option is not functional. You can use the FeatureError function to provide more information about the return value.

COMPONENT_INFO_VERSIONLS

FEATURE_INFO_VERSIONLS

COMPONENT_INFO_VERSIONMS

FEATURE_INFO_VERSIONMS

COMPONENT_INFO_VERSIONSTR

FEATURE_INFO_VERSIONSTR

ComponentSetData (FeatureSetData) and ComponentGetData (FeatureGetData) Flags

Flags that you used with the ComponentSetData and ComponentGetData (now FeatureSetData and FeatureGetData) functions in InstallShield Professional are converted to reflect their use with features in InstallShield 2014.

Deprecated ComponentSetData and ComponentGetData Flags

Deprecated Flag

New Flag

COMPONENT_FIELD_CDROM_FOLDER

FEATURE_FIELD_CDROM_FOLDER

COMPONENT_FIELD_DESCRIPTION

FEATURE_FIELD_DESCRIPTION

COMPONENT_FIELD_DISPLAYNAME

FEATURE_FIELD_DISPLAYNAME

COMPONENT_FIELD_FILENEED

FEATURE__FIELD_FILENEED

COMPONENT_FIELD_FTPLOCATION

FEATURE_FIELD_FTPLOCATION

COMPONENT_FIELD_HTTPLOCATION

FEATURE_FIELD_HTTPLOCATION

COMPONENT_FIELD_IMAGE

FEATURE_FIELD_IMAGE

COMPONENT_FIELD_MISC

FEATURE_FIELD_MISC

COMPONENT_FIELD_PASSWORD

FEATURE_FIELD_PASSWORD

COMPONENT_FIELD_SELECTED

FEATURE_FIELD_SELECTED

COMPONENT_FIELD_SIZE

FEATURE_FIELD_SIZE

COMPONENT_FIELD_STATUS

FEATURE_FIELD_STATUS

COMPONENT_FIELD_VISIBLE

FEATURE_FIELD_VISIBLE

COMPONENT_VALUE_CRITICAL

FEATURE_VALUE__CRITICAL

COMPONENT_VALUE_HIGHLYRECOMMENDED

FEATURE_VALUE__HIGHLYRECOMMENDED

COMPONENT_VALUE__STANDARD

FEATURE_VALUE_STANDARD

See Also