MSI.ConfigureProduct

boolean MSI.ConfigureProduct (

string ProductCode,

number InstallLevel,

number InstallState )

Example 1

bConfigured = MSI.ConfigureProduct("{78B82B0B-9AD9-40C0-B994-F72C21B52723}", INSTALLLEVEL_DEFAULT, INSTALLSTATE_LOCAL);

if (bConfigured) then
Dialog.Message("Configuration", "Configuration successful.");
else
nError = Application.GetLastError();
Dialog.Message("Error", _tblErrorMessages[nError], MB_OK, MB_ICONEXCLAMATION);
end

Installs the product locally on the user's system with the authored default features and shows either a success, or error message.

See also: Related Actions