Jump to content

HFEXPERT empty WIN\SYSTEM32 causes TXTSETUP.SIF to 1K


mystek

Recommended Posts

Is this normal?

I was experimenting with adding drivers and used the following folder structure:

HFEXPERT\WIN\SYSTEM32\DRIVERS

I added one driver set and ran HFSLIP_60616a and ended up with a TXTSETUP.SIF file of 1K, the only entry was

<Blank Line>

[sourceDisksFiles]

<Empty>

Next I tried deleting the driver set incase the INF was bad, same result (Emply drivers folder).

Then I deleted the DRIVERS folder and reran again same result (Empty System32 folder).

Then deleted SYSTEM32 same result (Empty Win folder).

Then deleted WIN folder and everything works as normal.

I have the HFEXPERT\APREPLACEMENT folder with Calc.exe, Taskmgr.exe and it works great.

Any suggestions ot comments?

I also tried to add the Help folder with 2 chm files and ended up with the same result. Did I read the docs wrong? LOST :huh:

Edited by mystek
Link to comment
Share on other sites


Hi Mystek.

I checked the HFEXPERT code from bottom to top (and then from top to bottom which made a lot more sense :D ).

It looks like there are two problems, one of which I just fixed (see test release 60616b):

1) for some reason, the section that deals with subdirectories of HFEXPERT\WIN\SYSTEM32 fails in your case

2) HFSLIP didn't provide a safety net for when files are detected in HFEXPERT but none were processed (causing your broken TXTSETUP.SIF file)

I'm sure that if you try the latest test release, TXTSETUP.SIF will remain in tact but the files in DRIVERS are ignored. Is that correct?

Edited by Tomcat76
Link to comment
Share on other sites

Not exactly, now I have a TEMP folder off the root of HFSLIP containing the folder structure:

WIN\SYSTEM32\DRIVERS with the one driver I tried in the DRIVER folder and a text file "HFEXPERT.TXT" of 0KB at the root of the TEMP folder. The orginial TXTSETUP.SIF in SOURCE\i386 is 461KB and the new one in SOURCESS\i386 is 466KB. Compared both files and there was no difference, so I quess it is a compression difference.

Link to comment
Share on other sites

OK. I pretty much have an idea of how far you could go. I'll update the script so it deletes the TEMP folder in such case.

But before we go any further... What's the name of the file? I hope it doesn't have an exclamation mark in it...

Link to comment
Share on other sites

Really odd. I ran HFSLIP with just one file in HFEXPERT\WIN\SYSTEM32\DRIVERS and HFSLIP responded as intended.

Do you have spaces in your HFSLIP path? It's possible that the part that deals with subdirectories of WIN other than SYSTEM32 and with subdirectories inside SYSTEM32 doesn't handle spaces. That little script section is a bit over my head (neither TommyP nor I wrote it) so I can't say for sure if that's the case.

Can you post your HFSLIP.LOG file, please?

Link to comment
Share on other sites

Here it the file. Tried to attach the log but it wouldn't?

This file is automatically generated by HFSLIP.

The HFSLIP program is for personal use only.

Copyright © TommyP 2005-2006.

==========================HOW TO REPORT A PROBLEM==============================

Make a compressed package (ZIP format only) containing the following files:

- HFSLIP.LOG (this file)

- WU.TXT (report generated by HFNetChk)

- if of relevance, logs from other tools with information about the problem

Get HFNetChk from http://hfnetchk.shavlik.com/hfreadme.asp and install it.

Command to generate the HFNetChk report if installed in the default location:

"%ProgramFiles%\Shavlik Technologies\HFNetChk\HFNetChk" -V -F C:\WU.TXT

Start a new thread on the HFSLIP support forum to explain your problem and

attach the ZIP package to your post.

http://www.msfn.org/board/index.php?showforum=129

===============================================================================

HFSLIP Version - 60616b

Your path - F:\1-Development HFSlip\hfslip\

OS you are slipstreaming - XP SP2 English

CD Install Path - Default

Merge Option - DRIVER.CAB Updated

===============================================================================

Files in your FIX folder:

NTDETECT.COM

ntldr

SCEREGVL.IN_

UXTHEME.DL_

WINNT.SIF

Files in your HF folder:

MP10Setup.exe

scripten.exe

Windows-KB890830-V1.16.exe

Windows-KB890830-V1.17.exe

Windows-KB909520-v1.000-x86-ENU.exe

Windows-KB913433-x86-ENU.exe

WindowsInstaller-KB893803-v2-x86.exe

WindowsMedia-KB911564-x86-ENU.exe

WindowsMedia10-KB917734-x86-ENU.exe

WindowsUpdateAgent20-x86.exe

WindowsXP-KB873339-x86-ENU.exe

WindowsXP-KB885626-v2-x86-enu.exe

WindowsXP-KB885835-x86-ENU.exe

WindowsXP-KB885836-x86-ENU.exe

WindowsXP-KB886185-x86-enu.exe

WindowsXP-KB887472-x86-enu.exe

WindowsXP-KB887742-x86-ENU.exe

WindowsXP-KB888113-x86-ENU.exe

WindowsXP-KB888302-x86-ENU.exe

WindowsXP-KB890046-x86-ENU.exe

WindowsXP-KB890859-x86-ENU.exe

WindowsXP-KB891781-x86-ENU.exe

WindowsXP-KB893756-x86-ENU.exe

WindowsXP-KB896344-v2-x86-ENU.exe

WindowsXP-KB896358-x86-ENU.exe

WindowsXP-KB896422-x86-ENU.exe

WindowsXP-KB896423-x86-ENU.exe

WindowsXP-KB896424-x86-ENU.exe

WindowsXP-KB896428-x86-ENU.exe

WindowsXP-KB898461-x86-ENU.exe

WindowsXP-KB899587-x86-ENU.exe

WindowsXP-KB899589-x86-ENU.exe

WindowsXP-KB899591-x86-ENU.exe

WindowsXP-KB900485-v2-x86-ENU.exe

WindowsXP-KB900725-x86-ENU.exe

WindowsXP-KB901017-x86-ENU.exe

WindowsXP-KB901190-x86-ENU.exe

WindowsXP-KB901214-x86-ENU.exe

WindowsXP-KB904706-v2-x86-ENU.exe

WindowsXP-KB904942-v2-x86-ENU.exe

WindowsXP-KB905414-x86-ENU.exe

WindowsXP-KB905474-ENU-x86_4bafa8793e8cdcaf4ba4ffc494df32d496154544.exe

WindowsXP-KB905749-x86-ENU.exe

WindowsXP-KB907265-x86-ENU.exe

WindowsXP-KB908519-x86-ENU.exe

WindowsXP-KB908531-v2-x86-ENU.exe

WindowsXP-KB910437-x86-ENU.exe

WindowsXP-KB911280-x86-ENU.exe

WindowsXP-KB911562-x86-ENU.exe

WindowsXP-KB911567-x86-ENU.exe

WindowsXP-KB911927-x86-ENU.exe

WindowsXP-KB912817-v2-x86-ENU.exe

WindowsXP-KB912919-x86-ENU.exe

WindowsXP-KB913580-x86-ENU.exe

WindowsXP-KB914389-x86-ENU.exe

WindowsXP-KB916281-x86-ENU.exe

WindowsXP-KB917344-x86-ENU.exe

WindowsXP-KB917953-x86-ENU.exe

WindowsXP-KB918439-x86-ENU.exe

wmfdist95.exe

msxml6.msi

UPHClean-Setup.msi

Files in your HFCABS folder:

Apr2005_d3dx9_25_x86.cab

Apr2006_d3dx9_30_x86.cab

Aug2005_d3dx9_27_x86.cab

Dec2005_d3dx9_28_x86.cab

Feb2005_d3dx9_24_x86.cab

Feb2006_d3dx9_29_x86.cab

IUCTL.CAB

Jun2005_d3dx9_26_x86.cab

LegitCheckControl.cab

MUWEB_SITE.CAB

OPUC3.CAB

swflash.cab

Files in your HFSVCPACK folder:

HELP.exe

jre507.exe

VMwareTools.exe

Z_MyRegistryTweaksXP.reg

Files in your HFSVCPACK_SW folder:

Files in your HFTOOLS folder:

boot.BIN

CDIMAGE.EXE

expand.exe

extract.exe

HFANSWER.INI

modifyPE.exe

MSICabExtract.exe

MSICabExtract.txt

Files in your HFAAO folder:

Foxy_dotNET_1.1_and_2.0_SVCPACK_Addon_v1.0.cab

Kels_CDImageGUI_CPL_addon_vBeta3.cab

Files in your HFEXPERT folder:

F:\1-Development HFSlip\hfslip\HFEXPERT\APREPLACEMENT\Calc.exe

F:\1-Development HFSlip\hfslip\HFEXPERT\APREPLACEMENT\Notepad.exe

F:\1-Development HFSlip\hfslip\HFEXPERT\APREPLACEMENT\Taskmgr.exe

F:\1-Development HFSlip\hfslip\HFEXPERT\HIVEINSTALL\net5211.inf

F:\1-Development HFSlip\hfslip\HFEXPERT\WIN\SYSTEM32\DRIVERS\ar5211.sys

F:\1-Development HFSlip\hfslip\HFEXPERT\WIN\SYSTEM32\DRIVERS\ar52119x.sys

===============================================================================

HFSLIP run time: 14m53s

Edited by Tomcat76
Link to comment
Share on other sites

Just tried something. I moved HFSLIP to the root of a drive and reran the program, this eliminated the extra TEMP folder. I guess the app looks at the whole folder structure it is in, not just where it it run from. Seems since the root directory that hosts HFSLIP has a space in it, it gets confused.

Also removed the space in the orginial folder structure and reran, cleared the problem. Looks like the problem was with the space in the parent folder hosting HFSLIP. Sorry for all the trouble.

Link to comment
Share on other sites

I was about to ask to remove the space. :)

HFSLIP doesn't use the whole path for the most part but sometimes it's necessary. It is circumvented wherever possible by quoting the paths. Most likely, the part that would take care of folders like HFEXPERT\WIN\SYSTEM32\DRIVERS doesn't accomodate for spaces in paths.

BTW... I tried to edit your post but there doesn't seem to be a way anymore to get a scrollable box. So I just put it back to how it was.

Edited by Tomcat76
Link to comment
Share on other sites

Yes, I am interested. I really like HFSLIP, I just need to get up to speed with its abilities and short comings for what I want to do. I am working on a XP Pro build and then onto 2003 Server. I want to remove certain things and or configure a secure stable system. I have never tried to build a system like this and it is a challange. Thanks for all the great work and patience with those of us who are less knowledgeable. As for editing the post, I could just remove most of the posting between the solution?

Link to comment
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.
×
×
  • Create New...