Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Slipstreaming some recent Windows 2000 hotfixes

- - - - -

  • Please log in to reply
6 replies to this topic

#1
Inki

Inki

    Junior

  • Member
  • Pip
  • 59 posts
  • Joined 28-December 05
These are some things I came up with and thought I'd share for the heck of it, even though interest for Windows 2000 seems to be rapidly dwindling.

Currently there are three security updates for Windows 2000, that can not be properly slipstreamed by merely placing then into the HF folder, and the recommendation is to place them into HFSVCPACK_SW1. However, there may be some workarounds that allow full slipstreaming, or so it seems to me with my limited understanding. (These things seem to work for me.)

1. KB958470 (MS09-044) Remote Desktop Connection thingy

If RDC is not installed, and I guess there seldom is good reason why it should, the hotfix essentially only sets a few ActiveX killbits in the registry, and it is much "lighter" to slipstream those separately rather than to have the whole hotfix in HFSVCPACK_SW1.

So, assuming that you don't actually have RDC installed, copy the following lines into a new text file called KB958470.reg (or whatever.reg), and place it into HFSVCPACK, then remove the actual hotfix file from your setup.
------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{9059f30f-4eb1-4bd2-9fdc-36f43a218f4a}]
"Compatibility Flags"=dword:00000400
"AlternateCLSID"="{971127BB-259F-48c2-BD75-5F97A3331551}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{7584c670-2274-4efb-b00b-d6aaba6d3850}]
"Compatibility Flags"=dword:00000400
"AlternateCLSID"="{6A6F4B83-45C5-4ca9-BDD9-0D81C12295E4}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{4EDCB26C-D24C-4e72-AF07-B576699AC0DE}]
"Compatibility Flags"=dword:00000400
"AlternateCLSID"="{54CE37E0-9834-41ae-9896-4DAB69DC022B}"
-----------------------------------------

2. KB973904 (MS09-073) Text converters for Wordpad

The update wants to add completely new files alongside Wordpad.exe, and there is apparently no standard method for doing that with HFSLIP.

However, you can extract wordpad.in_ into wordpad.inf and edit it so that where it used to merely say:
--------------------------------
[WordPadCopyFiles]
wordpad.exe
--------------------------------
you add new lines before and after, resulting in:
--------------------------------
[SourceDisksNames]
3 = "Windows CD",\CDROM_IP.5,,\I386

[SourceDisksFiles]
mswrd6.wpc = 3
mswrd8.wpc = 3
write.wpc = 3

[WordPadCopyFiles]
wordpad.exe
mswrd6.wpc
mswrd8.wpc
write.wpc
------------------------------
This instructs the system to copy the missing files from the CD to the correct location while it is doing the same to wordpad.exe.

Rename the modified file into wordpad.in_ (or compress it into a cabinet) and place it into REPLACE\I386. Place the hotfix file into HF. (Note: \CDROM_IP.5 is merely the name of a tag file to identify the CD. I am not sure if it is needed, and if it does not match your CD, you can try changing or removing it from the line.)

3. KB975560 (MS10-013) Update for DirextX 9

Apparently msyuv.dll contained in this hotfix has a poorly configured header, which causes the system to choke during text-mode file copying.

To correct it, get hold of modifype.exe, extract msyuv.dll from the hotfix, place them together in some directory, and run 'modifype msyuv.dll -c'. Then you can rename the modified file into msyuv.dl_ (or compress it into a cabinet) and place it into REPLACE\I386, while you place the hotfix file into HF. I guess it would not do any harm to also cross one's fingers and hope, that nothing else is at fault with the file.


P.S. Those code snippet boxes really seem quite awkward. Well, I don't know any better, and I have a hard time dealing with this new system anyway. - Ended up replacing them with a lot of hyphens.

Edited by Inki, 05 March 2010 - 03:24 PM.



How to remove advertisement from MSFN

#2
jinjou

jinjou

    Newbie

  • Member
  • 18 posts
  • Joined 12-July 10
  • OS:Windows 2000 Professional
  • Country: Country Flag
Thank you for the explanation.

For others like myself who might not understand it immediately, under item #2., wordpad.in_ is in Source\I386.

#3
brutus1234

brutus1234

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 22-March 10
  • OS:none specified
  • Country: Country Flag
This works like a charm, thank you for your hints!!!
:thumbup

#4
brutus1234

brutus1234

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 22-March 10
  • OS:none specified
  • Country: Country Flag

1. KB958470 (MS09-044) Remote Desktop Connection thingy

If RDC is not installed,

Mmhh, what if I actually want it to be installed?
What is going to happen?

#5
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,520 posts
  • Joined 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag

you add new lines before and after, resulting in:
--------------------------------
[SourceDisksNames]
3 = "Windows CD",\CDROM_IP.5,,\I386

[SourceDisksFiles]
mswrd6.wpc = 3
mswrd8.wpc = 3
write.wpc = 3

[WordPadCopyFiles]
wordpad.exe
mswrd6.wpc
mswrd8.wpc
write.wpc
------------------------------
This instructs the system to copy the missing files from the CD to the correct location while it is doing the same to wordpad.exe.

Rename the modified file into wordpad.in_ (or compress it into a cabinet) and place it into REPLACE\I386. Place the hotfix file into HF. (Note: \CDROM_IP.5 is merely the name of a tag file to identify the CD. I am not sure if it is needed, and if it does not match your CD, you can try changing or removing it from the line.)

Yes, CDROM_XX.5 is needed but you shouldn't use CDROM_IP.5 because it's only for Windows 2000 Professional. Server versions are different - CDROM_IS.5, CDROM_IA.5, etc.

It's better to change it to CDROM_NT.5 in order to have it work with all editions of Windows 2000.

[SourceDisksNames]
3 = "Windows CD",\CDROM_NT.5,,\I386




1. KB958470 (MS09-044) Remote Desktop Connection thingy

If RDC is not installed,

Mmhh, what if I actually want it to be installed?
What is going to happen?

If you want to have it installed then you should use HFSVCPACK_SW1 ;) The update has different structure and cannot be directly slipstreamed from HF. Well, actually probably can but a lot of unnecessary files will be copied to i386 folder.

Edited by tomasz86, 15 June 2011 - 02:19 AM.

Posted Image
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages

#6
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,520 posts
  • Joined 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag
There is another problem with this:

[SourceDisksNames]
3 = "Windows CD",\CDROM_NT.5,,\I386
"Windows CD" means that the label MUST be "Windows CD" in order to copy these files. So what's the problem? For example, if you use nLite to make a bootable CD, it'll automatically change it to "Winlite" which will break the above string.

I think I found the ultimate solution ;)

You should change this

[SourceDisksNames]
 3 = "Windows CD",\CDROM_IP.5,,\I386

 [SourceDisksFiles]
 mswrd6.wpc = 3
 mswrd8.wpc = 3
 write.wpc = 3

 [WordPadCopyFiles]
 wordpad.exe
 mswrd6.wpc
 mswrd8.wpc
 write.wpc
to this

[SourceDisksFiles]
 mswrd6.wpc = 1
 mswrd8.wpc = 1
 write.wpc = 1

 [WordPadCopyFiles]
 wordpad.exe
 mswrd6.wpc
 mswrd8.wpc
 write.wpc
You should remove [SourceDisksNames]. What does "1" mean? Windows 2000 installer by default understands "1" as

1 = %wkscd%,\cdrom_ip.5,,\i386 <- Professional
1 = %srvcd%,\cdrom_is.5,,\i386 <- Server
1 = %entcd%,\cdrom_ia.5,,\i386 <- Advanced Server
1 = %dtccd%,\cdrom_id.5,,\i386 <- Datacenter Server
which means that the files will be copied correctly regardless of the edition of Windows 2000 you're using. And CD label also won't matter at all :)

Anyway, I prepared a corrected version of this update which includes the corrected wordpad.inf. It can be slipstreamed from HF folder and no changes have to be made further.

Windows2000-KB973904-v2-x86-ENU.EXE

Also check this post for a corrected version of KB975560 :)

Edited by tomasz86, 15 June 2011 - 04:26 AM.

Posted Image
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages

#7
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,520 posts
  • Joined 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag
After testing I've found out that the above method works only for a CD based installation. It doesn't work for a HDD based installation, and actually HFSLIP doesn't slipstream these files properly.

The files:

mswrd6.wpc
mswrd8.wpc
write.wpc
should be installed to:

%ProgramFiles%\Windows NT\Accessories
but HFSLIP makes them be copied to:

%SystemRoot%\system32
If you're using a CD based installation then they are copied once again to the former path in the later part of GUI setup when wordpad.inf is executed. You end up with having the files in two places. In case of a HDD based installation it's different - the files are copied to the latter path and removed from the source at the same time so the setup can't find them later when wordpad.inf is being executed.

The solution to this problem is pretty simple. You should still edit wordpad.inf as above but you should also edit TXTSETUP.SIF like this:

  • Remove all lines where either mswrd6.wpc, mswrd8.wpc or write.wpc is present.
  • Add:
    [SourceDisksFiles]
    mswrd6.wpc = 1,,,,,,,,3,3
    mswrd8.wpc = 1,,,,,,,,3,3
    write.wpc = 1,,,,,,,,3,3
    
This will make the setup not copy the files at all in the beginning. They will be copied only when wordpad.inf is executed.
Posted Image
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users