Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Installs or uninstalls updates from or onto a computer.
Members
The IUpdateInstaller interface inherits from the IDispatch interface. IUpdateInstaller also has these types of members:
- Methods
- Properties
Methods
The IUpdateInstaller interface has these methods.
Method | Description |
---|---|
BeginInstall | Starts an asynchronous installation of the updates. |
BeginUninstall | Starts an asynchronous uninstallation of the updates. |
EndInstall | Completes an asynchronous installation of the updates. |
EndUninstall | Completes an asynchronous uninstallation of the updates. |
Install | Starts a synchronous installation of the updates. |
RunWizard | Starts a wizard that guides the local user through the steps to install the updates. |
Uninstall | Starts a synchronous uninstallation of the updates. |
Properties
The IUpdateInstaller interface has these properties.
Property | Access type | Description |
---|---|---|
Read/write |
Gets and sets a Boolean value that indicates whether to show source prompts to the user when installing the updates. |
|
Read/write |
Gets and sets the current client application. |
|
Read-only |
Gets a Boolean value that indicates whether an installation or uninstallation is in progress on a computer at a specific time. |
|
Read/write |
Gets and sets a Boolean value that indicates whether to forcibly install or uninstall an update. |
|
Read/write |
Gets and sets a handle to the parent window that can contain a dialog box. |
|
Read/write |
Gets and sets the interface that represents the parent window that can contain a dialog box. |
|
Read-only |
Gets a Boolean value that indicates whether a system restart is required before installing or uninstalling updates. |
|
Read/write |
Gets and sets an interface that contains a read-only collection of the updates that are specified for installation or uninstallation. |
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] |
Header |
Wuapi.h |
IDL |
Wuapi.idl |
Library |
Wuguid.lib |
DLL |
Wuapi.dll |
IID |
IID_IUpdateInstaller is defined as 7B929C68-CCDC-4226-96B1-8724600B54C2 |