MSI.ConfigureProductEx

boolean MSI.ConfigureProductEx ( 

string ProductCode,

number InstallLevel,

number InstallState,

string CommandLine = "" )

Example 1

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

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