Jump to content

Unattended W2K QChain.exe Question


Recommended Posts

Hi,

as I'm not sure & couldn't find an answer in the forum, here's my question:

I install W2K unattended (included service pack 4) and run my hotfixes with RunOnceEx.Cmd:

cmdow @ /HID
@echo off

SET KEY= HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installiere Anwendungen und Updates" /f

REG ADD %KEY%\001 /VE /D "basierend auf Windows 2000 (Service Pack 4)" /f

REG ADD %KEY%\002 /VE /D "Installing Tweak Utilities" /f
REG ADD %KEY%\002 /V 1 /D "%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\INSTALL\Tweak\tweakui.inf" /f

REG ADD %KEY%\003 /VE /D "Autologon" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\AutoLogon.cmd" /f

REG ADD %KEY%\004 /VE /D "Hotfix KB814078 /Q (JAVASCRIPT 5.6)" /f
REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\hotfixes\js56nde.exe /Q" /f

REG ADD %KEY%\005 /VE /D "Internet Explorer 6 (Reboot necessary)" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\ie6\ie6setup.exe /Q" /f

REG ADD %KEY%\115 /VE /D "Windows Mediaplayer 9" /f
REG ADD %KEY%\115 /V 1 /D "%systemdrive%\install\WMP9\W2KM9.exe /Q:A /R:N" /f

REG ADD %KEY%\120 /VE /D "Hotfix KB823980 (Blaster)" /f
REG ADD %KEY%\120 /V 1 /D "%systemdrive%\install\hotfixes\KB823980.EXE -u -n -z" /f

REG ADD %KEY%\121 /VE /D "Hotfix KB835732 (Sasser)" /f
REG ADD %KEY%\121 /V 1 /D "%systemdrive%\install\hotfixes\KB835732.EXE -u -n -z" /f

REG ADD %KEY%\122 /VE /D "Hotfix KB837001 (Remote Zugriff)" /f
REG ADD %KEY%\122 /V 1 /D "%systemdrive%\install\hotfixes\KB837001.EXE -u -n -z" /f

REG ADD %KEY%\123 /VE /D "Hotfix KB828741 (Remote Zugriff)" /f
REG ADD %KEY%\123 /V 1 /D "%systemdrive%\install\hotfixes\KB828741.EXE -u -n -z" /f

REG ADD %KEY%\124 /VE /D "Hotfix KB828749 (Remote Zugriff)" /f
REG ADD %KEY%\124 /V 1 /D "%systemdrive%\install\hotfixes\KB828749.EXE -u -n -z" /f

REG ADD %KEY%\125 /VE /D "Hotfix KB828035 (Remote Zugriff)" /f
REG ADD %KEY%\125 /V 1 /D "%systemdrive%\install\hotfixes\KB828035.EXE -u -n -z" /f

REG ADD %KEY%\126 /VE /D "Hotfix KB825119 (Remote Zugriff)" /f
REG ADD %KEY%\126 /V 1 /D "%systemdrive%\install\hotfixes\KB825119.EXE -u -n -z" /f

REG ADD %KEY%\127 /VE /D "Hotfix KB823182 (Remote Zugriff)" /f
REG ADD %KEY%\127 /V 1 /D "%systemdrive%\install\hotfixes\KB823182.EXE -u -n -z" /f

REG ADD %KEY%\128 /VE /D "Hotfix KB826232 (Security)" /f
REG ADD %KEY%\128 /V 1 /D "%systemdrive%\install\hotfixes\KB826232.EXE -u -n -z" /f

REG ADD %KEY%\129 /VE /D "Hotfix KB824105 (Security)" /f
REG ADD %KEY%\129 /V 1 /D "%systemdrive%\install\hotfixes\KB824105.EXE -u -n -z" /f

REG ADD %KEY%\130 /VE /D "Hotfix KB823559 (Security)" /f
REG ADD %KEY%\130 /V 1 /D "%systemdrive%\install\hotfixes\KB823559.EXE -u -n -z" /f

REG ADD %KEY%\131 /VE /D "Hotfix KB329115 (Security)" /f
REG ADD %KEY%\131 /V 1 /D "%systemdrive%\install\hotfixes\KB329115.EXE -u -n -z" /f

REG ADD %KEY%\132 /VE /D "Hotfix Q832894 (IE6 Patch)" /f
rem REG ADD %KEY%\132 /V 1 /D "%systemdrive%\install\hotfixes\Q832894.exe /q:a /r:n" /f
REG ADD %KEY%\132 /V 1 /D "%systemdrive%\install\hotfixes\Q832894.exe /q /r:n" /f

REG ADD %KEY%\133 /VE /D "Hotfix Q831167 (IE6 Patch)" /f
REG ADD %KEY%\133 /V 1 /D "%systemdrive%\install\hotfixes\Q831167.exe /q /r:n" /f

REG ADD %KEY%\134 /VE /D "Hotfix Q837009 (OE6 Patch)" /f
REG ADD %KEY%\134 /V 1 /D "%systemdrive%\install\hotfixes\Q837009.exe /q /r:n" /f

REG ADD %KEY%\135 /VE /D "Hotfix KB819639 (Media-Player 9 Patch)" /f
REG ADD %KEY%\135 /V 1 /D "%systemdrive%\install\hotfixes\KB819639.exe /Q" /f

REG ADD %KEY%\136 /VE /D "Hotfix KB828026 (Media-Player 9 Patch)" /f
REG ADD %KEY%\136 /V 1 /D "%systemdrive%\install\hotfixes\KB828026.exe -u -n -z" /f

REG ADD %KEY%\300 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\300 /V 1 /D "%systemdrive%\install\AutoLogon.cmd" /f
REG ADD %KEY%\300 /V 2 /D "%systemdrive%\install\cleanup.cmd" /f
EXIT

Is it necessary to ADD Qchain.exe to my GuiRunOnce.cmd ?

The Guide at: http://www.unattended.msfn.org/xp/installhotfixes.htm says to finish svcpack.inf with qchain.exe, but didn't explain, if it's also necessary by using hotfixes.cmd or GuiRunOnce...

If I check my updates at the windows-update-homepage, all hotfixes seem to be installed correct!

BTW: Does anybody know, where I could get the "Windows Update Software", which has to be installed, before you can check online your software version, hotfixes...?

(I would like to include it to my unattended CD)

Thx for helping !

Link to comment
Share on other sites


you should always run qchain after installing multiple hotfixes.... i don't think it matters what operating system it is (2K/XP/2K3)....

qchain verifies that after reboot (when the hotfixes get applied) that only the latest versions of each file are uses (incase multiple updates do the same file)

go to microsoft.com and search for +qchain.exe +download and then check the "this article applies to..." section at the bottom to see what operating systems it is designed for

Link to comment
Share on other sites

[bM]Crusher:

Thx for your response & your help.....

I did read the article at microsoft.com, but was a little confused because of the Guide at: http://unattended.msfn.org/xp/installhotfixes.htm:

It mentions the important use of qchain.exe by installation with svcpack.inf:

[Version] 
Signature="$Windows NT$"
MajorVersion=5
MinorVersion=1
BuildNumber=2600

[SetupData]
CatalogSubDir="\i386\Update"

[ProductCatalogsToInstall]

[SetupHotfixesToRun]
Q330994.exe /Q:A /R:N
Q819696.exe /Q /O /N /Z
KB824146.exe /Q /O /N /Z
qchain.exe

but doesn't "seem" to be necessary by installation using hotfixes.cmd installed during RunOnce:

@echo off 
ECHO.
ECHO Installing Q817787 for Windows Media Player 8
start /wait %systemdrive%\install\hotfixes\Q817787.EXE /Q:A /R:N
ECHO.
ECHO Installing Q832483 Buffer overrun in an MDAC function could allow code execution
start /wait %systemdrive%\install\hotfixes\ENG_Q832483_MDAC_X86.EXE /C:"dahotfix.exe /q /n" /q
ECHO.
ECHO Installing Q817778 Advanced Networking Pack
start /wait %systemdrive%\install\hotfixes\Q817778.exe /Q /O /N /Z
EXIT

But obviously I'm the only one, who was a bit confused, because nobody asked this before in the forum..... :)

Link to comment
Share on other sites

XPCREATE does not correctly install the WININET updates without QCHAIN. This is in part due to the fact that an earlier update (Q831167) has a later file version than another IE update (Q832894).

Note these are both Type II updates, which, I believe, does not include QCHQIN functinality.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...