Versions Compared

Key

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

...

Code Block
languagetext
themeEmacs
20102022/08/24-08:10:37   Searching for updates ... Criteria: IsInstalled=1
20102022/08/24-08:10:40  
20102022/08/24-08:10:40 Result Code: Succeeded
20102022/08/24-08:10:40   50 Updates found in total, filtering ...
20102022/08/24-08:10:40   1. German Language Pack - Windows 710 (KB972813)   Severity: Unknown
20102022/08/24-08:10:40   UpdateClassification - Updates  Product - Windows 10 7 Language Packs
20102022/08/24-08:10:40   2. Windows Server Update Services 3.0 SP2 (KB972455)   Severity: Unknown
20102022/08/24-08:10:40   UpdateClassification - Service Packs  Product - Windows 10 7
20102022/08/24-08:10:40   3. French Language Pack - Windows 10 7 (KB972813)   Severity: Unknown
20102022/08/24-08:10:40   UpdateClassification - Updates  Product - Windows 710  Language Packs

This option is obviously very useful when testing and debugging WuInstall scripts or when running WuInstall with a scheduled job or on remote machines.

...

Resulting logfile name is: 20182022-05-28_09_43_45_WuInstallLog.txt

...

The option /logfile_append is similar to /logfile, with the difference that the entries are appended at the end of the specified file, instead of creating a new file.

There are also additional filename variables.

/log_as_ansi

This option creates a ANSI-logfile. It must be combined with /logfile or /log_append.

There are also additional filename variables.

/maxruntime minutes

This option starts a timer with the specified number of minutes at the start of WuInstall and exits WuInstall (if it is not finished before the timer expires) with exit code 12. It exits at any case, no matter how far the execution of WuInstall is.

...

Code Block
languagetext
themeEmacs
 /offline specified, searching offline...

Searching for updates ... Criteria: IsInstalled=1
Result Code: Succeeded

96 Updates found in total, filtering ...
Listing those matching search expression:  'KB982214'

1. Security Update for Windows 710 (KB982214)
 Severity: Important
 UpdateClassification - Security Updates
 Product - Windows 710 

When not using IsInstalled=1, the search result list usually contains the updates found at the last online search.

...

Writes an XML report to the specified file. This file contains additional information about the machine.

There are also additional filename variables.


Code Block
languagexml
themeEmacs
 <?xml version="1.0" encoding="UTF-8"?>
<wuinstall runtime_seconds="10" runtime="0d 00:00:10">
        <system-info>
                <wuinstall-version>WuInstall Version 2.0 Pro (codename AE), Build 20142022-02-03</wuinstall-version>
                <windows>
                        <version>Microsoft Windows [Version 6.2.9200]</version>
                        <service-pack>No Service Pack installed!</service-pack>
                        <windows-update-agent>
                                <major-version>8</major-version>
                                <minor-version>0</minor-version>
                                <product-version>7.9.9600.16384</product-version>
                        </windows-update-agent>
                        <domain>WORKGROUP</domain>
                        <username>Michael</username>
                        <computername>MICHAEL-PC</computername>
                </windows>
                <processor-architecture>x86</processor-architecture>
                <WOW64>true</WOW64>
        </system-info>
        <wsus></wsus>
        <parameters>/search /xmlout c:\tmp\wuinstall.xml</parameters>
        <updates count="1">
        <update>
                <title>Definition Update for Windows Defender - KB2267602 (Definition 1.173.1428.0)</title>
                <description>Install
 this update to revise the definition files that are used to detect 
viruses, spyware, and other potentially unwanted software. Once you have
 installed this item, it cannot be removed.</description>
                <download_priority>Normal</download_priority>
                <eula_accepted>true</eula_accepted>
                <identity>4f25e1f8-186e-4d0b-b18c-6dab7c081c09</identity>
                <is_beta>false</is_beta>
                <is_downloaded>false</is_downloaded>
                <is_hidden>false</is_hidden>
                <is_installed>false</is_installed>
                <is_mandatory>false</is_mandatory>
                <is_present>true</is_present>
                <is_uninstallable>false</is_uninstallable>
                <kb_article_ids>
                        <kb_article_id>2267602</kb_article_id>
                </kb_article_ids>
                <last_deployment_change_time>2014time>2022-05-06</last_deployment_change_time>
                <max_download_size>127745424</max_download_size>
                <min_download_size>0</min_download_size>
                <msrc_severity></msrc_severity>
                <recommended_cpu_speed>0</recommended_cpu_speed>
                <recommended_hard_disk_space>0</recommended_hard_disk_space>
                <recommended_memory>0</recommended_memory>
                <support_url>http://go.microsoft.com/fwlink/?LinkId=52661</support_url>
                <update_type>Software</update_type>
                <categories>
                <category>
                <id>e0789628-ce08-4437-be74-2495b842f43b</id>
                <description>A
 broadly-released and frequent software update containing additions to a
 product's definition database. Definition databases are often used to 
detect objects with specific attributes, such as malicious code, 
phishing Web sites, or junk e-mail.</description>
                <name>Definition Updates</name>
                <order>-1</order>
                <type>UpdateClassification</type>
                </category>
                <category>
                <id>8c3fcc84-7410-4a95-8b89-a166a0190486</id>
                <description>Windows
 Defender helps protect your computer against pop-ups, slow performance,
 and security threats caused by spyware and other unwanted 
software.</description>
                <name>Windows Defender</name>
                <order>-1</order>
                <type>Product</type>
                </category>
                </categories>
                <download_result_code>NotStarted</download_result_code>
                <download_hresult></download_hresult>
                <download_hresult_text></download_hresult_text>
                <installation_result_code>NotStarted</installation_result_code>
                <installation_hresult></installation_hresult>
                <installation_hresult_text></installation_hresult_text>
                <reboot_required>false</reboot_required>
        </update>
        </updates>
        <result>
                <search_result>Succeeded</search_result>
                <return_code>0</return_code>
                <return_text></return_text>
                <reboot_required>false</reboot_required>
        </result>
</wuinstall>

...

For the installation output the /show_progress45613061 have to be used additionally.

...