MSI.InstallProduct

boolean MSI.InstallProduct ( 

string   PackagePath,

string   CommandLine)

Example 1


bInstalled = MSI.InstallProduct(_TempFolder.."\\TempMSI\\setup.msi","REMOVE=ALL");

if (not bInstalled) then
    nInstallError = Application.GetLastError();
    Dialog.Message("Error", _tblErrorMessages[nInstallError], MB_OK, MB_ICONEXCLAMATION);
end
 

Calls "setup.msi" to uninstall the current copy of the product.

See also:  Related Actions