I am working on NDIS IM driver for Windows XP SP2 and installation
program uses INetCfg.
I am facing one strange issue. Sometimes my driver installation gets
failed and setup api logs shows
Error Code: 0xE0000228 There are no Compatible driver for this device.
After enabling setupapi verbose logging, I found that my driver's inf
is not in inf cache.
If I deleted inf cache file then driver gets installed and every thing
working file.
Could you please let me know what would be the potential issue in my
driver/inf file? This bug occurs only on few machines not in all
machine. If it is required I can attach my Inf File.
Regards,
Anand Choubey
If you are using an INF from an old DDK, compare it with an INF from a newer
WDK.
Thomas F. Divine
"Anand Choubey" <anand....@gmail.com> wrote in message
news:655dee52-71d7-426a...@o9g2000prg.googlegroups.com...
Thanks a lot for quick reply.
I run chkinf against protocol and miniport inf file.
I get following warnings:
In miniport file: 1 warning
[SourceDisksNames]
; (W22.1.2206) SourceDisksNames section defined but no CopyFiles
directive found.
;None
[SourceDisksFiles]
; (W22.1.2207) SourceDisksFiles section defined but no CopyFiles
directive found.
;None
In protocol files 2 warnings
[WxCDriver.ndi.Remove]
; (W22.1.2083) Section [WXCDRIVER.NDI.REMOVE] not referenced
DelFiles = WxCDriver.Files.Sys
[SourceDisksFiles]
ftrshim.sys=1
WxCDriver_m.inf=1
; (W22.1.2033) INF files should not be listed in SourceDisksFiles.
I compared in 6000 WDK and I get only one difference that
WxCDriver_m.inf (miniport inf file) is in SourceDisksFiles directive.
Do these warning create this issue?
One more thing: I install my driver with help of network property then
driver is installed and I uninstall driver and run my installer again.
Now it is working fine.
Could you please suggest me that what would be the reason and how can
I create my issue on machine again?
Regards,
Anand Choubey
You can find the BindView sources in src\network\config\bindview of the WDK.
"Anand Choubey" <anand....@gmail.com> wrote in message
news:655dee52-71d7-426a...@o9g2000prg.googlegroups.com...
Regards,
Anand Choubey
On Nov 26, 4:56 am, "Luv2Hike" <ImInSoq...@nospam.nospam> wrote:
> You may want to see if your driver can get installed and uninstalled through
> BindView without a problem. If so, then you may want to compare your
> installation code against BindView and see if there are areas where you're
> doing something wrong or different.
>
> You can find the BindView sources in src\network\config\bindview of the WDK.
>
> "Anand Choubey" <anand.chou...@gmail.com> wrote in message