From: Michael Reim on
Hi

Windows 7, 32bit

When there are more than one drivers for one USB device on the system, the
setupapi.dev.log states:
"selecting best match from just driver store"

There is one driver for "NT.6.0" and one driver for "NTx86.6.0" on my
system.
Why does this system select the driver for "NT.6.0" as best match?


And how can I permanently delete old drivers from the system?
If I select deinstall driver in Device manager, the driver is not really
deleted from the system, because if I replug the device the old driver is
installed.


How can I install a new driver and be sure that it will be used?
Is there some trick in the inf file?


TIA

--
Michael Reim
Michael DOT Reim AT helmut-fischer DOT de


From: Pavel A. on
"Michael Reim"
<nospammichaelDOTreim(a)REMOVENOSPAMANDCAPShelmut-fischer.denospam> wrote in
message news:O4Fi7EICLHA.4636(a)TK2MSFTNGP02.phx.gbl...
> Hi
>
> Windows 7, 32bit
>
> When there are more than one drivers for one USB device on the system, the
> setupapi.dev.log states:
> "selecting best match from just driver store"
>
> There is one driver for "NT.6.0" and one driver for "NTx86.6.0" on my
> system.
> Why does this system select the driver for "NT.6.0" as best match?

Can you provide more details: how the hardware ID is specified in both INFs,
what is DriverVer?
If I understand correctly, "NT.6.0" and "NTx86.6.0" are same for Win7.

> And how can I permanently delete old drivers from the system?

Use pnputil.

> If I select deinstall driver in Device manager, the driver is not really
> deleted from the system, because if I replug the device the old driver is
> installed.

Correct, this is a deliberate change in driver uninstall behavior for Win7.

> How can I install a new driver and be sure that it will be used?
> Is there some trick in the inf file?

Yes, please read WDK documentation and materials on microsoft.com/whdc.

Regards.
--pa


From: Michael Reim on
Hello Pavel

"Pavel A." <pavel_a(a)12fastmail34.fm> schrieb im Newsbeitrag
news:%23PBuAFPCLHA.980(a)TK2MSFTNGP04.phx.gbl...
> "Michael Reim"
> <nospammichaelDOTreim(a)REMOVENOSPAMANDCAPShelmut-fischer.denospam> wrote in
> message news:O4Fi7EICLHA.4636(a)TK2MSFTNGP02.phx.gbl...
>> Hi
>>
>> Windows 7, 32bit
>>
>> When there are more than one drivers for one USB device on the system,
>> the setupapi.dev.log states:
>> "selecting best match from just driver store"
>>
>> There is one driver for "NT.6.0" and one driver for "NTx86.6.0" on my
>> system.
>> Why does this system select the driver for "NT.6.0" as best match?
>
> Can you provide more details: how the hardware ID is specified in both
> INFs,
> what is DriverVer?
> If I understand correctly, "NT.6.0" and "NTx86.6.0" are same for Win7.

In both files there is identical VID/PID, special IDs from our company.
Only in the old file there is a DriverVer, but I will try with a newer
DriverVer in the new file.



>> And how can I permanently delete old drivers from the system?
>
> Use pnputil.

Not acceptable for our customers because difficult to use and not available
on XP.


>> If I select deinstall driver in Device manager, the driver is not really
>> deleted from the system, because if I replug the device the old driver is
>> installed.
>
> Correct, this is a deliberate change in driver uninstall behavior for
> Win7.
>
>> How can I install a new driver and be sure that it will be used?
>> Is there some trick in the inf file?
>
> Yes, please read WDK documentation and materials on microsoft.com/whdc.

I will have a look at this.


Thank you for your help.
--
Michael Reim
Michael DOT Reim AT helmut-fischer DOT de



From: Chris on
On Jun 11, 3:12 am, "Michael Reim"
<nospammichaelDOTr...(a)REMOVENOSPAMANDCAPShelmut-fischer.denospam>
wrote:

> >> And how can I permanently delete old drivers from the system?
>
> > Use pnputil.

Didn't you say you were using Windows 7 32-bit? Why now complain
about XP?

Anyway, what about DriverPackageUninstall?
From: Michael Reim on
"Chris" <chris.aseltine(a)gmail.com> schrieb im Newsbeitrag
news:a788a2d9-fcdf-416d-9675-34a8d7e2d23f(a)h13g2000yqm.googlegroups.com...

> Didn't you say you were using Windows 7 32-bit? Why now complain
> about XP?

My fault. I reduced the problem to one target, but didn't say that my driver
is targeting more than one operating systems.
Sorry.

> Anyway, what about DriverPackageUninstall?

Didn't even think about that. This is a possible way if the user choose the
software first way.
But I don't think that this will work if the user takes the hardware first
way and lets the system search for a driver on disk.
I will check that.


Thank you.