Author Topic: Slipstreaming Windows 2000 SP2 + SP2SRP1 + Hotfixe  (Read 2720 times)

Offline Fjellu

  • member
  • Global Moderator
  • Full Member
  • *****
  • Posts: 125
  • Karma: +0/-0
    • View Profile
Slipstreaming Windows 2000 SP2 + SP2SRP1 + Hotfixe
« on: July 09, 2002, 07:52:17 AM »
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.

Offline Fjellu

  • member
  • Global Moderator
  • Full Member
  • *****
  • Posts: 125
  • Karma: +0/-0
    • View Profile
Slipstreaming Windows 2000 SP2 + SP2SRP1 + Hotfixe
« Reply #1 on: July 25, 2002, 02:59:23 PM »
There is another hotfix you should include in your project: Q316430 (mostly updates to SP2SRP1)

In addition to the files mentioned in 12. you should also delete the \"bit56\" folder and sp3.cat (leave the uniproc folder).

Remember to update the svcpack.inf.

If you use the compression option make an additonal folder d:tempcompressuniproc and compress it with the command \"Compress –r –z d:tempi386uniproc*.* d:tempcompressuniproc\"

Using the compression on 257 files alltogether you save about 35 Mb.

Umbra

  • Guest
Slipstreaming Windows 2000 SP2 + SP2SRP1 + Hotfixe
« Reply #2 on: August 01, 2002, 04:27:00 AM »
What about SP3, which is released now. Will the SP2 slipstreaming procedure work as such for SP3 also?
Did anyone try already?
Thanks,
Umbra.

Anonymous

  • Guest
Slipstreaming Windows 2000 SP2 + SP2SRP1 + Hotfixe
« Reply #3 on: August 02, 2002, 04:31:21 AM »
Visit www.bink.nu for SP3 instructions

Offline Fjellu

  • member
  • Global Moderator
  • Full Member
  • *****
  • Posts: 125
  • Karma: +0/-0
    • View Profile
Slipstreaming Windows 2000 SP2 + SP2SRP1 + Hotfixe
« Reply #4 on: August 02, 2002, 10:42:34 AM »
It seems that there is no need to slipstream anything into a slipstreamed W2KSP3 CD yet. All hotfixes are up to date.

Anonymous

  • Guest
Slipstreaming Windows 2000 SP2 + SP2SRP1 + Hotfixe
« Reply #5 on: August 13, 2002, 07:43:57 AM »
The procedures will change a bit, as each hotfix will now have it\'s own catalog file.  So now, instead of each hotfix having a SP3.cat (or SP4.cat), there will now be a Q######.CAT file for each hotfix.  These will need added to the svcpack.inf file in the following section:

[ProductCatalogsToInstall]
Q######.CAT

You will also need to add the 8.3 hotfix file name to the [SetupHotfixesToRun] section of the same file as before.

Of course, as of now there are no hotfixes available to test these procedures, so it will be a while until I can validate.

Offline Fjellu

  • member
  • Global Moderator
  • Full Member
  • *****
  • Posts: 125
  • Karma: +0/-0
    • View Profile
Slipstreaming Windows 2000 SP2 + SP2SRP1 + Hotfixe
« Reply #6 on: August 16, 2002, 04:28:29 AM »
The first SP4 hotfix is out; Q326886_W2K_SP4_X86_EN
It uses the newer method mentioned in number 12 in my original post above. To clarify you need also delete the symbols folder and the file spmsg.dll with these newer hotfixes.

As to the Q326886.cat in the update folder. I am not sure it has to be included in [ProductCatalogsToInstall] and to copy the file itself to the folder svcpack.

But according to an answer from MS I\'ve seen: The unpacked Qxxxxxx.exe and sp3.cat file is needed to properly register the new files with W2K. So I guess it doesn\'t hurt to include the Qxxxxxxx.cat file under [ProductCatalogsToInstall] and to copy the file itself to the folder svcpack.