Jump to content

HFEXPERT vs REPLACE


Recommended Posts

Posted

I've found an issue in HFSLIP which breaks HDD based installation when certain files are added through the "HFEXPERT" folder.

I'll explain the problem which happens when preparing an updated Win2k source.

  1. Three files included in USP5.1 (usbd.sys, usbhub.sys & usbser.sys) are buggy. Therefore I want to replace them through the "HFEXPERT\WIN\system32" folder with older versions of the same files coming from Update Rollup 1.
  2. Before running the script open "I386\DOSNET.INF" and search for "usbd.sys". It will be located in the following sections:
    [FloppyFiles.1]
    d1,usbd.sys

    [Files]
    d1,usbd.sys


  3. Do the same thing in "I386\TXTSETUP.SIF". "Usbd.sys" is located here:
    [SourceDisksFiles]
    usbd.sys = 2,,,,,,2_,4,1,3

    [files.openhci]
    usbd.sys,4


  4. Now run the HFSLIP script and check the files after that:
    DOSNET.INF
    [Files]
    d1,usbd.sys


    TXTSETUP.SIF

    [SourceDisksFiles]
    usbd.sys = 1,,,,,,,2,0,0


    As you can see, the other lines have been removed! And this breaks HDD based installation! It will also break using system floppy disks for booting.

The solution is very simple. If you just want to replace files already present in Windows then you should use REPLACE because it doesn't change anything in DOSNET.INF / TXTSETUP.SIF. You should use HFEXPERT only when adding completely new files (or when you want to intentionally change the default location of a file).

  • 2 weeks later...

Posted

I've found an issue in HFSLIP which breaks HDD based installation when certain files are added through the "HFEXPERT" folder.

The solution is very simple.

Indeed the solution is very simple: rtfm! see here, here, here, here or here to just name a few..

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...