Partager via


IInstallationJob interface

The IInstallationJob interface contains properties and methods that are available to an installation or uninstallation operation.

Members

The IInstallationJob interface inherits from the IDispatch interface. IInstallationJob also has these types of members:

  • Methods
  • Properties

Methods

The IInstallationJob interface has these methods.

Method Description
CleanUp

Waits for an asynchronous operation to be completed and then releases all the callbacks.

GetProgress

Returns an IInstallationProgress interface that describes the current progress of an installation or uninstallation.

RequestAbort

Makes a request to cancel an installation or uninstallation.

 

Properties

The IInstallationJob interface has these properties.

Property Access type Description

AsyncState

Read-only

Gets the caller-specific state object that is passed to the IUpdateInstaller.BeginInstall or IUpdateInstaller.BeginUninstall method.

IsCompleted

Read-only

Gets a value that indicates whether a call to the IUpdateInstaller.BeginInstall or IUpdateInstaller.BeginUninstall method is completely processed.

Updates

Read-only

Gets an interface that contains a read-only collection of the updates that are specified in the installation or uninstallation.

 

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_IInstallationJob is defined as 5C209F0B-BAD5-432A-9556-4699BED2638A