IUpdateInstaller interface (wuapi.h)
Installs or uninstalls updates from or onto a computer.
Inheritance
The IUpdateInstaller interface inherits from the IDispatch interface. IUpdateInstaller also has these types of members:
Methods
The IUpdateInstaller interface has these methods.
IUpdateInstaller::BeginInstall Starts an asynchronous installation of the updates. |
IUpdateInstaller::BeginUninstall Starts an asynchronous uninstallation of the updates. |
IUpdateInstaller::EndInstall Completes an asynchronous installation of the updates. |
IUpdateInstaller::EndUninstall Completes an asynchronous uninstallation of the updates. |
IUpdateInstaller::get_AllowSourcePrompts Gets and sets a Boolean value that indicates whether to show source prompts to the user when installing the updates. (Get) |
IUpdateInstaller::get_ClientApplicationID Gets and sets the current client application. (IUpdateInstaller.get_ClientApplicationID) |
IUpdateInstaller::get_IsBusy Gets a Boolean value that indicates whether an installation or uninstallation is in progress on a computer at a specific time. |
IUpdateInstaller::get_IsForced Gets or sets a Boolean value that indicates whether to forcibly install or uninstall an update. (Get) |
IUpdateInstaller::get_ParentHwnd Gets and sets a handle to the parent window that can contain a dialog box. (Get) |
IUpdateInstaller::get_ParentWindow Gets and sets the interface that represents the parent window that can contain a dialog box. (Get) |
IUpdateInstaller::get_RebootRequiredBeforeInstallation Gets a Boolean value that indicates whether a system restart is required before installing or uninstalling updates. |
IUpdateInstaller::get_Updates Gets and sets an interface that contains a read-only collection of the updates that are specified for installation or uninstallation. (Get) |
IUpdateInstaller::Install Starts a synchronous installation of the updates. |
IUpdateInstaller::put_AllowSourcePrompts Gets and sets a Boolean value that indicates whether to show source prompts to the user when installing the updates. (Put) |
IUpdateInstaller::put_ClientApplicationID Gets and sets the current client application. (IUpdateInstaller.put_ClientApplicationID) |
IUpdateInstaller::put_IsForced Gets or sets a Boolean value that indicates whether to forcibly install or uninstall an update. (Put) |
IUpdateInstaller::put_ParentHwnd Gets and sets a handle to the parent window that can contain a dialog box. (Put) |
IUpdateInstaller::put_ParentWindow Gets and sets the interface that represents the parent window that can contain a dialog box. (Put) |
IUpdateInstaller::put_Updates Gets and sets an interface that contains a read-only collection of the updates that are specified for installation or uninstallation. (Put) |
IUpdateInstaller::RunWizard Starts a wizard that guides the local user through the steps to install the updates. |
IUpdateInstaller::Uninstall Starts a synchronous uninstallation of the updates. |
Remarks
This interface can be instantiated by using the UpdateInstaller coclass. Use the Microsoft.Update.Installer program identifier to create the object.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional with SP3 [desktop apps only] |
Minimum supported server | Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only] |
Target Platform | Windows |
Header | wuapi.h |