Importing INF file - Get error INF file is empty

G

Guest

Hello,

I am trying to import an inf file using component designer. I get an error
indicating that the inf file is empty. This is for the Intel e1000325.inf.
The inf file looks good and the same package works on XP Pro. So I want to
know what is amiss here? Is it trying to look for the .sys and other files
in a particular directory and unable to find it?

Any pointers would be helpful.

Thanks

Sailesh
 
B

Brad Combs

Hello Sailesh,

Sometimes Intel INF's are formatted a little differently from your typical
file. What you can do for this file is specify the manufacturer section in
the INF parsing options. To do this open Component Designer, Choose File ->
Import and browse to your INF. In the "INF Processing Options" choose the
"Custom" radio button. Click "Add" to create a new option. In the "Add
Section" dialog choose "Manufacturer Section". In the "Section name" textbox
type Intel. Click OK twice, then click start. You will still get some
warnings about "Characteristics" and "Bus Type". You can ignore these.

You could really just put the INF and SYS files in the proper locations and
PnP will do the work for you during FBA, but if you really want a component
this method will work for you.

HTH,
Brad Combs
 
G

Guest

Hi Brad,

Thanks for the pointers. I tried them both but did not have much luck.

1. Using custom option for processing - I got an error stating that the inf
file import failed. No details indicated in the log file. (I can send you
the inf file but this is the same as the one from the intel website)

2. I also tried to copy the inf file (and drivers) to the appropriate places
in the windows directory. e1000325.inf in windows\inf. e1000325.sys in the
system32\drivers directory, the rest in windows\system32 directory. However,
during fpa, PnP did not enable the interface. I can see the necessary files
in the corresponding directories (on the target) but the interface is not
enabled. Here are the relevant lines from setupapi.log (it appears that PnP
did not do any processing at all):

[2007/02/21 09:21:57 276.41]
#-199 Executing "D:\WINDOWS\fba\fba.exe" with command line: ..\fba\fba.exe
#W389 No [STRINGS.0409] or [STRINGS.0009] section in
D:\WINDOWS\inf\e1000325.inf, using [STRINGS] instead.
#I393 Modified INF cache "D:\WINDOWS\inf\INFCACHE.1".
[2007/02/21 09:21:58 276.188 Driver Install]
#-019 Searching for hardware ID(s): root\update
#-199 Executing "D:\WINDOWS\fba\fba.exe" with command line: ..\fba\fba.exe
#I022 Found "ROOT\UPDATE" in D:\WINDOWS\inf\machine.inf; Device: "Microcode
Update Device"; Driver: "Microcode Update Device"; Provider: "Microsoft";
Mfg: "(Standard system devices)"; Section name: "UPDATE_DRV".


How do I load devmgmt.msc and other system components in the run time image?
Any other thoughts?

Thanks

Sailesh
 
B

Brad Combs

Hello Sailesh,

Here is a link to a SLD made using the method I talked about.
http://www.xpefiles.com/viewtopic.php?p=1872#1872

I used the latest E1000325.inf so you should be able to add a repository,
set the repository in the components, and import.

devmgmt.msc is in the "Device Manager" component. You could use that or
devcon.exe from the command line. Here is a link to Devcon (it's in the
DDK)....

http://msdn2.microsoft.com/en-us/library/ms792824.aspx

HTH,
Brad



Sailesh said:
Hi Brad,

Thanks for the pointers. I tried them both but did not have much luck.

1. Using custom option for processing - I got an error stating that the
inf
file import failed. No details indicated in the log file. (I can send
you
the inf file but this is the same as the one from the intel website)

2. I also tried to copy the inf file (and drivers) to the appropriate
places
in the windows directory. e1000325.inf in windows\inf. e1000325.sys in
the
system32\drivers directory, the rest in windows\system32 directory.
However,
during fpa, PnP did not enable the interface. I can see the necessary
files
in the corresponding directories (on the target) but the interface is not
enabled. Here are the relevant lines from setupapi.log (it appears that
PnP
did not do any processing at all):

[2007/02/21 09:21:57 276.41]
#-199 Executing "D:\WINDOWS\fba\fba.exe" with command line: ..\fba\fba.exe
#W389 No [STRINGS.0409] or [STRINGS.0009] section in
D:\WINDOWS\inf\e1000325.inf, using [STRINGS] instead.
#I393 Modified INF cache "D:\WINDOWS\inf\INFCACHE.1".
[2007/02/21 09:21:58 276.188 Driver Install]
#-019 Searching for hardware ID(s): root\update
#-199 Executing "D:\WINDOWS\fba\fba.exe" with command line: ..\fba\fba.exe
#I022 Found "ROOT\UPDATE" in D:\WINDOWS\inf\machine.inf; Device:
"Microcode
Update Device"; Driver: "Microcode Update Device"; Provider: "Microsoft";
Mfg: "(Standard system devices)"; Section name: "UPDATE_DRV".


How do I load devmgmt.msc and other system components in the run time
image?
Any other thoughts?

Thanks

Sailesh

Brad Combs said:
Hello Sailesh,

Sometimes Intel INF's are formatted a little differently from your
typical
file. What you can do for this file is specify the manufacturer section
in
the INF parsing options. To do this open Component Designer, Choose
File ->
Import and browse to your INF. In the "INF Processing Options" choose the
"Custom" radio button. Click "Add" to create a new option. In the "Add
Section" dialog choose "Manufacturer Section". In the "Section name"
textbox
type Intel. Click OK twice, then click start. You will still get some
warnings about "Characteristics" and "Bus Type". You can ignore these.

You could really just put the INF and SYS files in the proper locations
and
PnP will do the work for you during FBA, but if you really want a
component
this method will work for you.

HTH,
Brad Combs
 
G

Guest

Hi Brad,

Sorry I was out sick past few days. I tried using the sld file that you
provided, however I ran into 2 issues:

a. I did not see any component for Intel PRO/1000 PM network adapter.
b. When I tried using a different component (PRO/1000 MT) I got errors
indicating that I could not find the inf and the sys file. The repository
location was incorrect. How do I set the repository and to what?

Any thoughts?

Thanks


Brad Combs said:
Hello Sailesh,

Here is a link to a SLD made using the method I talked about.
http://www.xpefiles.com/viewtopic.php?p=1872#1872

I used the latest E1000325.inf so you should be able to add a repository,
set the repository in the components, and import.

devmgmt.msc is in the "Device Manager" component. You could use that or
devcon.exe from the command line. Here is a link to Devcon (it's in the
DDK)....

http://msdn2.microsoft.com/en-us/library/ms792824.aspx

HTH,
Brad



Sailesh said:
Hi Brad,

Thanks for the pointers. I tried them both but did not have much luck.

1. Using custom option for processing - I got an error stating that the
inf
file import failed. No details indicated in the log file. (I can send
you
the inf file but this is the same as the one from the intel website)

2. I also tried to copy the inf file (and drivers) to the appropriate
places
in the windows directory. e1000325.inf in windows\inf. e1000325.sys in
the
system32\drivers directory, the rest in windows\system32 directory.
However,
during fpa, PnP did not enable the interface. I can see the necessary
files
in the corresponding directories (on the target) but the interface is not
enabled. Here are the relevant lines from setupapi.log (it appears that
PnP
did not do any processing at all):

[2007/02/21 09:21:57 276.41]
#-199 Executing "D:\WINDOWS\fba\fba.exe" with command line: ..\fba\fba.exe
#W389 No [STRINGS.0409] or [STRINGS.0009] section in
D:\WINDOWS\inf\e1000325.inf, using [STRINGS] instead.
#I393 Modified INF cache "D:\WINDOWS\inf\INFCACHE.1".
[2007/02/21 09:21:58 276.188 Driver Install]
#-019 Searching for hardware ID(s): root\update
#-199 Executing "D:\WINDOWS\fba\fba.exe" with command line: ..\fba\fba.exe
#I022 Found "ROOT\UPDATE" in D:\WINDOWS\inf\machine.inf; Device:
"Microcode
Update Device"; Driver: "Microcode Update Device"; Provider: "Microsoft";
Mfg: "(Standard system devices)"; Section name: "UPDATE_DRV".


How do I load devmgmt.msc and other system components in the run time
image?
Any other thoughts?

Thanks

Sailesh

Brad Combs said:
Hello Sailesh,

Sometimes Intel INF's are formatted a little differently from your
typical
file. What you can do for this file is specify the manufacturer section
in
the INF parsing options. To do this open Component Designer, Choose
File ->
Import and browse to your INF. In the "INF Processing Options" choose the
"Custom" radio button. Click "Add" to create a new option. In the "Add
Section" dialog choose "Manufacturer Section". In the "Section name"
textbox
type Intel. Click OK twice, then click start. You will still get some
warnings about "Characteristics" and "Bus Type". You can ignore these.

You could really just put the INF and SYS files in the proper locations
and
PnP will do the work for you during FBA, but if you really want a
component
this method will work for you.

HTH,
Brad Combs

Hello,

I am trying to import an inf file using component designer. I get an
error
indicating that the inf file is empty. This is for the Intel
e1000325.inf.
The inf file looks good and the same package works on XP Pro. So I
want
to
know what is amiss here? Is it trying to look for the .sys and other
files
in a particular directory and unable to find it?

Any pointers would be helpful.

Thanks

Sailesh
 
G

Guest

While, I was unable to create (or use) the sld file, I was able to run device
manager and point it to the inf as is. That worked.

I am a trifle concerned that componentization of drivers is not as straight
forward as in advertised to be. I could not import a fully functional INF
file to create an sld file. Are there any documents that describe the
"rules" to allow INF file => sld creation?

Thanks for the pointers Brad.

Sailesh


Sailesh said:
Hi Brad,

Sorry I was out sick past few days. I tried using the sld file that you
provided, however I ran into 2 issues:

a. I did not see any component for Intel PRO/1000 PM network adapter.
b. When I tried using a different component (PRO/1000 MT) I got errors
indicating that I could not find the inf and the sys file. The repository
location was incorrect. How do I set the repository and to what?

Any thoughts?

Thanks


Brad Combs said:
Hello Sailesh,

Here is a link to a SLD made using the method I talked about.
http://www.xpefiles.com/viewtopic.php?p=1872#1872

I used the latest E1000325.inf so you should be able to add a repository,
set the repository in the components, and import.

devmgmt.msc is in the "Device Manager" component. You could use that or
devcon.exe from the command line. Here is a link to Devcon (it's in the
DDK)....

http://msdn2.microsoft.com/en-us/library/ms792824.aspx

HTH,
Brad



Sailesh said:
Hi Brad,

Thanks for the pointers. I tried them both but did not have much luck.

1. Using custom option for processing - I got an error stating that the
inf
file import failed. No details indicated in the log file. (I can send
you
the inf file but this is the same as the one from the intel website)

2. I also tried to copy the inf file (and drivers) to the appropriate
places
in the windows directory. e1000325.inf in windows\inf. e1000325.sys in
the
system32\drivers directory, the rest in windows\system32 directory.
However,
during fpa, PnP did not enable the interface. I can see the necessary
files
in the corresponding directories (on the target) but the interface is not
enabled. Here are the relevant lines from setupapi.log (it appears that
PnP
did not do any processing at all):

[2007/02/21 09:21:57 276.41]
#-199 Executing "D:\WINDOWS\fba\fba.exe" with command line: ..\fba\fba.exe
#W389 No [STRINGS.0409] or [STRINGS.0009] section in
D:\WINDOWS\inf\e1000325.inf, using [STRINGS] instead.
#I393 Modified INF cache "D:\WINDOWS\inf\INFCACHE.1".
[2007/02/21 09:21:58 276.188 Driver Install]
#-019 Searching for hardware ID(s): root\update
#-199 Executing "D:\WINDOWS\fba\fba.exe" with command line: ..\fba\fba.exe
#I022 Found "ROOT\UPDATE" in D:\WINDOWS\inf\machine.inf; Device:
"Microcode
Update Device"; Driver: "Microcode Update Device"; Provider: "Microsoft";
Mfg: "(Standard system devices)"; Section name: "UPDATE_DRV".


How do I load devmgmt.msc and other system components in the run time
image?
Any other thoughts?

Thanks

Sailesh

:

Hello Sailesh,

Sometimes Intel INF's are formatted a little differently from your
typical
file. What you can do for this file is specify the manufacturer section
in
the INF parsing options. To do this open Component Designer, Choose
File ->
Import and browse to your INF. In the "INF Processing Options" choose the
"Custom" radio button. Click "Add" to create a new option. In the "Add
Section" dialog choose "Manufacturer Section". In the "Section name"
textbox
type Intel. Click OK twice, then click start. You will still get some
warnings about "Characteristics" and "Bus Type". You can ignore these.

You could really just put the INF and SYS files in the proper locations
and
PnP will do the work for you during FBA, but if you really want a
component
this method will work for you.

HTH,
Brad Combs

Hello,

I am trying to import an inf file using component designer. I get an
error
indicating that the inf file is empty. This is for the Intel
e1000325.inf.
The inf file looks good and the same package works on XP Pro. So I
want
to
know what is amiss here? Is it trying to look for the .sys and other
files
in a particular directory and unable to find it?

Any pointers would be helpful.

Thanks

Sailesh
 

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