there is no driver selected for the device information set or element

Hi

I am trying to install my driver on Windows 10. The driver is compiled and signed for windows 10, but I get the following error:

there is no driver selected for the device information set or element

When I try the windows 8.1 compiled and signed version of the driver I get the same error, but when I try the windows 7 compiled and signed version if works fine.

I think I am missing something in the inf file, but the windows 10 driver information on the internet is very sparse.

Anyone who knows what is wrong.

Regards
Bent

xxxxx@napatech.com wrote:

I am trying to install my driver on Windows 10. The driver is compiled and signed for windows 10, but I get the following error:

there is no driver selected for the device information set or element

When I try the windows 8.1 compiled and signed version of the driver I get the same error, but when I try the windows 7 compiled and signed version if works fine.

I think I am missing something in the inf file,

You probably are, but my crystal ball is on the fritz, so I can’t see
your INF from here.

Please post your INF file, and tell us exactly which hardware ID you are
trying to match.

Also make sure you aren’t trying to load a 32-bit driver on a 64-bit system.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Here is my inf file. It doesn’t matter which hardware ID I am trying to match. I get the same error for all IDs.

;-------------------------------------------------------------------------------
; Nt3gd.INF
;
; Napatech NT Adapter driver
; %NT_LICENSE%

[Version]
Signature = “$Windows NT$”
Class = NtDrvSetupClass
ClassGUID = {D9D49E71-B6B9-4351-B6B0-960FC7CDB32B}
Provider = %Napatech%
DriverVer = 07/20/2013,0.1.0.0
CatalogFile = Nt3gd.cat

[DestinationDirs]
DefaultDestDir = 12
Nt3gd.SystemFiles = 12
Nt3gd.LibFiles = 11

;-------------------------------------------------------------------------
; Class Section
;-------------------------------------------------------------------------
[ClassInstall32]
Addreg = NtNetClassReg

[NtNetClassReg]
HKR,0,%ClassName%
HKR,Icon,-5
HKR,DeviceCharacteristics,0x10001,0x100 ;Use same security checks on relative opens
HKR,Security,“D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;BU)(A;;GRGWGX;;;IU)(A;;GRGW;;;WD)(A;;GR;;;RC)”

;-------------------------------------------------------------------------
; Device Install Section
;-------------------------------------------------------------------------
[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%Napatech% = Napatech,NTx86,NTamd64

[SourceDisksFiles]
Nt3gd.sys = 1
;CommonLib.dll = 1

[SourceDisksNames]
1=%DISK_NAME%,

; For Win2K
[Napatech]
%Nt3gd.DeviceDesc61% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0061
%Nt3gd.DeviceDesc64% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0064
%Nt3gd.DeviceDesc71% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0071
%Nt3gd.DeviceDesc74% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0074
%Nt3gd.DeviceDesc81% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0081
%Nt3gd.DeviceDescA1% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00A1
%Nt3gd.DeviceDescA4% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00A4
%Nt3gd.DeviceDescC5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00C5
%Nt3gd.DeviceDescE5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00E5
%Nt3gd.DeviceDescD5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00D5
%Nt3gd.DeviceDescF5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00F5
%Nt3gd.DeviceDesc125% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0125
%Nt3gd.DeviceDesc135% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0135
%Nt3gd.DeviceDesc145% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0145
%Nt3gd.DeviceDesc155% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0155
%Nt3gd.DeviceDesc175% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0175

; For XP and later
[Napatech.NTx86]
%Nt3gd.DeviceDesc61% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0061
%Nt3gd.DeviceDesc64% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0064
%Nt3gd.DeviceDesc71% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0071
%Nt3gd.DeviceDesc74% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0074
%Nt3gd.DeviceDesc81% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0081
%Nt3gd.DeviceDescA1% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00A1
%Nt3gd.DeviceDescA4% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00A4
%Nt3gd.DeviceDescC5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00C5
%Nt3gd.DeviceDescE5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00E5
%Nt3gd.DeviceDescD5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00D5
%Nt3gd.DeviceDescF5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00F5
%Nt3gd.DeviceDesc125% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0125
%Nt3gd.DeviceDesc135% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0135
%Nt3gd.DeviceDesc145% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0145
%Nt3gd.DeviceDesc155% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0155
%Nt3gd.DeviceDesc175% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0175

; For XP-64 and later
[Napatech.NTamd64]
%Nt3gd.DeviceDesc61% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0061
%Nt3gd.DeviceDesc64% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0064
%Nt3gd.DeviceDesc71% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0071
%Nt3gd.DeviceDesc74% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0074
%Nt3gd.DeviceDesc81% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0081
%Nt3gd.DeviceDescA1% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00A1
%Nt3gd.DeviceDescA4% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00A4
%Nt3gd.DeviceDescC5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00C5
%Nt3gd.DeviceDescE5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00E5
%Nt3gd.DeviceDescD5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00D5
%Nt3gd.DeviceDescF5% = Nt3gd_Inst, PCI\VEN_18F4&DEV_00F5
%Nt3gd.DeviceDesc125% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0125
%Nt3gd.DeviceDesc135% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0135
%Nt3gd.DeviceDesc145% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0145
%Nt3gd.DeviceDesc155% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0155
%Nt3gd.DeviceDesc175% = Nt3gd_Inst, PCI\VEN_18F4&DEV_0175

[Nt3gd_Inst.NT]
CopyFiles = Nt3gd.SystemFiles, Nt3gd.LibFiles

[Nt3gd.SystemFiles]
Nt3gd.sys

[Nt3gd.LibFiles]

[Nt3gd_Inst.NT.HW]
AddReg = Nt3gd_HW_Reg

[Nt3gd_Inst.NT.Services]
AddService = Nt3gd,0x00000002,Nt3gd_Service,Nt3gd_EventLog_Inst

[Nt3gd_Service]
DisplayName = %Nt3gd.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\Nt3gd.sys
AddReg = Nt3gd_Param_Reg

[Nt3gd_Param_Reg]
HKR, Parameters\Wdf, VerifierOn, 0x00010001, “0”
HKR, %ParamConfig%, ServiceDebug, 0x00010001, “0”
HKR, %ParamConfig%, ReservedDMAPoolSize, 0x00010001, “180”
HKR, %ParamConfig%, Inifile, 0x00000000, “”
HKR, %ParamConfig%, NTPLfile, 0x00000000, “”
HKR, %ParamState%, Inifile, 0x00000000, “”
HKR, %ParamState%, NTPLfile, 0x00000000, “”

[Nt3gd_HW_Reg]
HKR, Interrupt Management, 0x00000010
HKR, Interrupt Management\MessageSignaledInterruptProperties,0x00000010
HKR, Interrupt Management\MessageSignaledInterruptProperties, MSISupported, 0x00010001, 1
HKR, Interrupt Management\Affinity Policy, DevicePolicy, 0x00010001, 2
HKR,DeviceCharacteristics,0x10001,0x100 ;Use same security checks on relative opens
HKR,Security,“D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;BU)(A;;GRGWGX;;;IU)(A;;GRGW;;;WD)(A;;GR;;;RC)”

[Nt3gd_EventLog_Inst]
AddReg = Nt3gd_EventLog_AddReg

[Nt3gd_EventLog_AddReg]
HKR, EventMessageFile, 0x00020000, “%%SystemRoot%%\System32\Drivers\Nt3gd.sys”
HKR, TypesSupported, 0x00010001, 7

;-------------- Coinstaller installation
[DestinationDirs]
CoInstaller_CopyFiles = 11

[Nt3gd_Inst.NT.CoInstallers]
AddReg = CoInstaller_AddReg
CopyFiles = CoInstaller_CopyFiles

[CoInstaller_CopyFiles]

[SourceDisksFiles]

[CoInstaller_AddReg]

[Nt3gd_Inst.NT.Wdf]
KmdfService = Nt3gd, Nt3gd_wdfsect

[Nt3gd_wdfsect]

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Napatech = “Napatech”
ClassName = “Napatech Software Suite Class”
ParamConfig = “Parameters\Configuration”
ParamState = “Parameters\status”
Run = “SOFTWARE\Microsoft\Windows\CurrentVersion\Run”
Nt3gd.DeviceDesc61 = “Napatech NT20E Adapter - 3GD”
Nt3gd.DeviceDesc64 = “Napatech NT20E In-Line Adapter - 3GD”
Nt3gd.DeviceDesc71 = “Napatech NT4E Adapter - 3GD”
Nt3gd.DeviceDesc74 = “Napatech NT4E In-Line Adapter - 3GD”
Nt3gd.DeviceDesc81 = “Napatech NT4E Port Adapter - 3GD”
Nt3gd.DeviceDescA1 = “Napatech NT4E Standard Adapter - 3GD”
Nt3gd.DeviceDescA4 = “Napatech NT4E Standard In-Line Adapter - 3GD”
Nt3gd.DeviceDescC5 = “Napatech NT20E2 Adapter - 3GD”
Nt3gd.DeviceDescE5 = “Napatech NT40E2-1 Adapter - 3GD”
Nt3gd.DeviceDescD5 = “Napatech NT40E2-4 Adapter - 3GD”
Nt3gd.DeviceDescF5 = “Napatech NT4E2-BP In-Line Adapter - 3GD”
Nt3gd.DeviceDesc125 = “Napatech NT4E2-4-PTP Adapter - 3GD”
Nt3gd.DeviceDesc135 = “Napatech NT20E2-PTP Adapter - 3GD”
Nt3gd.DeviceDesc145 = “Napatech NT40E3-4-PTP-ANL Analysis Network Adapter - 3GD”
Nt3gd.DeviceDesc155 = “Napatech NT100E3-1-PTP-ANL Analysis Network Adapter - 3GD”
Nt3gd.DeviceDesc175 = “Napatech NT20E3-2-PTP-ANL Analysis Network Adapter - 3GD”

DISK_NAME = “Napatech NT Adapter 3GD Drivers: Installation Disk”

Regards
Bent

xxxxx@napatech.com wrote:

Here is my inf file. It doesn’t matter which hardware ID I am trying to match. I get the same error for all IDs.

You should run chkinf on your INF file. It found three errors. I don’t
think any of them would affect this problem, but INF files are complicated.

You should show us your setupapi.dev.log file as well, so we can see
exactly what it complained about.

I do have one philosophical question. Your INF file is set up to handle
both 32-bit and 64-bit systems, but it only points to one .SYS file.
How do you expect to handle that?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Hi Tim

The issue was caused by a corrupted inf file due to a driver crash during installation. The INF file works fine. I will check it with checkinf.

My driver build is very simple. I do not use the possibilities of the inf file. As you said INF files are complicated. Each driver target is placed in its own dir and the installer detects the target and selects the right driver dir.

Thank you for your help.

Regards
Bent