Contents
Available in WuInstall Pro
For some updates, an EULA (End-User License Agreement) has to be accepted by the user. With the option /autoaccepteula, all EULAs are accepted automatically before installing.
So the update installation works without any user interaction, the process can be completely unattended.
This works only when WuInstall is called by an Administrator or a power user account.
Available in WuInstall Pro
This options logs the console output of WuInstall to the specified logfile (each output line also contains the current timestamp).
For example, to log all already installed downloads:
WUInstall.exe /search /criteria "IsInstalled=1" /logfile "c:\data\WuInstallLog.txt"
WuInstallLog.txt contains for example the following lines:
2010/08/24-08:10:37 Searching for updates ... Criteria: IsInstalled=1 2010/08/24-08:10:40 2010/08/24-08:10:40 Result Code: Succeeded 2010/08/24-08:10:40 50 Updates found in total, filtering ... 2010/08/24-08:10:40 1. German Language Pack - Windows 7 (KB972813) Severity: Unknown 2010/08/24-08:10:40 UpdateClassification - Updates Product - Windows 7 Language Packs 2010/08/24-08:10:40 2. Windows Server Update Services 3.0 SP2 (KB972455) Severity: Unknown 2010/08/24-08:10:40 UpdateClassification - Service Packs Product - Windows 7 2010/08/24-08:10:40 3. French Language Pack - Windows 7 (KB972813) Severity: Unknown 2010/08/24-08:10:40 UpdateClassification - Updates Product - Windows 7 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.
Available in WuInstall Pro
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.
Available in WuInstall Pro
This option starts a timer with the specified number of minutes at the start of WuInstall and exits WuInstall (if it is not finished until the timer expires) with exit code 12. It exits at any case, no matter how far the execution WuInstall is.
For example, with /maxruntime 5, WuInstall exits after 5 minutes displaying
Maxruntime timeout elapsed: 5, exiting process!
This option is intended for machines, where downloads take a lot of time or machines which hang for some reason, to avoid WuInstall from running endlessly long.
Use this option with caution, especially when using the /use_wsus or /bypass_wsus options!
Available in WuInstall Pro
With this option, WuInstall returns 0 for any success and 1 for any error, regardless of the reason.
Which means, if the return code would be 0, 2, 3, 5 or 10, WuInstall returns 0 and displays the message
Simple result specified, returning 0 for success!
In any other case (the remaining codes 1, 4, 6, 11, 12), WuInstall returns 1 and displays the message
Simple result specified, returning 1 for error!
Available in WuInstall Pro
This option shows the progress for the download of every single update and the installation of the updates, using asynchronous downloads / installation.
On some machines under certain circumstances, the /show_progress option might cause problems, so use it only when manually testing scripts or searching for problems on a single workstation. It is not advised to use it in automated scripts on different workstations.
This feature is not recommended for the productive use of WuInstall!
Available in WuInstall Pro
This options makes WuInstall NOT connecting to the WSUS Server or Microsoft Update site when searching updates, instead it searches offline.
This option is quite useful for searching already installed updates. The criteria "IsInstalled=1" and the /uninstall option automatically trigger an offline search.
For example, check if the Update KB982214 is installed on a machine:
WUInstall.exe /search /criteria "IsInstalled=1" /offline /match "KB982214"
/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 7 (KB982214) Severity: Important UpdateClassification - Security Updates Product - Windows 7 |
When not using IsInstalled=1, the search result list usually contains the updates found at the last online search.
Available in WuInstall Pro
The update-installer is forced to do an installation without user interaction.
Available in WuInstall Pro
Disable showing source prompts to a user when installing the updates.
Available in WuInstall Pro
Suppresses any console output (logfile option is still working).
Available in WuInstall Pro
WuInstall takes no action and returns the specified retcode, 0 by default.
Available in WuInstall Pro
Writes an XML report to the specified file. This file contains additional information about the machine.
<wuinstall> <system-info> <wuinstall-version>WuInstall Version 1.3.2 Pro, Build 2011-05-12</wuinstall-version> <windows> <version>Microsoft Windows [Version 6.1.7601]</version> <service-pack>Service Pack 1</service-pack> <windows-update-agent> <major-version>6</major-version> <minor-version>0</minor-version> <product-version>7.5.7601.17514</product-version> </windows-update-agent> <domain>HS2N</domain> <username>testuser</username> <computername>PC001</computername> </windows> <processor-architecture>x86</processor-architecture> <WOW64>false</WOW64> </system-info> <wsus>http://atvieadc01.hs2n.local:8530</wsus> <parameters>/search /xmlout c:\wuinstall.xml</parameters> <updates> <update> <title>Security Update for Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB2467175) </title> <description> A security issue has been identified leading to MFC application vulnerability in DLL planting due to MFC not specifying the full path to system/localization DLLs. You can protect your computer by installing this update from Microsoft. After you install this item, you may have to restart your computer. </description> <download_priority>Normal</download_priority> <eula_accepted>true</eula_accepted> <identity>3e5d82cd-de97-428c-ab60-aa22b048c083</identity> <is_beta>false</is_beta> <is_downloaded>false</is_downloaded> <is_hidden>true</is_hidden> <is_installed>false</is_installed> <is_mandatory>false</is_mandatory> <is_present>false</is_present> <is_uninstallable>false</is_uninstallable> <kb_article_ids> <kb_article_id>2467175</kb_article_id> </kb_article_ids> <last_deployment_change_time>2011-04-19</last_deployment_change_time> <max_download_size>2706328</max_download_size> <min_download_size>0</min_download_size> <msrc_severity>Important</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://support.microsoft.com</support_url> <update_type>Software</update_type> <categories> <category> <id>0fa1201d-4330-4fa8-8ae9-b877473b6441</id> <description> A broadly released fix for a product-specific security-related vulnerability. Security vulnerabilities are rated based on their severity which is indicated in the Microsoft?security bulletin as critical, important, moderate, or low. </description> <name>Security Updates</name> <order>-1</order> <type>UpdateClassification</type> </category> <category> <id>a0dd7e72-90ec-41e3-b370-c86a245cd44f</id> <description>Visual Studio 2005</description> <name>Visual Studio 2005</name> <order>-1</order> <type>Product</type> </category> </categories> <reboot_required>false</reboot_required> </update> </updates> <result> <return_code>0</return_code> <return_text></return_text> <reboot_required>false</reboot_required> </result> </wuinstall> |
Available in WuInstall Pro
Disables the winhttp Proxy. Therefore WuInstall deletes the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections. After execution WUInstall enableds the Proxy again.
Available in WuInstall Pro
Disables the internet Proxy, after executing WuInstall the winhttp Proxy is enabled again.
Available in WuInstall Pro
Includes recommended and optional updates.
Available in WuInstall Pro
Disables the internet explorer 8 set up dialog.
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation