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.
IUpdateInstaller::get_ClientApplicationID

Gets and sets the current client application.
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.
IUpdateInstaller::get_ParentHwnd

Gets and sets a handle to the parent window that can contain a dialog box.
IUpdateInstaller::get_ParentWindow

Gets and sets the interface that represents the parent window that can contain a dialog box.
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.
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.
IUpdateInstaller::put_ClientApplicationID

Gets and sets the current client application.
IUpdateInstaller::put_IsForced

Gets or sets a Boolean value that indicates whether to forcibly install or uninstall an update.
IUpdateInstaller::put_ParentHwnd

Gets and sets a handle to the parent window that can contain a dialog box.
IUpdateInstaller::put_ParentWindow

Gets and sets the interface that represents the parent window that can contain a dialog box.
IUpdateInstaller::put_Updates

Gets and sets an interface that contains a read-only collection of the updates that are specified for installation or uninstallation.
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

   
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

See also

IUpdateInstaller2