A footnote to Nicholas' post. Some MS hotfixes are poorly executed. You
may need to extract some of these using the /X switch. Then you would run
Update after reworking them. If the hotfix produces a SP1 and SP2
directory, you need the SP2 files. Using KB824146 as an example, you want
to have the files in a directory. The Common files generally go into the
Update directory. My 824146 directory contains:
824146
- rpcrt4.dll
- ole32.dll
- rpcss.dll
- spmsg.dll
- spuninst.exe
- <824146\update>
- kb824146.cat
- update.inf
- update.ver
- update.exe
- spuninst.exe
- spcustom.dll
- spmsg.dll
- eula.txt
Note that I have spmsg.dll and spuninst.exe in both 824146 and 824146\update
directory. SOME of the hotfixes do not work unless the spuninst.exe is in
with the fixed files. It is a feature.
I run a script during my unattended installation
=====================
Set WshShell=WScript.CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
sCriticalSource = WshShell.ExpandEnvironmentStrings("%SystemDrive%") &
"\msupdate\critical\"
sRecommendedSource = WshShell.ExpandEnvironmentStrings("%SystemDrive%") &
"\msupdate\rcmded\"
' KB 824146 RPC Hotfix
sRun = "cmd /c " & sCriticalSource & "824146\update\update.exe -o -z -q"
nRtn = WshShell.Run(sRun, 1, True)
'
****************************************************************************
***
' QChain = verifies versions in case of conflict and remediates
'
****************************************************************************
***
sRun = "cmd /c " & WshShell.ExpandEnvironmentStrings("%SystemDrive%") &
"\msupdate\qchain.exe"
nRtn = WshShell.Run(sRun, 1, True)
========== end of vbs script ====================