Jump to content

new hotfixes.cmd


Recommended Posts

i could make a bootable xp-cd work with that svcpack-method!

it's really pretty cool and much faster than adding the "Q"-files by a batch script.

the only thing that didn't work was adding any KB-files to that whole svcpack installation method. since microsoft only mentions "Q" files in that manual (see link above), it's seems not to be intended to work with KB-files...

Leave the microsoft guide alone. it doesn't make any difference. See mine :

svcpack.inf

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

[SetupData]
CatalogSubDir="\i386\svcpack"

[ProductCatalogsToInstall]
Q322011.cat
Q323255.cat
Q327979.cat
Q328310.cat
Q329048.cat
Q329115.cat
Q329170.cat
Q329256.cat
Q329390.cat
Q329441.cat
Q329692.cat
Q329834.cat
Q330512.cat
Q331953.cat
Q810032.cat
Q810243.cat
Q810565.cat
Q810577.cat
Q810833.cat
Q811114.cat
Q811493.cat
Q811630.cat
Q812035.cat
Q812415.cat
Q814033.cat
Q814995.cat
Q815021.cat
Q815485.cat
Q817287.cat
Q817606.cat
kb282010.cat
kb820128.cat
kb820291.cat
kb821253.cat
kb821557.cat
kb821581.cat
kb822603.cat
kb823559.cat
kb823980.cat

[SetupHotfixesToRun]
Q322011.exe -q -n -z
Q323255.exe -q -n -z
Q327979.exe -q -n -z
Q328310.exe -q -n -z
Q329048.exe -q -n -z
Q329115.exe -q -n -z
Q329170.exe -q -n -z
Q329256.exe -q -n -z
Q329390.exe -q -n -z
Q329441.exe -q -n -z
Q329692.exe -q -n -z
Q329834.exe -q -n -z
Q330512.exe -q -n -z
Q331953.exe -q -n -z
Q810032.exe -q -n -z
Q810243.exe -q -n -z
Q810565.exe -q -n -z
Q810577.exe -q -n -z
Q810833.exe -q -n -z
Q811114.exe -q -n -z
Q811493.exe -q -n -z
Q811630.exe -q -n -z
Q812035.exe -q -n -z
Q812415.exe -q -n -z
Q814033.exe -q -n -z
Q814995.exe -q -n -z
Q815021.exe -q -n -z
Q815485.exe -q -n -z
Q817287.exe -q -n -z
Q817606.exe -q -n -z
kb282010.exe -q -n -z
kb820128.exe -q -n -z
kb820291.exe -q -n -z
kb821253.exe -q -n -z
kb821557.exe -q -n -z
kb821581.exe -q -n -z
kb822603.exe -q -n -z
kb823559.exe -q -n -z
kb823980.exe -q -n -z
js56nen.exe /q:a /r:n
q822925.exe /q:a /r:n
q330994.exe /q:a /r:n

Link to comment
Share on other sites


I don't think i'll go through this... first i thought "hmm maybe this is really more stable and stuff", but i tried the traditional method - hotfix.cmd - on a Celeron 300A with 96 MB RAM at 66 MHz FSB, and what can i say, it worked fine! So what is the big advantage of the new method? I mean, the end result counts...?

Link to comment
Share on other sites

Ive tried on this latest scvpack stuff and it works fine for teh older service packs but not th newer ones. I have changed the sysntax of the file to get them to extract but it still dose not work here goes anybody got any ideas on this.

@echo off
setlocal enableextensions

:: check if hotfix file exists
if not exist 1\*.exe goto _end

:: delete any files in extract folder
if exist 4\* del /s /q 4\*

:: extract hotfix to extract folder
for /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do echo 1\%%~ni.exe /q /x:4 >> 1$x$.cmd
call 1$x$.cmd
:: del $x$.cmd

:: extract hotfix to extract folder thisis for newer style hot fixes
for /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do echo 2\%%~ni.exe /Q /C /T:4 >> 2$x$.cmd
call 2$x$.cmd
:: del $x$.cmd

:: extract hotfix to extract folder thisis for newer style hot fixes
for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo 3\%%~ni.exe /Q /C /T:4 >> 3$x$.cmd
call 3$x$.cmd
:: del $x$.cmd

:: check extraction took place
if not exist 4\* goto _end

:: create svcpack folder in output folder
if not exist 5\svcpack md 5\SVCPACK

:: move hotfix to svcpack folder
copy /y 1\*.exe 5\svcpack
copy /y 2\*.exe 5\svcpack
copy /y 3\*.exe 5\svcpack

:: delete unwanted files from extract folder
for /f %%i in (files\hotkill.ini) do del /f /q /s 4\%%i
for /f %%i in (files\hotkill.ini) do del /f /q /s 4\sp2\%%i

:: move cat files to svcpack folder
for %%i in (4\update\*.cat 4\sp2\update\*.cat) do move /y %%i 5\svcpack

:: compress files and copy to output folder
bin\compress.exe -d -r -zx21 4\* 5
bin\compress.exe -d -r -zx21 4\sp2\* 5

rem create svcpack.inf file
echo [Version] > 5\svcpack.inf
echo Signature="$Windows NT$" >> 5\svcpack.inf
echo MajorVersion=5 >> 5\svcpack.inf
echo MinorVersion=1 >> 5\svcpack.inf
echo BuildNumber=2600 >> 5\svcpack.inf
echo. >> 3\svcpack.inf
echo [SetupData] >> 5\svcpack.inf
echo CatalogSubDir="\i386\svcpack" >> 5\svcpack.inf
echo. >> 3\svcpack.inf
echo [SetupHotfixesToRun] >> 5\svcpack.inf

for /f "usebackq delims==" %%i in (`dir /b 1\svcpack\*.exe`) do echo %%~ni.exe /n /q /u /z >> 5\svcpack.inf
for /f "usebackq delims==" %%i in (`dir /b 2\svcpack\*.exe`) do echo %%~ni.exe /Q:A /R:N >> 5\svcpack.inf
for /f "usebackq delims==" %%i in (`dir /b 3\svcpack\*.exe`) do echo %%~ni.exe /Q /C:"dahotfix /q /n >> 5\svcpack.inf
echo. >> 3\svcpack.inf
echo [ProductCatalogsToInstall] >> 3\svcpack.inf
for /f "usebackq delims==" %%i in (`dir /b 3\svcpack\*.cat`) do echo %%~ni.cat >> 3\svcpack.inf

:: compress svcpack.inf
bin\compress.exe -d -r -zx21 3\svcpack.inf
:: comment out the next line if you want to examing svcpack.inf afterwards.
:: del /q 3\svcpack.inf

:: copy winnt.sif to output folder
if exist files\winnt.sif xcopy /y files\winnt.sif 3

:: copy dosnet.inf to output folder
if exist files\dosnet.inf xcopy /y files\dosnet.inf 3

:: clean up
if exist 1\* del /s /q 1\*
if exist 2\* del /s /q 2\*
if exist 3\* del /s /q 3\*

goto _end

:_end

Link to comment
Share on other sites

Ive tried on this latest scvpack stuff and it works fine for teh older service packs but not th newer ones. I have changed the sysntax of the file to get them to extract but it still dose not work here goes anybody got any ideas on this.

I'm not good at batch scripts but by using -U -X:destdir you can extract any hotfix. For example : KB******.exe -U -X:C:\Temp

Link to comment
Share on other sites

@amirali_esh: i've tried it the way, you suggested... it actually doesn't work. windows doesn't report any error, but also won't update any files. it's easy to figure it out, if you check whether the IE cumulative patch has been installed, see whether "ntdll.dll" got a new version number (>1106), etc...

it only works, if you also add the altered files to "dosnet.inf" as suggested in that microsoft guide.

Link to comment
Share on other sites

here's a quick guideline for you guys to follow. Though it looks like the majority are well on your way with it. Some incredibly inventive scripting happening with some of you. Now if we can just use those powers for good :) but seriously

this is taken from my own cd.

there is no means to update the sp1 or driver cab, nor is one needed if the hotfix packs are delivered correctly.

DOSNET.INF {content}

[Version]

signature="$Windows NT$"

DriverVer=07/01/2001,5.1.2600.1106

[Directories]

d1 = \I386

d2 = \cmpnents\tabletpc\I386

d3 = \cmpnents\mediactr\I386

d4 = \cmpnents\netfx\I386

[OptionalSrcDirs]

\I386\SVCPACK

[Miscellaneous]

ProductType = 0

MinimumMemory = 67108864

DestinationPlatform = i386

ServicePack = 1.0

[unsupportedArchitectures]

halcbus.dll = %cbus2_mp%

halcbusm.dll = %cbusmc_mp%

halmca.dll = %mca_up%

halmpsm.dll = %mps_mca_mp%

halncr.dll = %ncr_mp%

missprocfeat = %missing_proc_feat%

SRVPACK.INF {contents}

[Version]

Signature="$Windows NT$"

BuildNumber=2600

MajorVersion=5

MinorVersion=1

[setupData]

CatalogSubDir="I386\SVCPACK"

[setupHotfixesToRun]

Q282010.EXE /Q /U /Z /N

Q322011.EXE /Q /U /Z /N

Q322069.EXE /Q /U /Z /N

Q323183.EXE /Q /U /Z /N

Q323255.EXE /Q /U /Z /N

Q327979.EXE /Q /U /Z /N

Q328310.EXE /Q /U /Z /N

Q329048.EXE /Q /U /Z /N

Q329115.EXE /Q /U /Z /N

Q329170.EXE /Q /U /Z /N

Q329256.EXE /Q /U /Z /N

Q329390.EXE /Q /U /Z /N

Q329441.EXE /Q /U /Z /N

Q329604.EXE /Q /U /Z /N

Q329623.EXE /Q /U /Z /N

Q329834.EXE /Q /U /Z /N

Q330994.EXE /Q:A /R:N

Q330512.EXE /Q /U /Z /N

Q330909.EXE /Q /U /Z /N

Q331953.EXE /Q /U /Z /N

Q331958.EXE /Q /U /Z /N

Q810032.EXE /Q /U /Z /N

Q810243.EXE /Q /U /Z /N

Q810272.EXE /Q /U /Z /N

Q810565.EXE /Q /U /Z /N

Q810577.EXE /Q /U /Z /N

Q810833.EXE /Q /U /Z /N

Q811114.EXE /Q /U /Z /N

Q811493.EXE /Q /U /Z /N

Q811630.EXE /Q /U /Z /N

Q812035.EXE /Q /U /Z /N

Q812415.EXE /Q /U /Z /N

Q814033.EXE /Q /U /Z /N

Q814995.EXE /Q /U /Z /N

Q815021.EXE /Q /U /Z /N

Q815485.EXE /Q /U /Z /N

Q816073.EXE /Q /U /Z /N

Q817287.EXE /Q /U /Z /N

Q817606.EXE /Q /U /Z /N

Q818043.EXE /Q /U /Z /N

Q818529.EXE /Q:A /R:N

Q819696.EXE /Q /U /Z /N

Q820128.EXE /Q /U /Z /N

Q820291.EXE /Q /U /Z /N

Q821253.EXE /Q /U /Z /N

Q821557.EXE /Q /U /Z /N

Q821581.EXE /Q /U /Z /N

Q822603.EXE /Q /U /Z /N

Q823559.EXE /Q /U /Z /N

Q823980.EXE /Q /U /Z /N

DX90AMDX.EXE /Q:A /R:N

VBS56NEN.EXE /Q:A /R:N

JS56NEN.EXE /Q:A /R:N

QCHAIN.EXE

DX9NTOPK.EXE

WMP9MM2.EXE

[ProductCatalogsToInstall]

Q817287.cat

kb282010.cat

kb815021.cat

kb819696.cat

kb820128.cat

kb820291.cat

kb821253.cat

kb821557.cat

kb821581.cat

kb822603.cat

kb823559.cat

kb823980.cat

q322011.cat

q323183.cat

q323255.cat

q327979.cat

q328310.cat

q329048.cat

q329115.cat

q329170.cat

q329256.cat

q329390.cat

q329441.cat

q329604.cat

q329623.cat

q329834.cat

q330512.cat

q330909.cat

q331953.cat

q331958.cat

q810032.cat

q810243.cat

q810272.cat

q810565.cat

q810577.cat

q810833.cat

q811114.cat

q811493.cat

q811630.cat

q812035.cat

q812415.cat

q814033.cat

q814995.cat

q815021.cat

q815485.cat

q816073.cat

q817606.cat

q818043.cat

q819696.cat

Q330994.cat

Q818529.cat

hotfix exe's go to SVCPACK dir

cat files go to SVCPACK dir

unpack of files to i386 is unnecessary - burn and install

Link to comment
Share on other sites

On a last note

the notes on adding the dlls and such from the hotfixes to the i386 are best practice scenarios. Not requisite.

So now I know! Wheee! I guess I might try it after all.

Perhaps a more complete guide on this is in order though.

So that DOSNET.INF file is all that needs updating?

What about the SVCPACK.IN_ file?

Link to comment
Share on other sites

for those of you that want to add "xp-antispy", get the zip-version put in in your install folder and add following to your batch:

echo Starte XP-AntiSpy 3.72
echo.
start /wait %systemdrive%\install\xp-antispy.exe" 0 1 2 3 4 5 6 7 8 9 10 11 12 14 16 17 18 19 20 21 22 23 24 25 26 27 30 31 32
echo.
echo 0 == Alexa Registry Eintrag entfernen
echo 1 == Lizenzen nicht automatisch erwerben
echo 2 == Identifikation des Players durch Internetsites nicht zulassen
echo 3 == Automatischen Codec-Download deaktivieren
echo 4 == Fehlerberichterstattung ausschalten
echo 5 == Fehlerberichterstattung auch nicht bei schwerwiegenden Fehlern
echo 6 == Keine geplanten Updates
echo 7 == Keine Überprüfung auf Updates
echo 8 == Integrierte Windows Authentifizierung deaktivieren
echo 9 == Dienst für Fehlerberichterstattung deaktivieren
echo 10 == Dienst für automatische Updates deaktivieren
echo 11 == Dienst zur Zeitsynchronisation deaktivieren
echo 12 == Dienst für den Taskplaner deaktivieren
echo 14 == MSMessenger: Nicht mit Windows starten
echo 15 == MSMessenger: Deinstallieren
echo 16 == MS Supportbenutzer entfernen
echo 17 == Regsvr32: Regwizc.dll
echo 18 == Regsvr32: licdll.dll
echo 19 == Explorer: Remotedesktopunterstützung ausschalten
echo 20 == RegDone auf 1 setzen
echo 21 == Internetzeit nicht automatisch synchronisieren
echo 22 == BalloonTips nicht mehr Anzeigen
echo 23 == Auslagerungsdatei beim Herunterfahren löschen
echo 24 == MS Messenger nicht mit Outlook Express starten
echo 25 == UPNP Service deaktivieren
echo 26 == Bandbreitenbeschränkung aufheben
echo 27 == OfficeXP: Keine Fehlerberichte senden
echo 28 == Fast shutdown aktivieren
echo 29 == Maximal mögliche Anzahl der gleichzeitigen Verbindungen zu einem http server auf 10 erhöhen
echo 30 == Eingebautes zip tool deaktivieren
echo 31 == Nachrichtendienst deaktivieren
echo 32 == Autovervollständigen für Webformulare deaktivieren
ECHO.

each number applies to an option within the tool...

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...