The WDFCoInstaller is tied the the checked versus free OS not the build of
the driver.
--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website:
http://www.windrvr.com
Blog:
http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"oyvindbjo" <> wrote in message
news:064B4E9B-558B-4BEC-B87E-...
> Ok... by checking the logfile: %windir%\inf\setupapi.dev.log I found that
> the
> installer didn't find the WDFCoInstaller01009.dll, because I had added the
> WDFCoInstaller01009_chk.dll(why doesn't it want the checked one when I
> compile the code in a checked environment?).
>
> So now I'm able to install the WDK drivers.... then over to my real
> problem,
> my PCIe driver wont install(works on XP, thought it was relatet to not
> beeing
> able to install the WDK example drivers on W7). From the logfile I get:
>>>> [Device Install (UpdateDriverForPlugAndPlayDevices) - PCI\VEN_10EE]
>>>> Section start 2009/10/28 14:45:32.539
> cmd: "C:\Users\radar\Desktop\PCI_CoInstaller_and_INFs\d evcon.exe"
> install "C:\Users\radar\Desktop\PCI_CoInstaller_and_INFs\g enpci.inf"
> PCI\VEN_10EE
> dvi: Set selected driver complete.
> dvi: {Build Driver List} 14:45:32.548
> dvi: Searching for hardware ID(s):
> dvi: pci\ven_10ee
> cpy: Policy is set to make all digital signatures equal.
> dvi: Processing a single INF:
> 'c:\users\radar\desktop\pci_coinstaller_and_infs\g enpci.inf'
> inf: Opened INF:
> 'c:\users\radar\desktop\pci_coinstaller_and_infs\g enpci.inf' ([strings])
> dvi: {Build Driver List - exit(0x00000000)} 14:45:32.552
> dvi: {DIF_SELECTBESTCOMPATDRV} 14:45:32.554
> dvi: No class installer for 'Unknown driver software package'
> dvi: No CoInstallers found
> dvi: Default installer: Enter 14:45:32.554
> dvi: {Select Best Driver}
> ! dvi: Selecting driver failed(0xe0000228)
> dvi: {Select Best Driver - exit(0xe0000228)}
> ! dvi: Default installer: failed!
> ! dvi: Error 0xe0000228: There are no compatible drivers for this
> device.
> dvi: {DIF_SELECTBESTCOMPATDRV - exit(0xe0000228)} 14:45:32.558
> <<< Section end 2009/10/28 14:45:32.558
> <<< [Exit status: SUCCESS]
>
> Why wont Windows select my driver even though my .inf file specifies that
> it
> handles PCIe devices with vendor-ID 10EE?
>
>
> "oyvindbjo" wrote:
>
>> Hi
>> I'm having problems installing the test drivers from WDK package on x86
>> Windows 7. I'm using kernel debugger so signing should not be an issue.
>> The
>> drivers are built in checked environment, .inf, .sys, coinstaller and
>> devcon.exe are then copied to a temp folder. Through an administrator
>> command
>> prompt I try to run:
>>
>> c:\Users\radar\Desktop\toaster>devcon.exe install wdfsimple.inf
>> "{b85b7c50-6a01-
>> 11d2-b841-00c04fad5171}\MsToaster"
>> Device node created. Install is complete when drivers are installed...
>> Updating drivers for {b85b7c50-6a01-11d2-b841-00c04fad5171}\MsToaster
>> from
>> :\Users\radar\Desktop\toaster\wdfsimple.inf.
>> devcon.exe failed.
>>
>> This has worked fine in Windows XP. Am I forgetting something obvious?
>>
>> Also, is it possible to get some more information from devcon.exe of why
>> it
>> failed?
>> I've also tried to install from "device manager", the response is:
>> The system cannot find the file specified.
>>
>> Here to, it would be nice to know which file it cannot find... And wold
>> the
>> debugger give any information if I have the checked build of Windows 7
>> and
>> using devcon.exe?
>>
>> Regards
>> Øyvind Bjørnson-Langen
>>
>>
>>
>>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4551 (20091028) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4551 (20091028) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com