IUpdateInstaller::RunWizard method
Starts a wizard that guides the local user through the steps to install the updates.
Syntax
HRESULT RunWizard(
[in, optional] BSTR dialogTitle,
[out] IInstallationResult **retval
);
Parameters
dialogTitle [in, optional]
An optional string value to be displayed in the title bar of the wizard.If an empty string value is used, the following text is displayed: Download and Install Updates.
retval [out]
An IInstallationResult interface that represents the results of an installation operation for each update that is specified in the request.
Return value
This method returns the following HRESULT values and other COM or Windows error codes.
Return code | Description |
---|---|
WU_E_NO_UPDATE | There are no updates in a collection. |
Remarks
This method returns WU_E_NO_UPDATE if the Updates property of IUpdateInstaller is not set. This method also returns WU_E_NO_UPDATE if the Updates property is set to an empty collection.
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 |