FeatureRemoveAll

InstallShield 2014 » InstallScript Language Reference

Project: This information applies to the following project types:

InstallScript
InstallScript MSI

FeatureRemoveAll is used during a maintenance install to force the removal of all features that were installed previously. FeatureRemoveAll is generally called when the user selects the Remove option in the SdWelcomeMaint dialog.

Calling FeatureRemoveAll causes all features to be deselected. As a result, when FeatureTransferData is called, any features that have already been installed (determined by reading the setup log file, if it exists) are removed (uninstalled).

Setup determines whether or not features have been previously installed by reading the setup log file. If no valid log file is found during setup initialization, all features are considered not installed. In this case, calling FeatureRemoveAll clears all feature selections, but does not force uninstallation of the features when FeatureTransferData is called.

Note: FeatureRemoveAll also deselects all internal features, including the features containing the Disk 1 setup files that are automatically installed to the DISK1TARGET location.

Syntax

FeatureRemoveAll ( );

Parameters

None

Return Values

FeatureRemoveAll Return Values

Return Value

Description

0

Indicates that the function successfully deselected all feature selections.

< 0

Indicates that the function was unable to deselect all feature selections.

See Also