View Full Version : Deploy WUAU22.MSI


Peter
02-26-2004, 03:30 PM
I have SUS running on our network and I have to make the
changes manually to the registry. I have also got to
install the WUAU22.MSI client tool if running SP2 or
earlier. I've tried doing WUAU22.MSI /? to see if there
is any options to run in quite mode via the login script
but doesnt look like there is any.

Does anybody know how to install the SUS client via the
login script in quite mode?

Thanks

Peter

Torgeir Bakken (MVP)
02-26-2004, 08:09 PM
Peter wrote:

> I have SUS running on our network and I have to make the
> changes manually to the registry. I have also got to
> install the WUAU22.MSI client tool if running SP2 or
> earlier. I've tried doing WUAU22.MSI /? to see if there
> is any options to run in quite mode via the login script
> but doesnt look like there is any.
>
> Does anybody know how to install the SUS client via the
> login script in quite mode?

Hi

msiexec.exe /i WUAU22.msi /q REBOOT=Suppress

Windows Installer Command Line Options
http://msdn.microsoft.com/library/en-us/msi/setup/command_line_options.asp

I usually use this to get a unattended install with a progress bar
/qb-

If you have Windows Installer 2.0 installed, you can remove the Cancel button
by adding a !, like this:
/qb-!

A completely silent uninstallation (no UI at all, no progress bar etc.):
/q as well as /qn


To avoid reinstalling the client at every logon, you can test e.g. for the
existence of wuauserv.dll, wuaueng.dll or wuauclt.exe, from a bat/cmd file:

if not exist %SystemRoot%\system32\wuauserv.dll msiexec.exe ...

NB!
This test would only work on Win2k SP2 and below and not WinXP. These
files will already exist on WinXP Gold (no SP), but not in the correct
version to run AU with SUS.

If you have WinXP with no SP installed, you need to e.g. test for the
version number on those files.


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter

Torgeir Bakken (MVP)
02-26-2004, 08:09 PM
Peter wrote:

> I have SUS running on our network and I have to make the
> changes manually to the registry. I have also got to
> install the WUAU22.MSI client tool if running SP2 or
> earlier. I've tried doing WUAU22.MSI /? to see if there
> is any options to run in quite mode via the login script
> but doesnt look like there is any.
>
> Does anybody know how to install the SUS client via the
> login script in quite mode?

Hi

msiexec.exe /i WUAU22.msi /q REBOOT=Suppress

Windows Installer Command Line Options
http://msdn.microsoft.com/library/en-us/msi/setup/command_line_options.asp

I usually use this to get a unattended install with a progress bar
/qb-

If you have Windows Installer 2.0 installed, you can remove the Cancel button
by adding a !, like this:
/qb-!

A completely silent uninstallation (no UI at all, no progress bar etc.):
/q as well as /qn


To avoid reinstalling the client at every logon, you can test e.g. for the
existence of wuauserv.dll, wuaueng.dll or wuauclt.exe, from a bat/cmd file:

if not exist %SystemRoot%\system32\wuauserv.dll msiexec.exe ...

NB!
This test would only work on Win2k SP2 and below and not WinXP. These
files will already exist on WinXP Gold (no SP), but not in the correct
version to run AU with SUS.

If you have WinXP with no SP installed, you need to e.g. test for the
version number on those files.


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter

Peter
02-26-2004, 08:25 PM
>-----Original Message-----
>Peter wrote:
>
>> I have SUS running on our network and I have to make
the
>> changes manually to the registry. I have also got to
>> install the WUAU22.MSI client tool if running SP2 or
>> earlier. I've tried doing WUAU22.MSI /? to see if
there
>> is any options to run in quite mode via the login
script
>> but doesnt look like there is any.
>>
>> Does anybody know how to install the SUS client via the
>> login script in quite mode?
>
>Hi
>
>msiexec.exe /i WUAU22.msi /q REBOOT=Suppress
>
>Windows Installer Command Line Options
>http://msdn.microsoft.com/library/en-
us/msi/setup/command_line_options.asp
>
>I usually use this to get a unattended install with a
progress bar
> /qb-
>
>If you have Windows Installer 2.0 installed, you can
remove the Cancel button
>by adding a !, like this:
> /qb-!
>
>A completely silent uninstallation (no UI at all, no
progress bar etc.):
> /q as well as /qn
>
>
>To avoid reinstalling the client at every logon, you can
test e.g. for the
>existence of wuauserv.dll, wuaueng.dll or wuauclt.exe,
from a bat/cmd file:
>
>if not exist %SystemRoot%\system32\wuauserv.dll
msiexec.exe ...
>
>NB!
>This test would only work on Win2k SP2 and below and not
WinXP. These
>files will already exist on WinXP Gold (no SP), but not
in the correct
>version to run AU with SUS.
>
>If you have WinXP with no SP installed, you need to e.g.
test for the
>version number on those files.
>
>
>--
>torgeir
>Microsoft MVP Scripting and WMI, Porsgrunn Norway
>Administration scripting examples and an ONLINE version
of the 1328 page
>Scripting Guide:
http://www.microsoft.com/technet/scriptcenter
>
>
>.
>Thanks for the information and link.

Peter

Peter
02-26-2004, 08:25 PM
>-----Original Message-----
>Peter wrote:
>
>> I have SUS running on our network and I have to make
the
>> changes manually to the registry. I have also got to
>> install the WUAU22.MSI client tool if running SP2 or
>> earlier. I've tried doing WUAU22.MSI /? to see if
there
>> is any options to run in quite mode via the login
script
>> but doesnt look like there is any.
>>
>> Does anybody know how to install the SUS client via the
>> login script in quite mode?
>
>Hi
>
>msiexec.exe /i WUAU22.msi /q REBOOT=Suppress
>
>Windows Installer Command Line Options
>http://msdn.microsoft.com/library/en-
us/msi/setup/command_line_options.asp
>
>I usually use this to get a unattended install with a
progress bar
> /qb-
>
>If you have Windows Installer 2.0 installed, you can
remove the Cancel button
>by adding a !, like this:
> /qb-!
>
>A completely silent uninstallation (no UI at all, no
progress bar etc.):
> /q as well as /qn
>
>
>To avoid reinstalling the client at every logon, you can
test e.g. for the
>existence of wuauserv.dll, wuaueng.dll or wuauclt.exe,
from a bat/cmd file:
>
>if not exist %SystemRoot%\system32\wuauserv.dll
msiexec.exe ...
>
>NB!
>This test would only work on Win2k SP2 and below and not
WinXP. These
>files will already exist on WinXP Gold (no SP), but not
in the correct
>version to run AU with SUS.
>
>If you have WinXP with no SP installed, you need to e.g.
test for the
>version number on those files.
>
>
>--
>torgeir
>Microsoft MVP Scripting and WMI, Porsgrunn Norway
>Administration scripting examples and an ONLINE version
of the 1328 page
>Scripting Guide:
http://www.microsoft.com/technet/scriptcenter
>
>
>.
>Thanks for the information and link.

Peter