Jump to content

How to do raid drivers and hotfixes correctly.


webmedic

Recommended Posts

hm those more or less look correct. I dont have time right now to check al lthe numbers but you did rename them correctly.

Do me a favor and show me the listing of what is in your 5/svcpack directory and also what is in your 5/svcpack.inf

also waht exact erros are you getting. If yu are getting popup windows asking if you want to overwrite files ten that is normal for the fixes in directory 2 and 3. For the others there should be no error.

Last for now you will want to leave out the mdac fix in directory 3 as I have not got that one figured out yet. If you figure it out please let me know.

Link to comment
Share on other sites


hm those more or less look correct. I dont have time right now to check al lthe numbers  but you did rename them correctly.

Do me a favor and show me the listing of what is in your 5/svcpack directory and also what is in your 5/svcpack.inf

also waht exact erros are you getting. If yu are getting popup windows asking if you want to overwrite files ten that is normal for the fixes in directory 2 and 3.  For the others there should be no error.

Last for now you will want to leave out the mdac fix in directory 3 as I have not got that one figured out yet.  If you figure it out please let me know.

I get 4 popup windows reporting errors:

Windows Script 5.6: That folder is invalid Please make sure the folder exists and is writable.

Windows Media Update 819639: That folder is invalid Please make sure the folder exists and is writable.

MS Internet Explorer Update: Please make sure the folder exists and is writable

MS Internet Explorer Update: Please make sure the folder exists and is writable

Now that I'm thinking about it, I can see why the 819639 won't install, I would have to have Windows Media Player 9 installed for that... so I will take that one out. But I'm still confused as to the other errors.

Directory of g:\unattended_files\hotfix.slipstream\prep\5\SVCPACK

09/04/2003  10:59 AM    <DIR>          .
09/04/2003  10:59 AM    <DIR>          ..
08/22/2003  05:08 PM           369,504 KB814078.exe
05/01/2003  05:03 PM               882 kb815021.cat
08/22/2003  01:24 PM         1,947,784 KB819639.exe
06/11/2003  02:33 PM             7,658 kb821557.cat
08/22/2003  01:24 PM         5,327,648 KB821557.exe
07/01/2003  10:22 PM             7,956 kb823559.cat
08/22/2003  05:07 PM           384,288 KB823559.exe
07/05/2003  12:27 PM             8,254 kb823980.cat
08/22/2003  05:07 PM         1,291,040 KB823980.exe
07/24/2003  05:29 PM             7,658 kb824105.cat
09/04/2003  03:12 AM           346,400 KB824105.exe
09/23/2002  02:45 PM             8,850 q323255.cat
08/22/2003  05:08 PM           714,000 Q323255.exe
11/22/2002  02:16 PM             8,544 q328310.cat
08/22/2003  05:06 PM         4,046,096 Q328310.exe
09/25/2002  03:43 PM             7,658 q329048.cat
08/22/2003  05:08 PM           381,288 Q329048.exe
09/23/2002  04:00 PM             7,658 q329115.cat
08/22/2003  05:05 PM           495,464 Q329115.exe
01/02/2003  05:26 PM             7,658 q329170.cat
08/22/2003  05:08 PM           494,352 Q329170.exe
09/30/2002  11:36 AM             7,658 q329390.cat
08/22/2003  05:05 PM           289,128 Q329390.exe
11/14/2002  01:12 PM             7,658 q329441.cat
08/22/2003  05:05 PM           424,720 Q329441.exe
10/02/2002  10:43 AM             7,656 q329834.cat
08/22/2003  05:05 PM           217,360 Q329834.exe
08/22/2003  01:22 PM         1,992,832 q330994.exe
11/08/2002  02:28 AM             7,658 q331953.cat
08/22/2003  05:08 PM           752,912 Q331953.exe
11/27/2002  02:13 PM            11,532 q810565.cat
08/22/2003  05:07 PM         5,550,440 Q810565.exe
11/18/2002  02:15 PM             7,658 q810577.cat
08/22/2003  05:07 PM           569,616 Q810577.exe
12/04/2002  09:35 AM             7,658 q810833.cat
08/22/2003  05:07 PM           388,456 Q810833.exe
04/24/2003  10:43 AM             8,606 q811493.cat
08/22/2003  01:27 PM         3,318,120 Q811493.exe
01/10/2003  03:50 PM             8,850 q811630.cat
08/22/2003  05:08 PM         1,380,624 Q811630.exe
01/31/2003  05:16 PM             7,658 q814033.cat
08/22/2003  05:05 PM           425,832 Q814033.exe
05/01/2003  05:09 PM             7,658 q815021.cat
08/22/2003  05:05 PM           537,360 Q815021.exe
03/31/2003  11:14 AM             7,658 q817606.cat
08/22/2003  05:08 PM           426,344 Q817606.exe
08/22/2003  01:21 PM         2,218,112 q822925.exe
             47 File(s)     34,460,404 bytes
              2 Dir(s)   5,195,333,632 bytes free

\5\SVCPACK.INF

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

[SetupData]
CatalogSubDir="\i386\svcpack"

[SetupHotfixesToRun]
KB821557.exe /n /q /u /z
KB823559.exe /n /q /u /z
KB823980.exe /n /q /u /z
KB824105.exe /n /q /u /z
Q323255.exe /n /q /u /z
Q328310.exe /n /q /u /z
Q329048.exe /n /q /u /z
Q329115.exe /n /q /u /z
Q329170.exe /n /q /u /z
Q329390.exe /n /q /u /z
Q329441.exe /n /q /u /z
Q329834.exe /n /q /u /z
Q331953.exe /n /q /u /z
Q810565.exe /n /q /u /z
Q810577.exe /n /q /u /z
Q810833.exe /n /q /u /z
Q811493.exe /n /q /u /z
Q811630.exe /n /q /u /z
Q814033.exe /n /q /u /z
Q815021.exe /n /q /u /z
Q817606.exe /n /q /u /z
KB814078.exe /Q:A /R:N
KB819639.exe /Q:A /R:N
q330994.exe /Q:A /R:N
q822925.exe /Q:A /R:N

[ProductCatalogsToInstall]
kb815021.cat
kb821557.cat
kb823559.cat
kb823980.cat
kb824105.cat
q323255.cat
q328310.cat
q329048.cat
q329115.cat
q329170.cat
q329390.cat
q329441.cat
q329834.cat
q331953.cat
q810565.cat
q810577.cat
q810833.cat
q811493.cat
q811630.cat
q814033.cat
q815021.cat
q817606.cat

Link to comment
Share on other sites

ok as for the jscript update it should be in the 2nd directory. The ie update it should be in the second directory also.

if you hae them in the first please move them to he second

here is my directory lising for 1

05/30/2003  11:50 PM         1,051,936 KB820291.exe
06/10/2003  12:05 AM           354,080 KB821253.exe
06/11/2003  11:17 PM         5,327,648 KB821557.exe
07/02/2003  05:42 AM           384,288 KB823559.exe
07/05/2003  08:18 PM         1,291,040 KB823980.exe
08/12/2003  09:42 AM           427,368 Q322011.exe
09/24/2002  01:50 AM           711,528 Q323255.exe
11/15/2002  12:17 AM           882,536 Q327979.exe
11/23/2002  01:02 AM         4,137,320 Q328310.exe
09/25/2002  11:46 PM           381,288 Q329048.exe
09/24/2002  01:24 AM           495,464 Q329115.exe
01/03/2003  08:48 PM           585,576 Q329170.exe
09/30/2002  07:55 PM           289,128 Q329390.exe
10/02/2002  08:59 PM           214,888 Q329834.exe
11/27/2002  11:41 PM         5,550,440 Q810565.exe
11/18/2002  11:49 PM           660,840 Q810577.exe
12/04/2002  06:32 PM           388,456 Q810833.exe
04/25/2003  06:06 AM         3,318,120 Q811493.exe
02/01/2003  02:00 AM           425,832 Q814033.exe
02/20/2003  02:18 AM         1,018,216 Q814995.exe
05/02/2003  06:43 PM           537,376 Q815021.exe
03/10/2003  11:18 PM           953,704 Q815485.exe
03/31/2003  07:42 PM           426,344 Q817606.exe

and 2

01/16/2003  11:47 PM           369,504 js56nen.exe
06/19/2003  06:00 PM         1,950,856 KB822964.exe
08/15/2003  08:18 AM         1,992,832 q330994.exe
08/15/2003  08:17 AM         2,064,512 q818529.exe
08/20/2003  02:07 PM         2,218,112 q822925.exe

Link to comment
Share on other sites

I had the same problem. Open do.cmd...in there is a reference to the second folder which as I recall was incorrect. I don't have the original file to compare and I've slept since then, but if you poke around in do.cmd you should find it.

Link to comment
Share on other sites

I had the same problem.  Open do.cmd...in there is a reference to the second folder which as I recall was incorrect.  I don't have the original file to compare and I've slept since then, but if you poke around in do.cmd you should find it.

Poking now.... could you please post a copy of the do.cmd that you edited?

ok well, now that I don't get any popup window errors, I get errors in the batch file... says it can't find a bunch of files... when the window popped up asking if I wanted to overwrite files.. I hit yes... and it's compressing as we speak.

Is the batch file supposed to spit out errors about not being able to find files?

Link to comment
Share on other sites

lol the error's are not for mising files but it wants to know if you want ot overwriute files. I think For the next version that I will fix this so that it will not do that anymore. For now just say yes to all. It want to know if you want to overwrite files and if you have renamed your patches correctly then it will not matter as the newer wones will be installed over the older ones.

If there is an error in the file I would like to see how you have fixed it but I can gurantee that it works as advertised like it is as long as you have your hotfixes sorted correctly in the directories they belong in.

Link to comment
Share on other sites

lol the error's are not for mising files but it wants to know if you want ot overwriute files. I think For the next version that I will fix this so that it will not do that anymore. For now just say yes to all. It want to know if you want to overwrite files and if you have renamed your patches correctly then it will not matter as the newer wones will be installed over the older ones.

If there is an error in the file I would like to see how you have fixed it but I can gurantee that it works as advertised like it is as long as you have your hotfixes sorted correctly in the directories they belong in.

I know the difference between overwriting & missing :rolleyes: The "missing" files were shown in the command prompt window, & I did tell it "YES TO ALL" in the popup that asked me :D but anyways I'm testing it now so we'll see :)

Link to comment
Share on other sites

Here is my do.cmd:

@echo off
setlocal enableextensions

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

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

:: 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 1$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 /T:D:\XPCD\prep\4 /C >> 2$x$.cmd
call 2$x$.cmd
del 2$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 /T:D:\XPCD\prep\4 /C >> 3$x$.cmd
call 3$x$.cmd
del 3$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\*.cat 4\update\*.cat 4\sp2\update\*.cat) do move /y %%i 5\svcpack

::NEW BIT::
xcopy /d /h /u /y 4\*.* files\sp1
xcopy /d /h /u /y 4\sp2\*.* files\sp1
bin\cabarc.exe N 5\sp1.cab files\sp1\*.*
::END::

:COMPRESS
:: 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. >> 5\svcpack.inf
echo [SetupData] >> 5\svcpack.inf
echo CatalogSubDir="\i386\svcpack" >> 5\svcpack.inf
echo. >> 5\svcpack.inf
echo [SetupHotfixesToRun] >> 5\svcpack.inf

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

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

:: copy new ssyem files to output folder
if exist files\sys\*.* xcopy /y files\sys\*.* 5

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

Keep in mind I haven't yet test webmedic's methods or my modification of it, but I didn't get any errors so I imagine it works. :)

Link to comment
Share on other sites

webmedic

I did not use wincdman... :)

will try the edited script above ...i also got the errore about folders not found.

Tbone2

Edit "D:\XPCD\prep\4" to match your setup in my case it was "G:\prep\4"

:: 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 /T:D:\XPCD\prep\4 /C >> 2$x$.cmd
call 2$x$.cmd
del 2$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 /T:D:\XPCD\prep\4 /C >> 3$x$.cmd

Link to comment
Share on other sites

oh man yea I forgot about htat one. That hotfix is really stinky about having the full path. There was no way around hard cideing it. Thanks for the find guys.

As for missing files. What is going on is that uneeded files are delted from each directory but some of them are not in each directory so you get fiels not found on the command prompt that is ok and will cause no problems.

Link to comment
Share on other sites

ok as far as the errors running do.cmd. that is corrected...thank webmedic...

But still blue screen on installl with same error:

Stop: C0000139 {Entry Point Not Found} THE PROCEDURE ENTRY POINT

WtsGetActiveColsolSessionID could not be located in the dynamic link library kernel32.dll

the Dos part works no problem..and no errors running do.cmd

just can not figure out what is the problem....

Tbone2

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