OverviewExamples
boolean MSI.ApplyPatch ( |
string CommandLine = "" ) |
bPatchSuccess = MSI.ApplyPatch(_TempFolder.."\\patch.msp", "", INSTALLTYPE_DEFAULT, "REINSTALL=ALL");
if (bPatchSuccess) then
Dialog.Message("Patch Success", "The patch was applied successfully.");
else
nError = Application.GetLastError();
Dialog.Message("Error", _tblErrorMessages[nError], MB_OK, MB_ICONEXCLAMATION);
end
Uses the MSI.ApplyPatch action to search for all products on the system to apply the "patch.msp" to, and shows either a success, or error message.
See also: Related Actions