Jump to content

Intergrating WUSA Updates into installation


Recommended Posts

Hi guys,

I wrote a small update script for my Vista installs. I have it part of the "auditUser" pass but for some reason the script is failing.

- <settings pass="auditUser">
- <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <RunSynchronous>
- <RunSynchronousCommand wcm:action="add">
- <Credentials>
<Password>*</Password>
<Username>Office</Username>
</Credentials>
<Path>cmd /C \\server\Software\Vista.bat</Path>
<Order>3</Order>
<Description>Installing applications</Description>
</RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Credentials>
<Password>*</Password>
<Username>Office</Username>
</Credentials>
<Path>cmd /C "\\server\Windows Vista\Updates\Run Patches.bat"</Path>
<Order>1</Order>
<Description>Installing updates</Description>
</RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Credentials>
<Password>*</Password>
<Username>Office</Username>
</Credentials>
<Path>cmd /C "\\server\Windows\Windows Vista\D946GZIS\Drivers.bat"</Path>
<Order>2</Order>
<Description>Installing drivers</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>

The BAT file for updates is:

@echo off
net use q: "\\server\windows\windows vista\updates"
q:

echo --------------------------------
echo Installing Windows Vista Updates
echo --------------------------------

echo * Installing Updates ...

REM Marker - January 2006
wusa Windows6.0-KB905866-v3-x86.msu /quiet /norestart
wusa Windows6.0-KB929427-x86.msu /quiet /norestart
wusa Windows6.0-KB929685-x86.msu /quiet /norestart
wusa Windows6.0-KB929735-x86.msu /quiet /norestart
wusa Windows6.0-KB930857-x86.msu /quiet /norestart
wusa Windows6.0-KB931573-x86.msu /quiet /norestart
wusa Windows6.0-KB928089-x86.msu /quiet /norestart
REM Marker - Feburary 2006

echo * Installing Malicious Removal Software Tools ...

REM Marker - January 2006
Windows-KB890830-V1.24.exe /Q
REM Marker - Feburary 2006

echo * Completed!

c:
net use q: /DELETE

When I reboot the system for admin interaction in audit mode the script runs fine. But doesn't run automatically in the unattended install? Any ideas?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...