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 (see /creteriacriteria ) is specified, it searches for not already installed updates (IsInstalled=0 and Type='Software'). Drivers are not included in the default /search option!

...

Sometimes, the search might fail for some reason, in . In case of an error WuInstall tries the search automatically a second time. If the search fails once more, WuInstall exits with return code 1 and also displays the error code for the reason why the search failed:

...

and exit with return code 3.

When 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, afterwards the . The severity, classification and product are displayed in the next 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 criterias criteria and filter options before downloading and installing.

...

The /download option first of all executes a search (exactly the same one the /search option does, considering all parameters for criterias criteria and filters).

If there are entries in the result list (updates, matching the criterias criteria and filters, were found), it immediately starts downloading them (either from WSUS or the Microsoft Update Site), displaying:

...