Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Searches for available updates using the windows update API. If no criteria creterion (see /criteria ) is specified, it searches for not already installed updates (IsInstalled=0 and Type='Software'). Drivers are not included in the default /search option!

...

Code Block
languagetext
themeEmacs
You are using WSUS Server http://wsus.mycompany.local:8530

Otherwise, when if going to the Microsoft Update Site, it will report:

...

and exit with return code 3.

When If there are updates, which match the filters, then they are displayed in a result list like this:

...

The first line contains the position and the complete name of the update. The severity, classification and product are displayed in the next following lines.

When using the /search option, after listing the updates, WuInstall exits with code 0, without any further action.

...

So this option is useful for just checking which updates are available (and, for example, with the criteria "IsInstalled=1" also for checking which updates are already installed), or for testing search criteria and filter options before downloading and installing.

...

It is possible to track the download progress (see the /show_progress option).

Updates, which have already have been downloaded (they can be excluded in the result list of the search with the /isdownloaded option), are usually not downloaded again, so the download is "finished" immediately.

...

and the error code and reason why the download failed. WuInstall then immediately exits with return code 1 without downloading the subsequent pending downloads in the result list.

...

and exits with return code 1.

/download_to_directory

It This option does almost exactly the same as /download, but furthermore this option it copies the updates to the specified directory, usually in msi or exe format.

...

Most updates are update bundles, which means that there are multiple sub-updates, each . Each will create a separate installation file in the directory.

...

but it does not force WuInstall to abort the entire process, it . It continues with the next update in the result list (or the next sub-update in the bundle) in any case.

The option /download_to can also be used to copy updates, which are already in the download cache to a directory (with /isdownloaded 1).

...

Before installation, the downloaded updates are listed and checked, if they have been downloaded properly and, if they are ready to be installed. Furthermore, it is listed, if the Eula is known ("Eula Accepted: true") - otherwise, see /autoaccepteula option.

...

Code Block
languagetext
themeEmacs
Enumerating result for every single update
 1. Portuguese (Brazil) Language Pack - Windows 7 (KB972813): Result Code: Succeeded
 2. Danish Language Pack - Windows 7 (KB972813): Result Code: Succeeded
Overall Result Code: Succeeded

Afterwards, it is checked WuInstall checks, if one or more updates need a reboot.

...