Tuesday 4 August 2015

Servicing Windows XP (Old School Concepts)

REMEMBER THIS IS AN OLD POST FROM 2015 OF A SCRIPT FROM 2010!
 (use  the thread here  for more current information AND a COMPLETE Update Pack)


I did used to enjoy messing with windows xp, especially the bogus versions, digging to the core see what's missing and what not...  and over the years i built a lot of random scripts, used bits of code from all over the net, this kinda stuff is probably why i enjoyed OFP so much

The simple way is a Bat file in the same folder as the EXE's with this in

echo Installing XP SP3 updates...
for %%a in (*.exe) do (
start /wait %%a /quiet /norestart /nobackup )
pause

OR...


This other custom version checks your actually running it on XP, so if you ever wanted to identify between Vista, xp, windows 7 (even 8..   just add the ver8)  then checks for if its home or pro (so you can add pro stuff to homes system32)   It also sets the path of the files.

Clearly you could do so much more with this concept from the runOnce to the untended set-up

anyway here is one of the scripts i used to use when a mate blew a system :D
just like back in o.f.p hey slick.... i was in junior high d**head.....   lol

To think.. in notepad (using find & replace) would take mere seconds to turn this into an Source Integration script rather than its current os update concept.

Before you view the script idea below.. note we have uploaded a LOT of XP files under Downloads for ease of use and ease of updating in the future.. download these files  here

UPDATED NOTE:
I am aware people trying to use this concept of mine as i see them asking questions on varied forums that are clearly related to my script (you only need a youtube account to comment on a blogger blog)   its best to ask on my blog as i write the stuff i post, so who better to ask...

So in relation to one question posed about Qchain,  The update.exe in the more modern KB files does its own kinda qchain testing, so if your adapting this for systems whos CD keys limit the recovery partition install to SP1a only then the "qchain.exe" is kind of important for update files that begin with a Q,  It also related to early KB updates, but if your using this to update a system thats legally capable of SP3 then you can actually remove all the qchain references below, or REM it out while leaving it in place for histories sake.

The OEM section is also just a personal tweak that isn't important. For me the oem ini adds a last serviced date, or contact info for if a user faces issues. Its not mandatory and its just included so you can see a simple way of how it can be done.  You could script the bat to create the ini file with info rather than coping one across.

And yes, the addition of the DirectX WebUpdater installer was a great idea :)

This version Screen Dumps info so you know where and what its up to as it rolls along

NOTE: IF YOU PLAN TO USE AN IDEA LIKE THIS FROM THE   "Runonce"  OPTION
THEN YOU MUST REMOVE INTERNET EXPLORER FROM THE SCRIPT
OR YOU WILL FACE THE BRANDING ERROR AND ITS UPDATES WON'T GO IN

@TITLE The Wraith Windows Update System 1.0
@echo off
cls
echo.
echo.
ECHO The Wraith Windows Update System 1.0
COLOR 1f
echo.
echo.
ECHO Will Now Attempt To Test Windows Version
pause

@echo off

ver | find "2003" > nul
if %ERRORLEVEL% == 0 goto ver_2003

ver | find "XP" > nul
if %ERRORLEVEL% == 0 goto ver_xp

ver | find "2000" > nul
if %ERRORLEVEL% == 0 goto ver_2000

ver | find "NT" > nul
if %ERRORLEVEL% == 0 goto ver_nt

if not exist %SystemRoot%\system32\systeminfo.exe goto warnthenexit

systeminfo | find "OS Name" > %TEMP%\osname.txt
FOR /F "usebackq delims=: tokens=2" %%i IN (%TEMP%\osname.txt) DO set vers=%%i

echo %vers% | find "Windows 7" > nul
if %ERRORLEVEL% == 0 goto ver_7

echo %vers% | find "Windows Server 2008" > nul
if %ERRORLEVEL% == 0 goto ver_2008

echo %vers% | find "Windows Vista" > nul
if %ERRORLEVEL% == 0 goto ver_vista

goto warnthenexit

:ver_7
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows 7 (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_2008
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows Server 2008 (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_vista
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows Vista (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_2003
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows 2003 (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_xp
cls
echo.
echo.
COLOR 2f
goto INSTALLXPUPDATES

:ver_2000
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows 2000 (This Updater is for XP)
pause
goto NOVALIDOS1

:ver_nt
cls
echo.
echo.
COLOR 4f
echo You Are Running Windows NT (This Updater is for XP)
pause
goto NOVALIDOS1

:warnthenexit
cls
echo.
echo.
COLOR 4f
echo Machine Operating System Undetermined.
pause
goto NOVALIDOS2


:INSTALLXPUPDATES
cls
echo.
echo.
ECHO Windows XP Identified....
echo.
ECHO Checking For Windows Xp Home or Xp Pro-Corp

if not exist %SystemRoot%\system32\taskkill.exe goto :XPHOME
echo.
ECHO You Are Running Windows XP Professional Or Corporate
pause
goto MAKEFOLDER

:XPHOME
ECHO You Are Running Windows XP Home Edition
ECHO Installing Microsoft taskkill.exe
ECHO this file comes with Xp Pro and Corp Editions
ECHO Handy Extra for XP Home To Have
ECHO Placing taskkill.exe File In System32 Folder
copy %PATHTOFIXES%\taskkill.exe %systemroot%\system32\ /Y
ECHO DONE!
echo.


:MAKEFOLDER

COLOR 1f

ECHO Making A Folder In Your Root Dir

ECHO Called  WINDOWS_UPDATES

MKDIR %SystemDrive%\WINDOWS_UPDATES

ECHO Copying Update Files To Update Folder

copy *.bmp %SystemDrive%\WINDOWS_UPDATES
copy *.ini %SystemDrive%\WINDOWS_UPDATES
copy *.exe %SystemDrive%\WINDOWS_UPDATES

setlocal
set PATHTOFIXES=%SystemDrive%\WINDOWS_UPDATES
cls
echo.
echo.
@echo      ==================================================
@echo     [   The Wraith Windows XP Update System 1.0                                    ]
@echo     [   (c) https://pcrepairbootle.blogspot.com                                              ]
@echo     [   For Xp Home/Pro/Corp (32BITT)                                                      ]
@echo      ==================================================
echo.
echo This Installer System Will Upgrade/Update
echo Windows XP Home Pro and Corp 32BITT Editions
echo And Apply "ALL" The Required Security Updates
echo And The Required System Updates
echo.
echo Updates XP To January 2010
echo.
pause
echo.

cls

echo.
echo.
echo.
ECHO Are You Sure You Wish To Continue ?
pause
echo.

cls
echo.
ECHO Checking For Microsoft Update Chainer (QChain)
if not exist %SystemRoot%\system32\qchain.exe goto :QCHAIN
echo.
ECHO Microsoft (QChain) Already Installed
echo.

goto :QFETEST

:QCHAIN
ECHO Installing Microsoft QChain File Version Checker
ECHO this will assure only the newer files will be installed
ECHO Places qchain.exe File In System32 Folder
copy %PATHTOFIXES%\qchain.exe %systemroot%\system32\ /Y
ECHO DONE!
echo.

:QFETEST
ECHO Checking For Microsoft Update Verifyer (qfecheck)
if not exist %SystemRoot%\system32\qfecheck.exe goto :QFECHECK
echo.
ECHO Microsoft Update Verifyer (qfecheck) Already Installed
echo.
echo.

goto :INSTALLINSTALLER

:QFECHECK
ECHO Installing Microsoft Update Verifyer
ECHO this can be run manualy (after its installed)
ECHO from, start, run, then type "CMD"
ECHO then in the dos box, type "qfecheck"
ECHO it'll check all the updates and tell you if any
ECHO need re-installing, its best run after a reboot
ECHO Places qfecheck.exe File In System32 Folder
copy %PATHTOFIXES%\qfecheck.exe %systemroot%\system32\ /Y
ECHO DONE!
echo.


:INSTALLINSTALLER

if not exist %SystemRoot%\$hf_mig$\KB898461\update\KB898461.CAT goto :KB898461

goto :OEM

:KB898461

ECHO Update for Windows XP (KB898461)
ECHO This update installs a permanent exe for the Update Package Installer v6.1.22.4
%PATHTOFIXES%\WindowsXP-KB898461-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

:OEM
ECHO Copying OEM Suport Files....
ECHO when You right click on the My Computer ICON
ECHO and select Properties
ECHO You now have a Support Information Button
copy %PATHTOFIXES%\oemlogo.bmp %systemroot%\system32\ /Y
copy %PATHTOFIXES%\oeminfo.ini %systemroot%\system32\ /Y
ECHO DONE!
echo.

ECHO Prerequisites Now Met - Ready To Install Updates

pause

cls

echo.
echo.

ECHO Starting Installation For Updates Needed By XP SP3 and IE8
echo ===========================================================
echo.
echo.
echo High-priority Updates
echo.

ECHO Windows Genuine Advantage Notification (KB905474) newer agreement version
ECHO Installing WGAWindowsXP-KB905474-ENU-x86.exe (from 24 March 2009)
%PATHTOFIXES%\WGAWindowsXP-KB905474-ENU-x86.exe /passive /norestart
ECHO DONE!
echo.

ECHO Windows Malicious Software Removal Tool (KB890830)
ECHO Installing windows-kb890830-v3.4.exe (from 1 February 2010)
%PATHTOFIXES%\windows-kb890830-v3.4.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB952287)
ECHO Installing WindowsXP-KB952287-x86-ENU.exe (from 12 May 2008)
%PATHTOFIXES%\WindowsXP-KB952287-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Xp SP2 SP3 Flash Player (KB923789)
ECHO Installing WindowsXP-KB923789-x86-ENU.exe (from 13 May 2008
%PATHTOFIXES%\WindowsXP-KB923789-x86-ENU.exe /Q
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB950762)
ECHO Installing WindowsXP-KB950762-x86-ENU.exe (from 10 June 2008)
%PATHTOFIXES%\WindowsXP-KB950762-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB951376)
ECHO Installing WindowsXP-KB951376-v2-x86-ENU.exe (from 19 June 2008)
%PATHTOFIXES%\WindowsXP-KB951376-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB951748)
ECHO Installing WindowsXP-KB951748-x86-ENU.exe (from 7 July 2008)
%PATHTOFIXES%\WindowsXP-KB951748-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB946648)
ECHO Installing WindowsXP-KB946648-x86-ENU.exe (from 11 August 2008)
%PATHTOFIXES%\WindowsXP-KB946648-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB952954)
ECHO Installing WindowsXP-KB952954-x86-ENU.exe (from 11 August 2008)
%PATHTOFIXES%\WindowsXP-KB952954-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB950974)
ECHO Installing WindowsXP-KB950974-x86-ENU.exe (from 11 August 2008)
%PATHTOFIXES%\WindowsXP-KB950974-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Outlook Express for Windows XP (KB951066)
ECHO Installing WindowsXP-KB951066-x86-ENU.exe (from 11 August 2008)
%PATHTOFIXES%\WindowsXP-KB951066-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB951978)
ECHO Installing WindowsXP-KB951978-x86-ENU.exe (from 14 August 2008)
%PATHTOFIXES%\WindowsXP-KB951978-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB956803)
ECHO Installing WindowsXP-KB956803-x86-ENU.exe (from 13 October 2008)
%PATHTOFIXES%\WindowsXP-KB956803-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB955069)
ECHO Installing WindowsXP-KB955069-x86-ENU.exe (from 10 November 2008)
%PATHTOFIXES%\WindowsXP-KB955069-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB957097)
ECHO Installing WindowsXP-KB957097-x86-ENU.exe (from 10 November 2008)
%PATHTOFIXES%\WindowsXP-KB957097-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB958644)
ECHO Installing WindowsXP-KB958644-x86-ENU.exe (from 22 November 2008)
%PATHTOFIXES%\WindowsXP-KB958644-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB956802)
ECHO Installing WindowsXP-KB956802-x86-ENU.exe (from 9 December 2008)
%PATHTOFIXES%\WindowsXP-KB956802-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB954600)
ECHO Installing WindowsXP-KB954600-x86-ENU.exe (from 9 December 2008)
%PATHTOFIXES%\WindowsXP-KB954600-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB958687)
ECHO Installing WindowsXP-KB958687-x86-ENU.exe (from 8 January 2009)
%PATHTOFIXES%\WindowsXP-KB958687-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP Service Pack 3 (KB952069)
ECHO Installing WindowsXP-WindowsMedia-KB952069-v2-x86-ENU.exe (from 13 January 2009)
%PATHTOFIXES%\WindowsXP-WindowsMedia-KB952069-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP Microsoft XML Core Services 6.0 (KB954459)
ECHO Installing WindowsXP-KB954459-x86-ENU.exe (from 23 February 2009)
%PATHTOFIXES%\MSXMLCoreServices6.0WindowsXP-KB954459-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB967715)
ECHO Installing WindowsXP-KB967715-x86-ENU.exe (from 24 February 2009)
%PATHTOFIXES%\WindowsXP-KB967715-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB960225)
ECHO Installing WindowsXP-KB960225-x86-ENU.exe (from 8 March 2009)
%PATHTOFIXES%\WindowsXP-KB960225-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB938464)
ECHO Installing WindowsXP-KB938464-v2-x86-ENU.exe (from 10 March 2009)
%PATHTOFIXES%\WindowsXP-KB938464-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB923561)
ECHO Installing WindowsXP-KB923561-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB923561-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB956572)
ECHO Installing WindowsXP-KB956572-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB956572-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB952004)
ECHO Installing WindowsXP-KB952004-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB952004-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB960803)
ECHO Installing WindowsXP-KB960803-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB960803-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB959426)
ECHO Installing WindowsXP-KB959426-x86-ENU.exe (from 13 April 2009)
%PATHTOFIXES%\WindowsXP-KB959426-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB961501)
ECHO Installing WindowsXP-KB961501-x86-ENU.exe (from 8 May 2009)
%PATHTOFIXES%\WindowsXP-KB961501-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB970238)
ECHO Installing WindowsXP-KB970238-x86-ENU.exe (from 8 May 2009)
%PATHTOFIXES%\WindowsXP-KB970238-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB968537)
ECHO Installing WindowsXP-KB968537-x86-ENU.exe (from 8 June 2009)
%PATHTOFIXES%\WindowsXP-KB968537-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB971633)
ECHO Installing WindowsXP-KB971633-x86-ENU.exe (from 13 July 2009)
%PATHTOFIXES%\WindowsXP-KB971633-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Cumulative Security Update for ActiveX Killbits for Windows XP (KB973346)
ECHO Installing WindowsXP-KB973346-x86-ENU.exe (from 14 July 2009)
%PATHTOFIXES%\WindowsXP-KB973346-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Checking Wich Version Of Internet Explorer You Have
if not exist %SystemRoot%\ie8\iexplore.exe goto :KB968389

ECHO Cumulative Security Update for Internet Explorer 8 for Windows XP (KB972260)
ECHO Installing IE8-WindowsXP-KB972260-x86-ENU.exe (from 28 July 2009)
%PATHTOFIXES%\IE8-WindowsXP-KB972260-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

:KB968389
ECHO you have an older version of Internet Explorer
ECHO will update to IE8 further on
echo.

ECHO Update for Windows XP (KB968389)
ECHO Installing WindowsXP-KB968389-x86-ENU.exe (from 7 August 2009)
%PATHTOFIXES%\WindowsXP-KB968389-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB960859)
ECHO Installing WindowsXP-KB960859-x86-ENU.exe (from 7 August 2009)
%PATHTOFIXES%\WindowsXP-KB960859-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973815)
ECHO Installing WindowsXP-KB973815-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB973815-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB971557)
ECHO Installing WindowsXP-KB971557-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB971557-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973869)
ECHO Installing WindowsXP-KB973869-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB973869-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB956744)
ECHO Installing WindowsXP-KB956744-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB956744-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973354)
ECHO Installing WindowsXP-KB973354-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB973354-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973507)
ECHO Installing WindowsXP-KB973507-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB973507-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB971657)
ECHO Installing WindowsXP-KB971657-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-KB971657-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP Service Pack 3 (KB973540)
ECHO Installing WindowsXP-WindowsMedia-KB973540-x86-ENU.exe (from 10 August 2009)
%PATHTOFIXES%\WindowsXP-WindowsMedia-KB973540-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB961371)
ECHO Installing WindowsXP-KB961371-v2-x86-ENU.exe (from 11 August 2009)
%PATHTOFIXES%\WindowsXP-KB961371-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Checking Wich Version Of Microsoft Jscript You Have
if not exist %SystemRoot%\ie8\iexplore.exe goto :KB956844

ECHO Security Update for Jscript 5.8 for Windows XP IE8 (KB971961)
ECHO Installing IE8-WindowsXP-KB971961-JS5.8-x86-ENU.exe (from 7 September 2009)
%PATHTOFIXES%\IE8-WindowsXP-KB971961-JS5.8-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

:KB956844
ECHO you have an older browser than IE8
ECHO will update to Jscript 5.8 after IE 8 is installed

ECHO Security Update for Windows XP (KB956844)
ECHO Installing WindowsXP-KB956844-x86-ENU.exe (from 7 September 2009)
%PATHTOFIXES%\WindowsXP-KB956844-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Cumulative Security Update for ActiveX Killbits for Windows XP (KB973525)
ECHO Installing WindowsXP-KB973525-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\IE6ActiveXKillbitsWindowsXP-KB973525-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB975025)
ECHO Installing WindowsXP-KB975025-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB975025-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB974571)
ECHO Installing WindowsXP-KB974571-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB974571-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB974112)
ECHO Installing WindowsXP-KB974112-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB974112-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB971486)
ECHO Installing WindowsXP-KB971486-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB971486-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB958869)
ECHO Installing WindowsXP-KB958869-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB958869-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB969059)
ECHO Installing WindowsXP-KB969059-x86-ENU.exe (from 12 October 2009)
%PATHTOFIXES%\WindowsXP-KB969059-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB969947)
ECHO Installing WindowsXP-KB969947-x86-ENU.exe (from 9 November 2009)
%PATHTOFIXES%\WindowsXP-KB969947-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB976098)
ECHO Installing WindowsXP-KB976098-v2-x86-ENU.exe (from 16 November 2009)
%PATHTOFIXES%\WindowsXP-KB976098-v2-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB973687)
ECHO Installing WindowsXP-KB973687-x86-ENU.exe (from 23 November 2009)
%PATHTOFIXES%\WindowsXP-KB973687-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB955759)
ECHO Installing WindowsXP-KB955759-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB955759-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB973904)
ECHO Installing WindowsXP-KB973904-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB973904-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB974318)
ECHO Installing WindowsXP-KB974318-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB974318-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB974392)
ECHO Installing WindowsXP-KB974392-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB974392-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB970430)
ECHO Installing WindowsXP-KB970430-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB970430-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Update for Windows XP (KB971737)
ECHO Installing WindowsXP-KB971737-x86-ENU.exe (from 7 December 2009)
%PATHTOFIXES%\WindowsXP-KB971737-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Security Update for Windows XP (KB972270)
ECHO Installing WindowsXP-KB972270-x86-ENU.exe (from 11 January 2010)
%PATHTOFIXES%\WindowsXP-KB972270-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Checking Wich Version Of Internet Explorer You Have
if not exist %SystemRoot%\ie8\iexplore.exe goto :INSTALL_IE8

ECHO Cumulative Security Update for Internet Explorer 8 Windows XP (KB978207)
ECHO Installing IE8-WindowsXP-KB978207-x86-ENU.exe (from 20 January 2010)
%PATHTOFIXES%\IE8-WindowsXP-KB978207-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

echo.
echo.
goto :Optional_Updates

cls

:INSTALL_IE8

ECHO Installing Microsoft Windows Internet Explorer 8
echo ==================================================
ECHO Installing IE8-WindowsXP-x86-ENU.exe (from 19 March 2009)
%PATHTOFIXES%\IE8-WindowsXP-x86-ENU.exe /passive /quiet /update-no /norestart
ECHO DONE!
echo.

ECHO UPDATING!! Microsoft Windows Internet Explorer 8
echo ==================================================
ECHO Installing WindowsXP-KB971961-JS58-x86-ENU.exe (from 7 September 2009)
%PATHTOFIXES%\WindowsXP-KB971961-JS58-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.

ECHO Installing IE8-WindowsXP-KB978207-x86-ENU.exe (from 20 January 2010)
%PATHTOFIXES%\IE8-WindowsXP-KB978207-x86-ENU.exe /passive /norestart
ECHO DONE!
echo.


ECHO Removing!! Older Internet Explorer Back Up Files
echo ==================================================
RMDIR /Q /S %SystemRoot%\ie7
ECHO DONE!
echo.
RMDIR /Q /S %SystemRoot%\ie7updates
ECHO DONE!
echo.

:Optional_Updates

cls

echo.
echo.
ECHO Optional Software Updates

ECHO Update for Windows XP Windows Automation API library (KB971513)
ECHO Installing WindowsXP-KB971513-x86-ENU.exe (from 26 October 2009)
%PATHTOFIXES%\WindowsXP-KB971513-x86-ENU.exe /passive /norestart
ECHO DONE!

ECHO Update for Root Certificates [November 2009] (KB931125)
ECHO Installing rootsupdNOV2009.exe (from 23 November 2009)
%PATHTOFIXES%\rootsupdNOV2009.exe /Q
ECHO DONE!

:MAKEFOLDER2

ECHO Making A Folder In Your Program Files
ECHO Called  DirectXUpdater

MKDIR %PROGRAMFILES%\DirectXUpdater

ECHO Copying DirectX Updater Files To Update Folder

copy *.* %SystemDrive%\WINDOWS_UPDATES\DirectXUpdater\*.* %PROGRAMFILES%\DIRECT~1

cls

COLOR 4f

echo.
echo.
echo.
ECHO Running Microsoft Q-Chain
%windir%\system32\qchain.exe
echo.
ECHO Please Wait and DONT skip this
ECHO qchain makes sure all the DLL files
ECHO are only updated and NOT replaced with older files
echo.
echo.

ECHO Removing Updates Folder
RMDIR /Q /S %SystemDrive%\WINDOWS_UPDATES

ECHO Restarting Computer

%windir%\system32\shutdown.exe -r -t 30 -f -c "Updates Are Installed, After Reboot, Run WindowsXPUpdateCleaner.BAT to Remove the Update Uninstallers and KB Update Logs"

EXIT

:NOVALIDOS1
ECHO.
ECHO this updater file is for Windows XP
ECHO XP Home and XP Pro and XP Corp
ECHO Contact Me About An Updated Updater For Your OS
ECHO press any key to exit
pause

:NOVALIDOS2
ECHO.
ECHO Operating System Unidentified
ECHO are you using windows or linux or something else?
ECHO.
ECHO press any key to exit
pause

:EXIT
exit


No comments:

Post a Comment

Please keep comments clean... and on topic