MSFN Forum: Intergrating WUSA Updates into installation - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Intergrating WUSA Updates into installation Rate Topic: -----

#1 User is offline   colabus 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 30-January 07

Posted 06 February 2007 - 05:44 PM

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?


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy