OverviewExamples
boolean MSI.InstallMissingComponent ( |
Calls the MsiInstallMissingComponent function to install a component that is unexpectedly missing.
(string) The "product code" of the product that owns the component to be installed. This string must be an identifier string enclosed in curly braces, for example: "{78B82B0B-9AD9-40C0-B994-F72C21B52723}".
(string) The identifier (GUID) of the component to be installed. This string must be an identifier string enclosed in curly braces, for example: "{1638E94C-DA3C-44BD-88FB-5CC76B59BE46}".
(number) The way the component should be installed. Choose from one of the following:
CONSTANT |
VALUE |
DESCRIPTION |
INSTALLSTATE_LOCAL |
3 |
The component should be locally installed. |
INSTALLSTATE_SOURCE |
4 |
The component should be installed to run from the source. |
INSTALLSTATE_DEFAULT |
5 |
The component should be installed according to the installer defaults. |
(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