amirali_esh Posted August 22, 2003 Posted August 22, 2003 Hi, Anyone managed to install Advanced Networking Pack and hu1002_pro using svcpack method?
royalbox Posted September 17, 2003 Posted September 17, 2003 I haven't been around here for ages. Did anyone improve on my hotfix integration script? I was hoping someone would refine it and post it here. I've done a quick search through the forum but couldn't find anything.
webmedic Posted September 17, 2003 Posted September 17, 2003 yes I have it does allot more now but Icould not remember the thread and so started another one and am going to release a new one soon. Well newer than the ones I have already released.
royalbox Posted September 17, 2003 Posted September 17, 2003 @webmedicCan you point me to the thread it's in or is there a download? I'd like to see it as I was hoping someone would improve it. I'm not after credit, It would just be nice to see how it's been bettered and to use it myself.Thanks.
webmedic Posted September 17, 2003 Posted September 17, 2003 sure here you go. I kind ofrked toghter a bunch of stuff with it and alos to note it ebuilds from scratch right now. I wanted it to be cmpletely working first before I make it so that you con add only the latest hotfixes to it.I also have anewer version i=of it thatn the one posted in that thread I think. http://board.MSFN.org/index.php?showtopic=8363here it is
GreenMachine Posted September 17, 2003 Posted September 17, 2003 Thanks, Royalbox. Credit where credit's due: I'd been meaning to try that slipstream for a while, but could not make the first step. Following is my modified version of WebMedics version. I simplified certain parts (only do fix type 1 and 2, no MDAC), and made others more complicated (each file extracted to it's own directory, XCOPY instead of COPY for selective date based copies), and changed the directory structure (after about 5 beers, I can no longer keep track of single digit variables / directories). For what it is worth, here it is. You need the fixes in either directory HFTYPE1 or HFTYPE2, the expanded SP1.CAB in directory SP1CAB, and the files COMPRESS.EXE, CABARC.EXE, HOTKILL.INI in the root of your chosen directory. It is path indepedant, and works (for me ...) with long file names. But I guess I do not need to walk you through it: the code is fairly readable.@echo offsetlocal enableextensionsREM - Shamelessly copied from others posted work ...REM ---------- Initialization ----------ECHO Find out where we are ...SET PREPDIR=FOR /F "delims=" %%i IN ('cd') DO SET PREPDIR=%%iECHO We are at %PREPDIR%.REM ---------- CleanUp & Preparation ----------ECHO Cleaning up first.if exist WORKDIR RMDIR "WORKDIR" /S /Q > NULif exist SAVEDIR RMDIR "SAVEDIR" /S /Q > NULif exist EXTRACT RMDIR "EXTRACT" /S /Q > NULMKDIR WORKDIRMKDIR SAVEDIRMKDIR SAVEDIR\SVCPACKMKDIR EXTRACTif exist HFTYPE1.cmd del /q HFTYPE1.cmd > NULif exist HFTYPE2.cmd del /q HFTYPE2.cmd > NULREM ---------- Extract Type 1 HotFixes ----------ECHO Extracting Type 1 Fixes ...for /f "usebackq delims==" %%i in (`dir /b HFTYPE1\*.exe`) do ( echo HFTYPE1\%%~ni.exe /q /x:EXTRACT\%%~ni >> HFTYPE1.cmd echo xcopy /d /h /y /s EXTRACT\%%~ni\*.* WORKDIR >> HFTYPE1.cmd echo if exist EXTRACT\%%~ni\SP2 xcopy /d /h /y /s EXTRACT\%%~ni\SP2\*.* WORKDIR >> HFTYPE1.CMD)if exist HFTYPE1.cmd call HFTYPE1.cmdREM ---------- Extract Type 2 HotFixes ----------ECHO Extracting Type 2 Fixes ...for /f "usebackq delims==" %%i in (`dir /b HFTYPE2\*.exe`) do ( echo HFTYPE2\%%~ni.exe /Q /T:%PREPDIR%\EXTRACT\%%~ni /C >> HFTYPE2.cmd echo xcopy /d /h /y /s EXTRACT\%%~ni\*.* WORKDIR >> HFTYPE2.cmd echo if exist EXTRACT\%%~ni\SP2 xcopy /d /h /y /s EXTRACT\%%~ni\SP2\*.* WORKDIR >> HFTYPE2.CMD)if exist HFTYPE2.cmd call HFTYPE2.cmdif not exist WORKDIR\* goto _endREM ---------- Save the files to be copied to the distribution ----------ECHO Copy Fixes to SVCPACKcopy /y HFTYPE1\*.exe SAVEDIR\SVCPACK > NULcopy /y HFTYPE2\*.exe SAVEDIR\SVCPACK > NULREM ---------- Save off the .cat files.ECHO Move the .cat Files.for %%i in (WORKDIR\*.cat WORKDIR\UPDATE\*.cat) do move /y %%i SAVEDIR\SVCPACKREM ---------- Clean up some ----------if exist WORKDIR\SYMBOLS RMDIR "WORKDIR\SYMBOLS" /S /Q > NULif exist WORKDIR\UPDATE RMDIR "WORKDIR\UPDATE" /S /Q > NULif exist WORKDIR\COMMON RMDIR "WORKDIR\COMMON" /S /Q > NULif exist WORKDIR\SP1 RMDIR "WORKDIR\SP1" /S /Q > NULif exist WORKDIR\SP2 RMDIR "WORKDIR\SP2" /S /Q > NULfor /f %%i in (hotkill.ini) do del /f /q /s WORKDIR\%%i > NULREM ---------- Update any files that are also in the SP1.CAB ----------ECHO Merge the 2 packs.xcopy /d /h /u /y WORKDIR\*.* SP1CABECHO Make SP1.cabcabarc.exe N SAVEDIR\sp1.cab SP1CAB\*.*REM ---------- Compress to MS format ----------ECHO Compress all the filescompress.exe -d -r -zx21 WORKDIR\* SAVEDIRREM ---------- Generate the .inf file -----------ECHO Create the .inf file.echo [Version] > svcpack.infecho Signature="$Windows NT$" >> svcpack.infecho MajorVersion=5 >> svcpack.infecho MinorVersion=1 >> svcpack.infecho BuildNumber=2600 >> svcpack.infecho. >> svcpack.infecho [SetupData] >> svcpack.infecho CatalogSubDir="\i386\svcpack" >> svcpack.infecho. >> svcpack.infecho [SetupHotfixesToRun] >> svcpack.inffor /f "usebackq delims==" %%i in (`dir /b HFTYPE1\*.exe`) do echo %%~ni.exe /n /q /u /z >> svcpack.inffor /f "usebackq delims==" %%i in (`dir /b HFTYPE2\*.exe`) do echo %%~ni.exe /Q:A /R:N >> svcpack.infecho. >> svcpack.infecho [ProductCatalogsToInstall] >> svcpack.inffor /f "usebackq delims==" %%i in (`dir /b SAVEDIR\SVCPACK\*.cat`) do echo %%~ni.cat >> svcpack.infREM ---------- compress svcpack.inf ----------ECHO Compress the .inf File.compress.exe -d -r -zx21 svcpack.inf SAVEDIRREM ---------- copy new system files to output folder ----------ECHO Copy any Additional Files.if exist SYS\*.* xcopy /y SYS\*.* SAVEDIR:_end(I hate those long posts with too much code to read ... sorry!)
royalbox Posted September 17, 2003 Posted September 17, 2003 Thanks both I look forward to reading through to see what you've done and trying these out. I see that it's still necessary to use cabarc and compress, I couldn't get either to do all that's needed on their own either.Thanls again.
chon_ Posted September 17, 2003 Posted September 17, 2003 so you just copy your savedir to your i386 and you're done?Call me a dumb but it's not that clear for me, maybe you guys could make a hotfixes slipstreaming mini-guide or something.
webmedic Posted September 17, 2003 Posted September 17, 2003 the whole guide is here. http://board.MSFN.org/index.php?showtopic=8363
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now