dansar Posted October 2, 2003 Posted October 2, 2003 Hello,I would like to update Windows XP using some kind of your script ? but right now I don’t want to slipstreaming CD installation, I just want to update an installation in once, instead of using each exe.Please, can you help me and explain how I can automate this global updating, by using some script.Thanks in advanceExcuse-me for my english
edg21 Posted October 2, 2003 Posted October 2, 2003 well.... you would ahve to slipstream SP1 or have SP1 slipstreamed into your isntallation, but after that you could just run this batch file...@echo offecho.echo Installing MS Hotfixes....This might take awhile...start /wait %systemdrive%\install\hotfix\js56nen.exe /Q:A /R:Nstart /wait %systemdrive%\install\hotfix\Q323255.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q328310.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q329048.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q329115.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q329170.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q329390.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q329441.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q329834.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\q330994.exe /Q:A /R:Nstart /wait %systemdrive%\install\hotfix\Q331953.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q810565.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q810577.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q810833.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q811493.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q811630.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q817287.EXE /Q:A /R:Nstart /wait %systemdrive%\install\hotfix\Q817606.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\q822925.EXE /Q:A /R:Nstart /wait %systemdrive%\install\hotfix\KB819639.exe /Q:A /R:Nstart /wait %systemdrive%\install\hotfix\KB821557.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\KB823559.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q814033.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q815021.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\Q823718.exe /C:"dahotfix.exe /q /n" /qstart /wait %systemdrive%\install\hotfix\KB824105.exe /Q /M /Zstart /wait %systemdrive%\install\hotfix\KB824146.exe /Q /M /Z
un4given1 Posted October 2, 2003 Posted October 2, 2003 here's how I do it... Create a directory called $OEM$\$1\hotfixes Create sub directories called IE and WIN Create sub directories beneath the WIN directory called 1 and 2 So, here is what you should have $OEM$\$1 HOTFIXES WIN 1 2 IE There are two different kinds of hotfixes for Windows and one for IE (the reason for the directory structure) One type of hotfix uses -u -q -z switches where as the other kind uses /q:a /r:n switches. Drop the first kind in the 1 directory and the second kind in the 2 directory. If you have trouble determining which is which you can launch it from a prompt with a /? switch to find out. Drop the corresponding IE hotfixes in the IE directory. Drop QCHAIN.EXE in the HOTFIXES directory. Create a batch file in the HOTFIXES directory called HOTFIXES.BAT with the following contents :START @ECHO OFF DIR /B c:\hotfixes\win\1\>>c:\hotfixes\win1.txt DIR /B c:\hotfixes\win\2\>>c:\hotfixes\win2.txt DIR /B c:\hotfixes\IE\>>c:\hotfixes\ie.txt FOR /f %%i IN (c:\hotfixes\win1.txt) DO ECHO %%i -u -q -z>>hotfixrun.bat FOR /f %%i IN (c:\hotfixes\win2.txt) DO ECHO %%i /q:a /r:n>>hotfixrun.bat FOR /f %%i IN (c:\hotfixes\ie.txt) DO ECHO %%i /q:a /r:n>>hotfixrun.bat ECHO qchain.exe>>hotfixrun.bat hotfixrun.bat RD /S/Q c:\hotfixes :END
dansar Posted October 5, 2003 Author Posted October 5, 2003 Thanks for yours answers, I have allready SP1. Many thanks again, i am going to try. Bye
dansar Posted October 5, 2003 Author Posted October 5, 2003 I forgot, where can i find QCHAIN.EXE ?Also, if I want to run yhis from the Hard drive, or from a CD, does it change something about the directories ?+ what about the WAIT parameter ?Thanks again
Aaron Posted October 5, 2003 Posted October 5, 2003 http://microsoft.com/downloads/details.asp...;displaylang=enIt's titled Windows 2000, but the information states:This update is also applicable to the following operating systems:Windows XP ProfessionalWindows XP Home Edition
gareththegod Posted October 5, 2003 Posted October 5, 2003 Ok this is what ive done (Taken me awhile)this runs from any thing.the easiest way to get all of these updates is to run windows up date on and xp box then while its installing copy the WUTemp folder to another localation eg desktop.then when you have these files make the following folders.hotfixes->critical->recemmended--->DirectX9b--->Journalsee here for making the directx9b folderyou will also need to extract all the files from journal.exe and put them in the journal folder.here are the scripts.recommended.cmd (this installs programs like dx9, media player 9, movie maker 2)setlocalset PATHTOFIXES=.\recommended%PATHTOFIXES%\dotnetfx.exe /Q:A /c:"install /q"%PATHTOFIXES%\Journal\Journal.msi /QB%PATHTOFIXES%\DirectX9b\dxsetup.exe /opk%PATHTOFIXES%\hu1002_pro.exe /Q:A /R:N%PATHTOFIXES%\MMSSETUP.EXE /Q:A /R:N%PATHTOFIXES%\q818529.exe /Q:A /R:N%PATHTOFIXES%\WindowsXP-KB817778-x86-ENU.exe /Z /Q%PATHTOFIXES%\WindowsXP-KB822603-x86-ENU /Z /Q%PATHTOFIXES%\Movie_Maker_v2_XP_setup.exe /Q:A /R:N%PATHTOFIXES%\MPSetupXP.exe /Q:A /R:Ncritical.cmd (this updates programs like windows media player 9. + all xp bugfixes)setlocalset PATHTOFIXES=.\critical%PATHTOFIXES%\Q322011_WXP.exe /Z /Q%PATHTOFIXES%\Q323255_X86_EN.exe /Z /Q%PATHTOFIXES%\Q327979_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\Q328310_WXP_SP2_en.exe /Z /Q%PATHTOFIXES%\Q329048_xp.exe /Z /Q%PATHTOFIXES%\Q329115_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\Q329170_WXP_SP2_EN.exe /Z /Q%PATHTOFIXES%\Q329390_WXP.exe /Z /Q%PATHTOFIXES%\Q329441_WXP_SP2_en.exe /Z /Q%PATHTOFIXES%\Q329834_WXP_SP2_x86.exe /Z /Q%PATHTOFIXES%\Q331953_WXP_en.exe /Z /Q%PATHTOFIXES%\Q810243_WXP_SP2.exe /Z /Q%PATHTOFIXES%\Q810565_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\Q810577_WXP_en.exe /Z /Q%PATHTOFIXES%\Q810833_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\Q811493_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\Q811630_WXP_SP2_EN.exe /Z /Q%PATHTOFIXES%\Q814033_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\Q814995_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\Q815021_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\Q815485_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\Q817606_WXP_SP2_x86_ENU.exe /Z /Q%PATHTOFIXES%\WindowsXP-KB282010-x86-ENU-express.EXE /Z /Q%PATHTOFIXES%\WindowsXP-KB820291-x86-ENU.exe /Z /Q%PATHTOFIXES%\WindowsXP-KB821253-x86-ENU.exe /Z /Q%PATHTOFIXES%\WindowsXP-KB821557-x86-ENU.exe /Z /Q%PATHTOFIXES%\WindowsXP-KB823559-x86-ENU.exe /Z /Q%PATHTOFIXES%\WindowsXP-KB823980-x86-ENU.exe /Z /Q%PATHTOFIXES%\WindowsXP-KB824105-x86-ENU.exe /Z /Q%PATHTOFIXES%\WindowsXP-KB824146-x86-ENU-express /Z /Q%PATHTOFIXES%\Q823718_MDAC_SecurityPatch.exe /C:"dahotfix.exe /q /n" /q%PATHTOFIXES%\q822925.exe /Q:A /R:N%PATHTOFIXES%\js56nen.exe /Q:A /R:N%PATHTOFIXES%\msjavwu.exe /Q:A /R:N%PATHTOFIXES%\q330994.exe /Q:A /R:N%PATHTOFIXES%\Q817287.EXE /Q:A /R:N%PATHTOFIXES%\WindowsMedia9-KB819639-x86-ENU.exe /Q:A /R:NI HAVEN'T added the lastest ie update yet.all.cmd (this will run the 2 batch files and restart after 10 seconds)call .\recommended\recommended.cmdcall .\critical\critical.cmdshutdown -r -t 10 -c "Restarting after installing the updates. THIS IS PART OF THE SCRIPT AND NOT A VIRUS."hope this helps
GoFrag Posted October 6, 2003 Posted October 6, 2003 hi!I have have the second Script modified to run.I had several Error Messages that can not be found any File.And a Error Message for the Q823718 Hotfix.This is a perfect Script to add new Hotfixes to them...to:START @ECHO OFF DIR /B %systemdrive%\install\hotfixes\win\1\>>%systemdrive%\install\hotfixes\win1.txt DIR /B %systemdrive%\install\hotfixes\win\2\>>%systemdrive%\install\hotfixes\win2.txtDIR /B %systemdrive%\install\hotfixes\win\3\>>%systemdrive%\install\hotfixes\win3.txt DIR /B %systemdrive%\install\hotfixes\IE\>>%systemdrive%\install\hotfixes\ie.txt FOR /f %%i IN (%systemdrive%\install\hotfixes\win1.txt) DO ECHO %%i -u -q -z>>hotfixrun.batFOR /f %%i IN (%systemdrive%\install\hotfixes\win2.txt) DO ECHO %%i q:a r:n>>hotfixrun.batFOR /f %%i IN (%systemdrive%\install\hotfixes\win3.txt) DO ECHO %%i /C:"dahotfix.exe /q /n" /q>>hotfixrun.batFOR /f %%i IN (%systemdrive%\install\hotfixes\ie.txt) DO ECHO %%i q:a r:n>>hotfixrun.batMove %systemdrive%\install\Hotfixes\win\1\*.* %systemdrive%\install\hotfixesMove %systemdrive%\install\Hotfixes\win\2\*.* %systemdrive%\install\hotfixesMove %systemdrive%\install\Hotfixes\win\3\*.* %systemdrive%\install\hotfixesMove %systemdrive%\install\Hotfixes\ie\*.* %systemdrive%\install\hotfixesECHO qchain.exe>>hotfixrun.bat hotfixrun.bat RD /S/Q c:\hotfixesENDGofragSorry about my bad english
GoFrag Posted October 6, 2003 Posted October 6, 2003 hi!I have an question to this script...How i change this script from add Q:A R:N to end to add Start /wait at the Start of the Line?This is useful to me, there i would be change the Installation CD´s for many types of computers and the Setup Programms in this Forum do not work for me, there i have partly an Installation over 3 - 9 CD´s and so i could simply add or remove the install Folders and the Batch files in the root Install Folder.Thanks for ReplysGoFrag
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now