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

SetupCopyOEMInf freezes

- - - - -

  • Please log in to reply
4 replies to this topic

#1
devilrunner

devilrunner

    Junior

  • Member
  • Pip
  • 53 posts
  • Joined 01-June 04
I have a very weird problem.
I am using the very good driver packs from driverpacks.net.

I am installing them with SetupCopyOEMInf @ the T39 min stage of windows setup.
Everything goes fine up until it gets to the genHCFk.inf file in one of the driverpacks.

location of file : D\D\C\1 from (DP_Modem_wnt5_x86-32_187.7z)

SetupCopyOEMInf just hangs on that file resulting in the whole setup not continueing.

Does anybody else have this problem?
Is there a skip or timeout option on SetupCopyOEMInf?
Maybe the problem is in illegal set of chars in genHCFk.inf?

I am attaching the file, maybe someone has a clearer mind then me @ this time...I am quite stund by this problem.

***I tested the same script in a installed normal environment and that doesn't seem to suffer from this weirdness....

Attached Files


Edited by devilrunner, 25 August 2006 - 06:28 AM.



How to remove advertisement from MSFN

#2
schalti

schalti

    Junior

  • Member
  • Pip
  • 65 posts
  • Joined 22-July 04

SetupCopyOEMInf just hangs on that file resulting in the whole setup not continueing.

Does anybody else have this problem?
Is there a skip or timeout option on SetupCopyOEMInf?


There is an issue with the CatalogDB (%windir%\system32\CatRoot / CatRoot2).
CatalogDB stores certificates and signatures of drivers and Windows Updates.
If you wait long enough it will probably continue (several minutes), however every additional call of SetupCopyOEMInf will take several minutes as well. Hours later.....

The CatalogDB seems to have a size limit (5 MB + 8 KB), I opened a call at Microsoft but they didn't want to help me.

You can check if it really is this issue by running the following statement once the PC seems to hang:

cd /D %windir%\system32\CatRoot2
type dberr.txt | find /I "error"

If the output shows errors like
CatalogDB: 22:03:45 11.07.2006: File #1 at line #701 encountered error 0xfffffbfe

then it is the problem I mentioned.

Solution is to eliminate signatures of drivers where XP doesn't have an alternative.

So I eliminated signatures of almost all of my HP printer drivers (crosscheck with %windir%\inf\ntprint.inf to find out where XP already has a driver and therefor an alternative).

:blushing:

#3
devilrunner

devilrunner

    Junior

  • Member
  • Pip
  • 53 posts
  • Joined 01-June 04
I have been reading allot about the freezing problem...
It would apear that lot's of people have this problem and that it has to do with the suspended setup.exe process...

Some API call that is blocked by the inactive suspended setup.exe process.

The Solutions I have read about include a ticker script that suspends and resumes the setup.exe with a timer interval.
Offcourse this doesn't apear to be a very nice solution to me...

Does anybody have any other suggestions?
Psuspend or pausep having better luck?
Maybe someone can suspend all threads that setup.exe spawned except the CALL that setupcopyoeminf needs?

help would be much apreciated by the whole forum I guess

***Just an idea
***If we could rewrite setup.exe to run the detachedprogram in a wait state.
***Meaning that it wouldn't be detached anymore, much like a start /Wait command
***If you get my drift?

Edited by devilrunner, 25 August 2006 - 06:30 AM.


#4
Sonic

Sonic

    Sonic

  • Patrons
  • 1,603 posts
  • Joined 04-December 03
.edited.

Learning ...

#5
Sonic

Sonic

    Sonic

  • Patrons
  • 1,603 posts
  • Joined 04-December 03
Okay, I have rebuild my uaxpcd with pyron method ...
I will test during this week. The problem is the DevicePath limit lenght isn't it ?
I think it's enough for me, I have packs LAN,WLAN,MODEM,VMWARE.
It's too bad setupoeminf freeze sometimes ...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users