Deployment Tools Foundation
ApplyPatch Method (patchPackage, commandLine)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► ApplyPatch(String, String)
For each product listed by the patch package as eligible to receive the patch, ApplyPatch invokes
an installation and sets the PATCH property to the path of the patch package.
![](collapse_all.gif)
![](collapse_all.gif)
The RebootRequired and RebootInitiated properties should be tested after calling this method.
Win32 MSI API: MsiApplyPatch
![](collapse_all.gif)
Exception | Condition |
---|---|
InstallerException | There was an error applying the patch |