Driver installation inconsistency

I have had trouble installing drivers with any reliable consistency. The device manager seems to be random. I successfully installed my driver and then tried to modify the inf file. My attempt to update and reistall the driver both failed. I replaced this modified inf with a backup copy that previously worked. The error remains the same with both inf files. I have seen this problem come and go. I have no idea what i have done to make this driver load successfully at times and to fail at others. My setupapi.log file reprts:

Default installer failed. Error 0xe0000219: The installation failed because a function driver was not specified for this device instance.

I have no idea what this means and can’t find information on it. I do specify the sys file in the inf and it is in my drivers folder. I tried deleting the files I thought might be copies in the inf folder but I’m not certain I deleted all files. I don’t know if it is an issue with the registry and if so how to resolve this. I don’t know where it gets its information from but it doesn’t seem to want to get the information from the inf file I provide. It seems to be saving old information I provided which has become faulty at this time. I don’t know if my inf is poorly written but I know it works sometimes.

>> I don’t know if my inf is poorly written but I know it works sometimes.

You can use chkinf tool from DDK to verify the structure and syntax of your
inf file.

Some other things that you could try doing are:

  • Uninstall the driver devnode from device manager (if there is one created)
  • Delete the oem* file corresponding to your inf from %windir%\inf folder
    (if it is Vista, use pnputil.exe inbox tool to remove the driver package)
  • Reinstall using the old inf (one that worked) to crete a baseline for
    another attempt at using your modified inf.

-Kumar
This posting is provided “AS IS” with no warranties, and confers no rights.

wrote in message news:xxxxx@ntdev…
>I have had trouble installing drivers with any reliable consistency. The
>device manager seems to be random. I successfully installed my driver and
>then tried to modify the inf file. My attempt to update and reistall the
>driver both failed. I replaced this modified inf with a backup copy that
>previously worked. The error remains the same with both inf files. I have
>seen this problem come and go. I have no idea what i have done to make
>this driver load successfully at times and to fail at others. My
>setupapi.log file reprts:
>
> Default installer failed. Error 0xe0000219: The installation failed
> because a function driver was not specified for this device instance.
>
> I have no idea what this means and can’t find information on it. I do
> specify the sys file in the inf and it is in my drivers folder. I tried
> deleting the files I thought might be copies in the inf folder but I’m not
> certain I deleted all files. I don’t know if it is an issue with the
> registry and if so how to resolve this. I don’t know where it gets its
> information from but it doesn’t seem to want to get the information from
> the inf file I provide. It seems to be saving old information I provided
> which has become faulty at this time. I don’t know if my inf is poorly
> written but I know it works sometimes.
>

If you have a virtualization provider I would in addition advise to test on a
fresh system to narrow down the problem to your installation (or not).

EA

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-267883-
xxxxx@lists.osr.com] On Behalf Of Kumar Rajeev [MS]
Sent: Wednesday, October 25, 2006 21:18
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Driver installation inconsistency

>> I don’t know if my inf is poorly written but I know it works
sometimes.

You can use chkinf tool from DDK to verify the structure and syntax of
your inf file.

Some other things that you could try doing are:

  • Uninstall the driver devnode from device manager (if there is one
    created)
  • Delete the oem* file corresponding to your inf from %windir%\inf
    folder (if it is Vista, use pnputil.exe inbox tool to remove the driver
    package)
  • Reinstall using the old inf (one that worked) to crete a baseline for
    another attempt at using your modified inf.

-Kumar
This posting is provided “AS IS” with no warranties, and confers no
rights.

wrote in message news:xxxxx@ntdev…
> >I have had trouble installing drivers with any reliable consistency.
> >The device manager seems to be random. I successfully installed my
> >driver and then tried to modify the inf file. My attempt to update
> and
> >reistall the driver both failed. I replaced this modified inf with a
> >backup copy that previously worked. The error remains the same with
> >both inf files. I have seen this problem come and go. I have no idea
> >what i have done to make this driver load successfully at times and to
> >fail at others. My setupapi.log file reprts:
> >
> > Default installer failed. Error 0xe0000219: The installation failed
> > because a function driver was not specified for this device instance.
> >
> > I have no idea what this means and can’t find information on it. I
> do
> > specify the sys file in the inf and it is in my drivers folder. I
> > tried deleting the files I thought might be copies in the inf folder
> > but I’m not certain I deleted all files. I don’t know if it is an
> > issue with the registry and if so how to resolve this. I don’t know
> > where it gets its information from but it doesn’t seem to want to get
> > the information from the inf file I provide. It seems to be saving
> > old information I provided which has become faulty at this time. I
> > don’t know if my inf is poorly written but I know it works sometimes.
> >
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer