OverviewExamples
boolean MSI.ConfigureProduct ( |
Calls the MsiConfigureProduct function to install or uninstall a product.
(string) The "product code" of the product you want to configure. This string must be an identifier string enclosed in curly braces, for example: "{78B82B0B-9AD9-40C0-B994-F72C21B52723}".
(number) How much of the product you want to install. Choose one of the following values:
CONSTANT |
VALUE |
DESCRIPTION |
INSTALLLEVEL_DEFAULT |
0 |
The authored default features are installed. |
INSTALLLEVEL_MINIMUM |
1 |
Only the required features are installed. You can specify a value between INSTALLLEVEL_MINIMUM and INSTALLLEVEL_MAXIMUM to install a subset of available features. |
INSTALLLEVEL_MAXIMUM |
65535 |
All features are installed. You can specify a value between INSTALLLEVEL_MINIMUM and INSTALLLEVEL_MAXIMUM to install a subset of available features. |
(number) The installation state for the product. Choose one of the following values:
CONSTANT |
VALUE |
DESCRIPTION |
INSTALLSTATE_ADVERTISED |
1 |
The product is advertised. |
INSTALLSTATE_ABSENT |
2 |
The product is uninstalled. |
INSTALLSTATE_LOCAL |
3 |
The product is to be installed with all features installed locally. |
INSTALLSTATE_SOURCE |
4 |
The product is to be installed with all features installed to run from source. |
INSTALLSTATE_DEFAULT |
5 |
The product is to be installed with all features installed to the default states specified in the Feature Table. |
(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