infotime Posted April 3, 2005 Share Posted April 3, 2005 I'm trying to find an easy way to add all the post-SP2 fixes to ANY previously install Windows XP that has just had the XP SP2 update installed. Could I just use a simple batch file like this one:start /wait Windows-KB890830-V1.2-ENU.exe /q /n /zstart /wait WindowsXP-KB867282-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB873333-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB873339-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB885250-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB885626-v2-x86-enu.exe /q /n /zstart /wait WindowsXP-KB885835-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB885836-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB886185-x86-enu.exe /q /n /zstart /wait WindowsXP-KB887742-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB888113-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB888302-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB890047-X86-ENU.exe /q /n /zstart /wait WindowsXP-KB890175-x86-ENU.exe /q /n /zstart /wait WindowsXP-KB891781-x86-ENU.exe /q /n /zstart /wait gdidettool.exe /Q:A /R:NDoes the order of the hotfixes matter? Anything else I should know? Link to comment Share on other sites More sharing options...
tguy Posted April 3, 2005 Share Posted April 3, 2005 Running these hotfixes through a batch file will work fine except you need to download qchain.exe and run it after the last hotfix is installed.This will allow you to install the updates with a single reboot and insure that the appropriate registry entries and system updates are registered. Link to comment Share on other sites More sharing options...
infotime Posted April 3, 2005 Author Share Posted April 3, 2005 I see this is detailed in How to install multiple Windows updates or hotfixes with only one reboot.So, do I just make my last entry: qchain.exeAlso, do I have the right switches? I get different options when running a hotfix with /? What does the /q /n /z do? Link to comment Share on other sites More sharing options...
eirogge Posted April 3, 2005 Share Posted April 3, 2005 you can throw out this start /wait. if you add an exe-file to a batch-file it waits the execution time by default before starting the next entry.the switches are correct. qchain.exe is no longer needed, too.you can make it even simpler by using for-statements in the batchfile. example:for %%x in (%SystemDrive%\Install\Hotfix\Typ1\KB*.exe) do %%x /q /n /zfor %%x in (%SystemDrive%\Install\Hotfix\Typ2\KB*.exe) do %%x /Q:A /R:Nfor %%x in (%SystemDrive%\Install\Hotfix\Typ3\KB*.exe) do %%xpay attention that i always rename the hotfix files from something like "WindowsXP-KB867282-x86-ENU.exe" to "KB867282.exe" and the for-statements above only work with files beginning with "KB" - as you may have seen already Link to comment Share on other sites More sharing options...
infotime Posted April 3, 2005 Author Share Posted April 3, 2005 I'm a little confused on qchain.exe. One poster says I need it. Another says I don't? Link to comment Share on other sites More sharing options...
RyanVM Posted April 3, 2005 Share Posted April 3, 2005 You don't need qchain. It's been unnecessary for pretty much all hotfixes released within the last year or so. Certainly for all post-SP2 hotfixes. 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