Aaron Posted September 14, 2003 Author Share Posted September 14, 2003 found the script in a download you provided at http://board.MSFN.org/index.php?showtopic=...=8341&st=60&hl= so I'm trying this out now Link to comment Share on other sites More sharing options...
GreenMachine Posted September 14, 2003 Share Posted September 14, 2003 Hey, waita minute. I said use WebMedics version! I don't wanna blow anything up! Well ... check the paths, or use the classic D:\XPCD\I386 structure. Good Luck! Link to comment Share on other sites More sharing options...
Aaron Posted September 14, 2003 Author Share Posted September 14, 2003 hmm I ran do.cmd when your XPSETUP folder was on the Desktop. Anyhow, Virtual PC is running so I'll see how it goes. Link to comment Share on other sites More sharing options...
Paul 365 Posted September 14, 2003 Share Posted September 14, 2003 Oh dear.Hands Aaron the icepack.I'll have a revised procedure for the rollup install to you in a little bitin the meantime, do not slipstream the files to i386 until I get that to you as they will blow the install out under uncontrolled conditions(some of the files mismatch out of the driver and sp1 cabs (known problem)Can you clarify this a little? Are you talking about the rollup fix or something else you and aaron are working on or are you refering to webmedics methods of installing the service packs that are available at this moment in time?I would hate to think we have been wasting our time doing it or even worse webmedics method dosnt get included in the write up because of a mix up.Thanks Link to comment Share on other sites More sharing options...
webmedic Posted September 14, 2003 Share Posted September 14, 2003 Oh man arron you are going about it the hard way today sorry i did not catch this a little sooner. Hold on a second and I'll make a download for you all. I'll do a new one wiht the latest version and all the dirs and little proggies I use to work it all together. give me about 30 minutes. Link to comment Share on other sites More sharing options...
Paul 365 Posted September 14, 2003 Share Posted September 14, 2003 Aaron move the prep folder to your root folder - it dosnt like spaces in namesHere is the latest do command i know of. please read the last few pages of the thread to learn what to do with the mdac fixCLS@echo off:: setlocal enableextensionsecho. > log.txt:: check if hotfix file existsif not exist 1\*.exe echo No hotfixes present. 2>&1 | bin\mtee/+ log.txtif not exist 1\*.exe echo Please add your hotfixes. 2>&1 | bin\mtee/+ log.txtif not exist 1\*.exe goto _end:: create folders Needed for setupecho. 2>&1 | bin\mtee/+ log.txtecho Creating directories and set up. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtSET PrepDir=if "%1" == "/prep" set PrepDir=%2IF DEFINED PrepDir goto :Make_Direcho using for to find dirFOR /F "delims=" %%i IN ('cd') DO SET PrepDir=%%i:Make_Direcho PrepDir = %PrepDir% 2>&1 | bin\mtee/+ log.txtif not exist 4 md 4 2>&1 | bin\mtee/+ log.txtif not exist 5 md 5 2>&1 | bin\mtee/+ log.txtif not exist 5\svcpack md 5\SVCPACK 2>&1 | bin\mtee/+ log.txtif not exist tmp md tmp 2>&1 | bin\mtee/+ log.txt:: delete any files in extract and final folderecho. 2>&1 | bin\mtee/+ log.txtecho Deleteing stale files. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtif exist 4\* del /s /q 4\* 2>&1 | bin\mtee/+ log.txtif exist 5\* del /s /q 5\* 2>&1 | bin\mtee/+ log.txt:: extract hotfix to extract folderecho. 2>&1 | bin\mtee/+ log.txtecho Adding hotfixes from hotfix1 folder 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtfor /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do COPY /Y "1\%%~ni.EXE" "tmp\????????.EXE" >> log.txtfor /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do del /f /q 1\%%~ni.EXE >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do Move /Y tmp\%%~ni.exe 1 >> log.txtfor /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do 1\%%~ni.exe /q /x:4 >> log.txt:: extract hotfix to extract folder thisis for newer style hot fixesecho. 2>&1 | bin\mtee/+ log.txtecho Adding hotfixes from hotfix2 folder 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtfor /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do COPY /Y "2\%%~ni.EXE" "tmp\????????.EXE" >> log.txtfor /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do del /f /q 2\%%~ni.EXE >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do MD tmp\%%~ni >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do tmp\%%~ni.exe /Q /T:%PrepDir%\tmp\%%~ni /C >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do xcopy /d /h /y tmp\%%~ni\*.* 4 >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do bin\rm.exe /fvn tmp\%%~ni >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do Move /Y tmp\%%~ni.exe 2 >> log.txtattrib -R -A -S -H tmp\* /S:: extract hotfix to extract folder thisis for newer style hot fixesecho. 2>&1 | bin\mtee/+ log.txtecho Adding hotfixes from hotfix3 folder 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtfor /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do COPY /Y "3\%%~ni.EXE" "tmp\????????.EXE" >> log.txtfor /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do del /f /q 3\%%~ni.EXE >> log.txtfor /f "usebackq delims==" %%i in (`dir /b 3\*.cmd`) do del /f /q 3\%%~ni.cmd >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do MD tmp\%%~ni >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do tmp\%%~ni.exe /Q /T:%PrepDir%\tmp\%%~ni /C >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do xcopy /d /h /y tmp\%%~ni\*.* 4 >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do del /f /q tmp\%%~ni\*.* >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do bin\rm.exe /fvn tmp\%%~ni >> log.txtfor /f "usebackq delims==" %%i in (`dir /b tmp\*.exe`) do Move /Y tmp\%%~ni.exe 3 >> log.txtecho. 2>&1 | bin\mtee/+ log.txtecho Adding cmd files to hotfix3 folder 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtfor /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo CLS 2>&1 | bin\mtee /+ log.txt 3\%%~ni.cmdfor /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo @echo off 2>&1 | bin\mtee /+ log.txt /+ 3\%%~ni.cmdfor /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo start /wait %systemdrive%\install\system\hotfixes3\%%~ni.exe /T:%systemdrive%\install\tmp /C:"%systemdrive%\install\tmp\dahotfix.exe /q /n" /Q 2>&1 | bin\mtee /+ log.txt /+ 3\%%~ni.cmdfor /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo EXIT 2>&1 | bin\mtee /+ log.txt /+ 3\%%~ni.cmd:: check extraction took placeecho. 2>&1 | bin\mtee/+ log.txtecho Checking for extracted files 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtif not exist 4\* goto _end:: move hotfix to svcpack folderecho. 2>&1 | bin\mtee/+ log.txtecho Moving hotfixes to svcpack folder. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtcopy /y 1\*.exe 5\svcpack >> log.txtcopy /y 2\*.exe 5\svcpack >> log.txtcopy /y 3\*.cmd 5\svcpack >> log.txtcopy /y 3\*.exe 5\svcpack >> log.txt:: delete unwanted files from extract folderecho. 2>&1 | bin\mtee/+ log.txtecho delete unwanted files from extract folder. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtfor /f %%i in (files\hotkill.ini) do del /f /q /s 4\%%i 2>&1 | bin\mtee/+ log.txtfor /f %%i in (files\hotkill.ini) do del /f /q /s 4\sp2\%%i 2>&1 | bin\mtee/+ log.txt:: move cat files to svcpack folderecho. 2>&1 | bin\mtee/+ log.txtecho move cat files to svcpack folder. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtfor %%i in (4\*.cat 4\update\*.cat 4\sp2\update\*.cat) do move /y %%i 5\svcpack 2>&1 | bin\mtee/+ log.txt::NEW BIT::echo. 2>&1 | bin\mtee/+ log.txtecho Updating sp1.cab. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtxcopy /d /h /u /y 4\*.* files\sp1 >> log.txtxcopy /d /h /u /y 4\sp2\*.* files\sp1 >> log.txtbin\cabarc.exe N 5\sp1.cab files\sp1\*.* >> log.txt::END:::COMPRESS:: compress files and copy to output folderecho. 2>&1 | bin\mtee/+ log.txtecho compress files and copy to output folder. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtif exist files\winntbbu.dll xcopy /y files\winntbbu.dll 4 >> log.txtbin\compress.exe -d -r -zx21 4\* 5 >> log.txtbin\compress.exe -d -r -zx21 4\sp2\* 5 >> log.txt:: create svcpack.inf fileecho. 2>&1 | bin\mtee/+ log.txtecho create svcpack.inf file. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtecho [Version] 2>&1 | bin\mtee /+ log.txt 5\svcpack.infecho Signature="$Windows NT$" 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho MajorVersion=5 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho MinorVersion=1 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho BuildNumber=2600 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho. 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho [SetupData] 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho CatalogSubDir="\i386\svcpack" 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho. 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho [SetupHotfixesToRun] 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inffor /f "usebackq delims==" %%i in (`dir /b 1\*.exe`) do echo %%~ni.exe /n /q /u /z 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inffor /f "usebackq delims==" %%i in (`dir /b 2\*.exe`) do echo %%~ni.exe /Q:A /R:N 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf::for /f "usebackq delims==" %%i in (`dir /b 3\*.exe`) do echo %%~ni.exe /T:C:\\install\tmp /C:"c:\\install\tmp\dahotfix.exe /q /n" /Q >> 5\svcpack.inffor /f "usebackq delims==" %%i in (`dir /b 3\*.cmd`) do echo %%~ni.cmd 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho. 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.infecho [ProductCatalogsToInstall] 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inffor /f "usebackq delims==" %%i in (`dir /b 5\svcpack\*.cat`) do echo %%~ni.cat 2>&1 | bin\mtee /+ log.txt /+ 5\svcpack.inf:: compress svcpack.infecho. 2>&1 | bin\mtee/+ log.txtecho compress svcpack.inf file. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtbin\compress.exe -d -r -zx21 5\svcpack.inf >> log.txt:: comment out the next line if you want to examing svcpack.inf afterwards.:: del /q 5\svcpack.inf:: copy winnt.sif to output folderecho. 2>&1 | bin\mtee/+ log.txtecho copy extra files. 2>&1 | bin\mtee/+ log.txtecho __________________________________________________________________________ 2>&1 | bin\mtee/+ log.txtecho. 2>&1 | bin\mtee/+ log.txtif exist files\winnt.sif xcopy /y files\winnt.sif 5 >> log.txt:: copy dosnet.inf to output folderif exist files\dosnet.inf xcopy /y files\dosnet.inf 5 >> log.txt:: copy TXTSETUP.SIF to output folderif exist files\TXTSETUP.SIF xcopy /y files\TXTSETUP.SIF 5 >> log.txtif exist files\sys\*.sys xcopy /y files\sys\*.sys 5 >> log.txt:: clean up:: if exist 1\* del /s /q 1\*:: if exist 2\* del /s /q 2\*:: if exist 3\* del /s /q 3\*:: attrib -R -A -S -H tmp\* /S:: rd /s /q tmpgoto _end:_end Link to comment Share on other sites More sharing options...
Paul 365 Posted September 14, 2003 Share Posted September 14, 2003 Sorry Webmedic i didnt see you reply, ill leave that up for reference then when you post your download ill edit it out Link to comment Share on other sites More sharing options...
Aaron Posted September 14, 2003 Author Share Posted September 14, 2003 heh, it seems XP Setup has stalled at Registering Components (13mins), lots of hdd activity but not making any progress at all for the last 10mins.I'll wait for webmedic's scripts Edit: On a side note, how would one add a new hotfix to I386 when do.cmd has already been ran? Would the whole process have to be repeated on a clean unmodified i386 directory? Link to comment Share on other sites More sharing options...
GreenMachine Posted September 14, 2003 Share Posted September 14, 2003 Sorry, Aaron, as you probably know by now the PREP stuff I posted has required hard-coded paths ... I told you I did not want to blow up anything! At least Virtual PC CDs are cheap ... Link to comment Share on other sites More sharing options...
atomic7431 Posted September 14, 2003 Share Posted September 14, 2003 is he going to update them again soon, as i used the script to incorporate the critical updates and it worked like a gem, it does sit at 13 mins to go for a while longer than the norm but does work Link to comment Share on other sites More sharing options...
GreenMachine Posted September 14, 2003 Share Posted September 14, 2003 Normal - 13 to 12 minutes can be up to 45 minutes on VPC. It is running that svcpack.inf file, and has no way top calculate time needed. Link to comment Share on other sites More sharing options...
Paul 365 Posted September 14, 2003 Share Posted September 14, 2003 Agreed, it takes even longer if you use your main pc while its doing it..... Link to comment Share on other sites More sharing options...
Aaron Posted September 14, 2003 Author Share Posted September 14, 2003 is he going to update them again soon, as i used the script to incorporate the critical updates and it worked like a gem, it does sit at 13 mins to go for a while longer than the norm but does work Yeah you're right, its gone down to 8mins now. I'll run qfecheck and windowsupdate afterwards to see the results. Link to comment Share on other sites More sharing options...
atomic7431 Posted September 14, 2003 Share Posted September 14, 2003 put this post in the history books people i got somet right lol Link to comment Share on other sites More sharing options...
webmedic Posted September 14, 2003 Share Posted September 14, 2003 ok not quite there yet. Arron it will compile everything into directory 5 these files you will have to copy to i386. When I make sure it is working 100% correct I'll make it so that it will add files to a compiled directory and you only need to add any new hotfixes to the mix at that time. Also of note Greenmachine I have fixed any path issues wiht hte latest ones you will no longer have to edit files to get it to run. 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