Here is an explanation on how to slipstream the Windows 2000 SP2SRP1 and later hotfixes into Windows 2000 SP2. How to slipstream the SP2 into Windows 2000 can be found elsewhere.
1. Use a slipstreamed W2KSP2. Get the w2kSP2SRP1.exe and all later released hotfixes (Qxxxxxx.exe) you want to include in your CD. Get the file qchain.exe. Get the file catver.exe (if you can find it). If you want to make your CD totally slipstreamed you also need cabarc.exe from IEAK6 (or from WinXP). For the optional method at the end you need the file compress.exe from the Microsoft Windows 2000 Resource Kit.
2. For this example we use d:w2k for putting the new project into and d:temp for all hotfixes. Create the folders d:w2k and d:temp. Copy the slipstreamed W2KSP2 into d:w2k. Copy the file w2kSP2SRP1.exe and all hotfixes to d:temp. Copy the files catver.exe, cabarc.exe and compress.exe to d:temp.
3. Change the name of w2kSP2SRP1.exe to SP2SRP1.exe (8.3 limitation). Change the names of all hotfixes QXXXXXX_W2K_SP3_X86_EN.exe -> QXXXXXX.exe.
4. Open d:w2ki386dosnet.inf in and add svcpack to [OptionalSrcDirs]. It should look like this:
[OptionalSrcDirs]
uniproc
svcpack
5. Create a folder named svcpack under the d:w2ki386 folder (d:w2ki386svcpack).
6. Unpack SP2SRP1.exe to a folder beneath d:temp. This is easiest done with WinZip, WinRar or WinAce. Right clicking the file choose “Extract to SP2SRP1” (WinRar and WinAce) or “Extract to folder d:tempSP2SRP1” (Winzip)
7. Move (or copy) SP2SRP1.exe from d:temp to d:w2ki386svcpack.
Whenever you are told to move you can also choose to just copy the files. Only copy if you later want to make a new project or for troubleshooting purposes, or if you want to repackage the *.cab files (later 21-25). See also the “Optional” section at the end.
8. Move (or copy) everything from d:tempSP2SRP1 to d:w2ki386 (including subdirectories).
9. Delete the “update” folder (now subfolder to i386). Move the files in the “new” folder to d:w2ki386. Delete the “new” folder.
OPTIONAL
You can delete all update folders and save about 37 MB if you are using the CD only to make a clean install (win9xmig, win9xupg and winntupg). For a \"Clean Install CD\" you can also delete the compdata folder. If you do not need the additional languages you can also delete the “lang” folder and gain another 63 MB. Following the above you save a total of +100 MB on the CD.
10. Using the same method as explained in 6 above extract all hotfixes in d:temp to separate folders.
11. Move (or copy) all hotfixes (QXXXXXX.exe) from d:temp to d:w2ksvcpack.
12. Delete hotfix.exe, hotfix.inf, spmsg.dll and the symbols folder in each hotfix folder beneath d:temp. Newer hotfixes include a slightly different method installing the hotfix, an update folder (Q320206 and Q321599). In these cases delete the files empty.cat, spuninst.exe, svcpack1.dll and the update folder.
13. Check which hotfix contains the latest sp3.cat. Move (or copy) that file to d:w2ki386svcpack. Check the properties of the file and see which one has the latest modified date (the size also tells something) or use the catver.exe. Remember that the svcpack folder should always contain the latest sp3.cat. If you choose the \"move\" method, delete all remaining sp3.cat files from all hotfix folders.
14. Beginning with the oldest hotfix (smallest number) move (or copy) all files to d:w2ki386, except the file sp3.cat. You have to move (or copy) the oldest hotfix first, because a later hotfix might contain yet another update to some file. If you also copied sp3.cat, delete it from the d:w2ki386 folder.
15. Copy qchain.exe to d:w2ki386svcpack.
16. Create a new file called d:w2ki386svcpack.inf with the following contents:
[Version]
Signature=\"$Windows NT$\"
BuildNumber=2195
MajorVersion=5
MinorVersion=0
[SetupData]
CatalogSubDir=\"i386svcpack\"
[ProductCatalogsToInstall]
SP3.CAT
[SetupHotfixesToRun]
SP2SRP1.EXE -Q -M -Z -N
Q299956.EXE -Q -M -Z -N
Q300845.EXE -Q -M -Z -N
Q311967.EXE -Q -M -Z -N
Q313450.EXE -Q -M -Z -N
Q313829.EXE -Q -M -Z -N
Q314147.EXE -Q -M -Z -N
Q318138.EXE -Q -M -Z -N
Q319733.EXE -Q -M -Z -N
Q320176.EXE -Q -M -Z -N
Q320206.EXE -Q -M -Z -N
Q321599.EXE -Q -M -Z -N
qchain.exe
The [SetupHotfixesToRun] section should include all names of the files moved (or copied) in 11. The above is an example of my file per July 2 2002.
-Q (Quiet Mode - no user interface)
-M (Unattended Mode)
-Z (Do not reboot when update completes)
-N (Do not create uninstall directory)
The -N parameter is optional but why create uninstall directories, they just occupy unnecessary space.
17. Create a batch file (delete.bat) in d:temp with the following content:
CD /D D:w2ki386
FOR %%X IN (*.dl_) DO IF EXIST %%~nX.dll DEL %%X
FOR %%X IN (*.ex_) DO IF EXIST %%~nX.exe DEL %%X
FOR %%X IN (*.in_) DO IF EXIST %%~nX.inf DEL %%X
FOR %%X IN (*.sy_) DO IF EXIST %%~nX.sys DEL %%X
FOR %%X IN (*.ce_) DO IF EXIST %%~nX.cer DEL %%X
FOR %%X IN (*.ca_) DO IF EXIST %%~nX.cat DEL %%X
FOR %%X IN (*.zi_) DO IF EXIST %%~nX.zip DEL %%X
FOR %%X IN (*.cp_) DO IF EXIST %%~nX.cpl DEL %%X
CD uniproc
FOR %%X IN (*.dl_) DO IF EXIST %%~nX.dll DEL %%X
FOR %%X IN (*.sy_) DO IF EXIST %%~nX.sys DEL %%X
18. Run delete.bat from a dos prompt. This should delete all duplicate compressed files, which are replaced with the hotfix files. The file d:w2ki386svcpack.in_ gets deleted as well (instead of the one created in 16).
19. Whenever there is a new hotfix you can update your project following the instructions 10-18 above. Remember to copy the new sp3.cat and update the svcpack.inf file.
20. Burn and install. Enjoy!
OPTIONAL
The CD does not get totally slipstreamed using this method. When doing a clean install (with all options on), removing IIS and then reinstalling IIS, W2K reverts to files included in SP2. To make a complete slipstreamed CD you have to repackage some *.cab files (at least fp40ext.cab, ims.cab and sp2.cab).
21. Move fp40ext.cab, ims.cab and sp2.cab to d:temp.
22. Extract the files using the method in 6.
23. Now some time consuming work. You have to find all newer files from SP2SRP1 and all hotfix folders. Substitute the older with the newer files (maybe someone can come up with a batch file like in 19 that does the trick). In ims.cab you have to put \"smtp_\" in front of the filenames, for instance \"smtp_mailmsg.dll\".
24. Repackage the files with cabarc.exe. Create a batch file called cabarc.bat in d:temp with the following content
cabarc n fp40ext.cab d:tempfp40ext*.*
cabarc n ims.cab d:tempims*.*
cabarc n sp2.cab d:tempsp2*.*
Add lines if you need to repackage other *.cab files. Run cabarc.bat from a command prompt. Move the repackaged *.cab files to d:w2ki386.
25. Now you have a complete slipstreamed Win 2000 project. Repeat step 20!
OPTIONAL
If you want to gain another 30 MB on the disk, with the hotfixes above, they can be compressed with compress.exe, which tool is included in the Microsoft Windows 2000 Resource Kit (For explanation read MS article Q314958). Make two folders d:tempi386 and d:tempcompress. Copy all files from d:tempSP2SRP1 to d:tempi386 following the steps in 8 and 9. Copy all hotfix files to d:tempi386 following the steps in 14. Copy the file svcpack.inf (created in 16) to d:tempi386. Then run the command
Compress –r –z d:tempi386*.* d:tempcompress
Copy all files from d:tempi386 and replace the older files in d:w2ki386. There is no need for the steps 17 and 18 following this method.
The d:tempi386 can also be used when substituting the files in the *.cab files in step 23.