Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


tomasz86

HFEXPERT vs REPLACE

2 posts in this topic

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).

0

Share this post


Link to post
Share on other sites

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..

0

Share this post


Link to post
Share on other sites

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.