MSI.ConfigureFeature

boolean MSI.ConfigureFeature ( 

string ProductCode,

string FeatureID,

number InstallState )

Example 1

bResult = MSI.ConfigureFeature("{78B82B0B-9AD9-40C0-B994-F72C21B52723}", "Core", INSTALLSTATE_LOCAL);

if (not bResult) then
    nError = Application.GetLastError();
    Dialog.Message("Error", _tblErrorMessages[nError], MB_OK, MB_ICONEXCLAMATION);
end

Configures the feature "Core" as installed locally (INSTALLSTATE_LOCAL) and shows an error dialog if the action fails.

See also:  Related Actions