kpu Posted November 22, 2005 Share Posted November 22, 2005 I know there are tons of tools that do Windows updates. I just created a very basic one that reads an ini file that specifies the location of them and runs each one with "/passive /norestart" at the end. Does anyone know of a script that can download all the updates pertaning to Windows XP Pro? I've found a VB script on MS that is suppose to download them and run the udpates but of course now I can't find it.. Any help would greatly be appreciated! Here's the code if anyone is interested as well. Nothing special of course. $updatelocation = iniRead("UpdateTool.ini","CONFIG","updatelocation","") $search = FileFindFirstFile($updatelocation & "*.exe") If $search = -1 Then MsgBox(0, "Error", "No files/directories matched the search pattern") Exit EndIf While 1 $file = FileFindNextFile($search) If @error Then ExitLoop ;MsgBox(4096, "File:", $file) TrayTip("Installing", $file,5,1) RunWait(@ComSpec & " /c " & $file & " /passive /norestart","",@SW_HIDE) WEnd FileClose($search) http://www.kpunderground.com Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now