OverviewExamples
boolean MSI.ConfigureFeature ( |
Calls the MsiConfigureFeature function to configure the installed state for a product feature.
(string) The "product code" of the product to be configured. This string must be an identifier string enclosed in curly braces, for example: "{78B82B0B-9AD9-40C0-B994-F72C21B52723}".
(string) The identifier of the feature to be configured.
(number) The installation state for the feature. Choose from one of the following:
CONSTANT |
VALUE |
DESCRIPTION |
INSTALLSTATE_ADVERTISED |
1 |
The feature is advertised. |
INSTALLSTATE_ABSENT |
2 |
The feature is uninstalled. |
INSTALLSTATE_LOCAL |
3 |
The feature is installed locally. |
INSTALLSTATE_SOURCE |
4 |
The feature is installed to run from source. |
INSTALLSTATE_DEFAULT |
5 |
The feature is installed to its default location. |
(boolean) Returns true if the action was successful, or false if it failed. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions