Protocol Driver Installation on XP Embe

A

Ajay Agrawal

All,

When I install protocol driver using setup program (using INetCfg interface)
on XP Embedded a message box pops up and setup can not find the driver
(.sys) file. I have to manually browse through and locate the path of .sys
file then it go ahead and install the driver. Same setup program works fine
wothout any problem on XP Professional. Does somebody has any idea, what may
be the problem?

I can install the driver usinf INF file manually without any problem.

Thanks
-Ajay
 
A

Ajay Agrawal

Thanks a lot Bill.
YES, my problem is similar.

It seems that on XPE PNF files are generated.

Do you have any solution to this problem?

Thanks again,
-Ajay

Bill Tang said:
I am not sure if this pertain to your problem and I am new
to XP embedded myself.

I had a problem installing an NDIS IM driver and it was
traced down to SetupCopyOEMInf(). On normal XP,
SetupCopyOEMInf() will copy the INF and also create a .PNF
file. I believe the .PNF is the compiled INF that stores
the resolved path information.

In my INF, there is this section:

[InfSourcePathInfo]
OriginalInfSourcePath = %1%

In the .PNF, OriginalInfSourcePath should be resolved to
the path parameter I passed into SetupCopyOEMInf(). I
guess the %1% is the place holder for the "path".

Later, my setup program will call SetupGetStringFieldW()
to read the "OriginalInfSourcePath". Without the .PNF
generated in SetupCopyOEMINF(), SetupGetStringFileW() was
returning a different result. It was
returning "c:\windows", which is the problem for my
setup.exe.





-----Original Message-----
All,

When I install protocol driver using setup program (using INetCfg interface)
on XP Embedded a message box pops up and setup can not find the driver
(.sys) file. I have to manually browse through and locate the path of .sys
file then it go ahead and install the driver. Same setup program works fine
wothout any problem on XP Professional. Does somebody has any idea, what may
be the problem?

I can install the driver usinf INF file manually without any problem.

Thanks
-Ajay




.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top