ctpooon Posted January 21, 2008 Share Posted January 21, 2008 hi,If I want to put a modified hosts file under system32\drivers\etc, where should I put the modified file in hfslip directory? I have read the manual, there is some places I think it is suitable1. HFEXPERT\WIN\system32\drivers\etc\hosts2. REPLACE\I386\HOSTS3. HFEXPERT\APPREPLACEMENT\drivers\etc\hosts4. FIX\system32\drivers\etc\hostswhich one should be the correct place to placing the files?thanks Link to comment Share on other sites More sharing options...
johndoe74 Posted January 21, 2008 Share Posted January 21, 2008 (edited) $OEM$\$$\System32\drivers\etc\(the $oem$ folder should be located not below but right next to your i386 folder)orHFEXPERT\WIN\System32\drivers\etc\ Edited January 21, 2008 by johndoe74 Link to comment Share on other sites More sharing options...
Tomcat76 Posted January 23, 2008 Share Posted January 23, 2008 (edited) >> 1. HFEXPERT\WIN\system32\drivers\etc\hostsHFEXPERT\WIN is not intended to replace existing files in the source; you could run into problems with floppy or network-based installs. This should work for CD installs, but it will cause Windows setup to copy your file twice since it already exists in the source and is handled by TXTSETUP.SIF through a different destination folder ID (17). The REPLACE folder is better suited for this.From the HFSLIP guide: "New entries are created in TXTSETUP.SIF and DOSNET.INF so only use this for NEW binaries.">> 2. REPLACE\I386\HOSTSThis should work.>> 3. HFEXPERT\APPREPLACEMENT\drivers\etc\hostsIt should be placed in HFEXPERT\APPREPLACEMENT; HFSLIP doesn't look in subfolders.This is only necessary if Windows setup complains about an invalid file.>> 4. FIX\system32\drivers\etc\hostsThis won't work as this folder structure doesn't exist on your CD. The proper location is FIX. But this won't work in the future when HFSLIP won't automatically move items from FIX to REPLACE\I386 any longer. Edited January 23, 2008 by Tomcat76 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now