Modem isdn component

G

Gianluca Facca

I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000 ====================================

;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles


;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN2.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN3.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN4.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN5.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN6.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN7.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"

;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6

;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams


;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0001"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0002"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0003"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0005"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0006"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0007"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0008"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--
;===================================================================
; NDIS WAN Miniport
;===================================================================
;========================= Win2000 ====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"

;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"


;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"

;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll

;---------------------------------------------------------------------------
--
[Uninstall]
UNINSTALL=RUN_UNINSTALL.EXE

;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows 98, 2000, ME and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
S

Slobodan Brcin \(eMVP\)

Hi Gianluca,

Since ISDN device is not critical for first OS load, you can try to use
following procedure instead of classic import of inf file from CD.
You should create component from scratch, with name, appropriate category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that this is working.
You can do that by creating your image without any ISDN support component
and then you should manually copy all files to their appropriate folders.

OS PnP will do the rest of installation. Most hardware drivers can be
installed in this way. So all devices that are covered by inf file will be
supported in your image, not only device that you use component for.

Let us know if this is working for ISDN, or if you have troubles so we can
help you further.

Regards,
Slobodan


Gianluca Facca said:
I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000 ====================================

;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles


;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN2.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN3.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN4.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN5.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN6.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN7.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"

;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6

;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams


;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0001"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0002"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0003"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0005"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0006"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0007"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0008"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--
;===================================================================
; NDIS WAN Miniport
;===================================================================
;========================= Win2000 ====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"

;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"


;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"

;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll

;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows 98, 2000, ME and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
G

Gianluca Facca

Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support component and then manually
copy all files to their appropriate folders, but then I connect the modem,
appears the installation windows and going on with the installation it gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



Slobodan Brcin (eMVP) said:
Hi Gianluca,

Since ISDN device is not critical for first OS load, you can try to use
following procedure instead of classic import of inf file from CD.
You should create component from scratch, with name, appropriate category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that this is working.
You can do that by creating your image without any ISDN support component
and then you should manually copy all files to their appropriate folders.

OS PnP will do the rest of installation. Most hardware drivers can be
installed in this way. So all devices that are covered by inf file will be
supported in your image, not only device that you use component for.

Let us know if this is working for ISDN, or if you have troubles so we can
help you further.

Regards,
Slobodan


Gianluca Facca said:
I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000 ====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN2.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN3.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN4.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN5.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN6.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN7.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0001"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0002"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0003"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0005"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0006"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0007"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0008"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--
;===================================================================
; NDIS WAN Miniport
;===================================================================
;========================= Win2000 ====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows 98, 2000, ME and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
S

Slobodan Brcin \(eMVP\)

Folders are ok, but you must use extract command from command prompt on
every file.

Regards,
Slobodan

Gianluca Facca said:
Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support component and then manually
copy all files to their appropriate folders, but then I connect the modem,
appears the installation windows and going on with the installation it gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



Slobodan Brcin (eMVP) said:
Hi Gianluca,

Since ISDN device is not critical for first OS load, you can try to use
following procedure instead of classic import of inf file from CD.
You should create component from scratch, with name, appropriate category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that this is working.
You can do that by creating your image without any ISDN support component
and then you should manually copy all files to their appropriate folders.

OS PnP will do the rest of installation. Most hardware drivers can be
installed in this way. So all devices that are covered by inf file will be
supported in your image, not only device that you use component for.

Let us know if this is working for ISDN, or if you have troubles so we can
help you further.

Regards,
Slobodan


Gianluca Facca said:
I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000 ====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN2.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN3.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN4.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN5.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN6.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN7.ndis.reg]
HKR, , , 0, %ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0001"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0002"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0003"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0005"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0006"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0007"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, , "VID_07B0&PID_0008"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, , %ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--
;===================================================================
; NDIS WAN Miniport
;===================================================================
;========================= Win2000 ====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows 98, 2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
S

Slobodan Brcin \(eMVP\)

Ups, sorry I meant "expand".

Slobodan Brcin (eMVP) said:
Folders are ok, but you must use extract command from command prompt on
every file.

Regards,
Slobodan

Gianluca Facca said:
Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support component and then manually
copy all files to their appropriate folders, but then I connect the modem,
appears the installation windows and going on with the installation it gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca
will
be
supported in your image, not only device that you use component for.

Let us know if this is working for ISDN, or if you have troubles so we can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000 ====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, , "P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--
;===================================================================
; NDIS WAN Miniport
;===================================================================
;========================= Win2000 ====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows 98,
2000,
 
G

Gianluca Facca

The files wdmwanmp.sys and isdn_u.sys I putted in
windows\system32\driver folder are expanded
Have I to make any change to .inf file?

Regards,
Gianluca


Slobodan Brcin (eMVP) said:
Ups, sorry I meant "expand".

Slobodan Brcin (eMVP) said:
Folders are ok, but you must use extract command from command prompt on
every file.

Regards,
Slobodan

Gianluca Facca said:
Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support component and then manually
copy all files to their appropriate folders, but then I connect the modem,
appears the installation windows and going on with the installation it gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Hi Gianluca,

Since ISDN device is not critical for first OS load, you can try to use
following procedure instead of classic import of inf file from CD.
You should create component from scratch, with name, appropriate category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that this is working.
You can do that by creating your image without any ISDN support component
and then you should manually copy all files to their appropriate folders.

OS PnP will do the rest of installation. Most hardware drivers can be
installed in this way. So all devices that are covered by inf file
will
be
supported in your image, not only device that you use component for.

Let us know if this is working for ISDN, or if you have troubles so
we
can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000 ====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--
;===================================================================
; NDIS WAN Miniport
;===================================================================
;========================= Win2000 ====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows 98,
2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
S

Slobodan Brcin \(eMVP\)

only dll and sys files should be expanded.

Also you should see what file is missing.
Open the setupapi.log.

BTW: Can you manually install the drivers?
If you can't then you have some dependency that need to be resolved.

Regards,
Slobodan

Gianluca Facca said:
The files wdmwanmp.sys and isdn_u.sys I putted in
windows\system32\driver folder are expanded
Have I to make any change to .inf file?

Regards,
Gianluca


Slobodan Brcin (eMVP) said:
Ups, sorry I meant "expand".

to
use
so
we
can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000
====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--
;===================================================================
; NDIS WAN Miniport
;===================================================================
;========================= Win2000
====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows 98, 2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
G

Gianluca Facca

I can manually install the driver.
(Now i'm going to check setupapi.log)

Regard,
gianluca

Slobodan Brcin (eMVP) said:
only dll and sys files should be expanded.

Also you should see what file is missing.
Open the setupapi.log.

BTW: Can you manually install the drivers?
If you can't then you have some dependency that need to be resolved.

Regards,
Slobodan

Gianluca Facca said:
The files wdmwanmp.sys and isdn_u.sys I putted in
windows\system32\driver folder are expanded
Have I to make any change to .inf file?

Regards,
Gianluca
installation
it
gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Hi Gianluca,

Since ISDN device is not critical for first OS load, you can try to
use
following procedure instead of classic import of inf file from CD.
You should create component from scratch, with name, appropriate
category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that this is working.
You can do that by creating your image without any ISDN support
component
and then you should manually copy all files to their appropriate
folders.

OS PnP will do the rest of installation. Most hardware drivers
can
be
installed in this way. So all devices that are covered by inf file
will
be
supported in your image, not only device that you use component for.

Let us know if this is working for ISDN, or if you have troubles
so
we
can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi,
USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi,
USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi,
USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi,
USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000
====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1, e8,03,00,00
HKR, , LogLevel, 1, 00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
;===================================================================
; NDIS WAN Miniport
;===================================================================
;========================= Win2000
====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows 98,
2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
G

Gianluca Facca

This is my Setupapi.log

[SetupAPI Log]
OS Version = 5.1.2600
Platform ID = 2 (NT)
Service Pack = 0.0
Suite = 0x0140
Product Type = 1
Architecture = x86
[2004/02/02 09:19:39 436.190]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#-166 Device install function: DIF_REMOVE.
#I289 Removing device "ROOT\WDMWANMPCI\0000".
#I048 Device removed.
[2004/02/02 09:19:35 436.185]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#I022 Found "USB\VID_07B0&PID_0006" in C:\WINDOWS\inf\isdndrv.inf; Device:
"USB ISDN TA"; Driver: "USB ISDN TA"; Provider: "ISDN Company"; Mfg: "ISDN
Company"; Section name: "ISDN5.ndi".
#I023 Actual install section: [ISDN5.ndi.NT]. Rank: 0x00000001. Effective
driver date: 09/02/2003.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#-124 Doing copy-only install of "USB\VID_07B0&PID_0006\ISDN_USB_TA".
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [ISDN5.ndi.NT.Interfaces] from
"c:\windows\inf\isdndrv.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#E151 Coinstaller 1 of 1 failed. Error 2: The system cannot find the file
specified.


Regards,
Gianluca

Gianluca Facca said:
I can manually install the driver.
(Now i'm going to check setupapi.log)

Regard,
gianluca

Slobodan Brcin (eMVP) said:
only dll and sys files should be expanded.

Also you should see what file is missing.
Open the setupapi.log.

BTW: Can you manually install the drivers?
If you can't then you have some dependency that need to be resolved.

Regards,
Slobodan

Gianluca Facca said:
The files wdmwanmp.sys and isdn_u.sys I putted in
windows\system32\driver folder are expanded
Have I to make any change to .inf file?

Regards,
Gianluca


"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Ups, sorry I meant "expand".

Folders are ok, but you must use extract command from command
prompt
on
every file.

Regards,
Slobodan

Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support component and then
manually
copy all files to their appropriate folders, but then I connect the
modem,
appears the installation windows and going on with the
installation
it
gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Hi Gianluca,

Since ISDN device is not critical for first OS load, you can
try
to
use
following procedure instead of classic import of inf file from CD.
You should create component from scratch, with name, appropriate
category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that this is working.
You can do that by creating your image without any ISDN support
component
and then you should manually copy all files to their appropriate
folders.

OS PnP will do the rest of installation. Most hardware drivers can
be
installed in this way. So all devices that are covered by inf file
will
be
supported in your image, not only device that you use
component
for.
Let us know if this is working for ISDN, or if you have troubl
es
so
we
can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi,
USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi,
USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi,
USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi,
USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000
====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0, "ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, , %V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--

;===================================================================
; NDIS WAN Miniport

;===================================================================
;========================= Win2000
====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows 98,
2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
S

Slobodan Brcin \(eMVP\)

Do you have component "Class Installer - Modems"?
Also you should resolve all dependencies.

If this does not help attach your inf file in next post.

Regards,
Slobodan

Gianluca Facca said:
This is my Setupapi.log

[SetupAPI Log]
OS Version = 5.1.2600
Platform ID = 2 (NT)
Service Pack = 0.0
Suite = 0x0140
Product Type = 1
Architecture = x86
[2004/02/02 09:19:39 436.190]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#-166 Device install function: DIF_REMOVE.
#I289 Removing device "ROOT\WDMWANMPCI\0000".
#I048 Device removed.
[2004/02/02 09:19:35 436.185]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#I022 Found "USB\VID_07B0&PID_0006" in C:\WINDOWS\inf\isdndrv.inf; Device:
"USB ISDN TA"; Driver: "USB ISDN TA"; Provider: "ISDN Company"; Mfg: "ISDN
Company"; Section name: "ISDN5.ndi".
#I023 Actual install section: [ISDN5.ndi.NT]. Rank: 0x00000001. Effective
driver date: 09/02/2003.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#-124 Doing copy-only install of "USB\VID_07B0&PID_0006\ISDN_USB_TA".
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [ISDN5.ndi.NT.Interfaces] from
"c:\windows\inf\isdndrv.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#E151 Coinstaller 1 of 1 failed. Error 2: The system cannot find the file
specified.


Regards,
Gianluca

Gianluca Facca said:
I can manually install the driver.
(Now i'm going to check setupapi.log)

Regard,
gianluca

connect
the from
CD. drivers
can inf
file
troubl
es
so
we
can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi,
USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi,
USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi,
USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi,
USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000
====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--

;===================================================================
; NDIS WAN Miniport

;===================================================================
;========================= Win2000
====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for
Windows
98,
2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
G

Gianluca Facca

Yes, I have that component, so I attached the inf file
Thank You for your Help.
Regards,
Gianluca

Slobodan Brcin (eMVP) said:
Do you have component "Class Installer - Modems"?
Also you should resolve all dependencies.

If this does not help attach your inf file in next post.

Regards,
Slobodan

Gianluca Facca said:
This is my Setupapi.log

[SetupAPI Log]
OS Version = 5.1.2600
Platform ID = 2 (NT)
Service Pack = 0.0
Suite = 0x0140
Product Type = 1
Architecture = x86
[2004/02/02 09:19:39 436.190]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#-166 Device install function: DIF_REMOVE.
#I289 Removing device "ROOT\WDMWANMPCI\0000".
#I048 Device removed.
[2004/02/02 09:19:35 436.185]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#I022 Found "USB\VID_07B0&PID_0006" in C:\WINDOWS\inf\isdndrv.inf; Device:
"USB ISDN TA"; Driver: "USB ISDN TA"; Provider: "ISDN Company"; Mfg: "ISDN
Company"; Section name: "ISDN5.ndi".
#I023 Actual install section: [ISDN5.ndi.NT]. Rank: 0x00000001. Effective
driver date: 09/02/2003.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#-124 Doing copy-only install of "USB\VID_07B0&PID_0006\ISDN_USB_TA".
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [ISDN5.ndi.NT.Interfaces] from
"c:\windows\inf\isdndrv.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#E151 Coinstaller 1 of 1 failed. Error 2: The system cannot find the file
specified.


Regards,
Gianluca

Gianluca Facca said:
I can manually install the driver.
(Now i'm going to check setupapi.log)

Regard,
gianluca

"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
only dll and sys files should be expanded.

Also you should see what file is missing.
Open the setupapi.log.

BTW: Can you manually install the drivers?
If you can't then you have some dependency that need to be resolved.

Regards,
Slobodan

The files wdmwanmp.sys and isdn_u.sys I putted in
windows\system32\driver folder are expanded
Have I to make any change to .inf file?

Regards,
Gianluca


"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Ups, sorry I meant "expand".

Folders are ok, but you must use extract command from command prompt
on
every file.

Regards,
Slobodan

Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support component and then
manually
copy all files to their appropriate folders, but then I connect
the
modem,
appears the installation windows and going on with the
installation
it
gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Hi Gianluca,

Since ISDN device is not critical for first OS load, you
can
try
to
use
following procedure instead of classic import of inf file from
CD.
You should create component from scratch, with name, appropriate
category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that this is
working.
You can do that by creating your image without any ISDN support
component
and then you should manually copy all files to their appropriate
folders.

OS PnP will do the rest of installation. Most hardware drivers
can
be
installed in this way. So all devices that are covered by inf
file
will
be
supported in your image, not only device that you use component
for.

Let us know if this is working for ISDN, or if you have
troubl
es
so
we
can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi,
USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi,
USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi,
USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi,
USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000
====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg, ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0, "ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;---------------------------------------------------------------------------
--

;===================================================================
; NDIS WAN Miniport

;===================================================================
;========================= Win2000
====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0, "0"
;HKR, , MLP_NDIS, 0, "0"
HKR, , IsdnSwitchTypes, 0x10001, 0x80
HKR, Ndi, Service, 0,
"WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
HKR, , HiWater, 0x10001, 0x30
HKR, , LowWater, 0x10001, 0x20
HKR, , AddTime, 0x10001, 0x3c
HKR, , DropTime, 0x10001, 0x3c
HKR, , MLP, 0x10001, 0
HKR, , BOD, 0x10001, 0
HKR, , DBA, 0x10001, 0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001, 0
HKR, , IsdnNumDChannels, 0x10001, 1
HKR, , WanEndPoints, 0x10001, 2
HKR, 0, IsdnNumBChannels, 0x10001, 2
HKR, 0\0, IsdnPhoneNumber, 0, ""
HKR, 0\0, IsdnSpid, 0, ""
HKR, 0\1, IsdnPhoneNumber, 0, ""
HKR, 0\1, IsdnSpid, 0, ""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows
98,
2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
S

Slobodan Brcin \(eMVP\)

Check your file names.

You never mentioned:
isdncoin.dll - Coinstaller this file is missing and it is a reason
why you have coinstaller error.

Regards,
Slobodan

Gianluca Facca said:
Yes, I have that component, so I attached the inf file
Thank You for your Help.
Regards,
Gianluca

Slobodan Brcin (eMVP) said:
Do you have component "Class Installer - Modems"?
Also you should resolve all dependencies.

If this does not help attach your inf file in next post.

Regards,
Slobodan

Gianluca Facca said:
This is my Setupapi.log

[SetupAPI Log]
OS Version = 5.1.2600
Platform ID = 2 (NT)
Service Pack = 0.0
Suite = 0x0140
Product Type = 1
Architecture = x86
[2004/02/02 09:19:39 436.190]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#-166 Device install function: DIF_REMOVE.
#I289 Removing device "ROOT\WDMWANMPCI\0000".
#I048 Device removed.
[2004/02/02 09:19:35 436.185]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#I022 Found "USB\VID_07B0&PID_0006" in C:\WINDOWS\inf\isdndrv.inf; Device:
"USB ISDN TA"; Driver: "USB ISDN TA"; Provider: "ISDN Company"; Mfg: "ISDN
Company"; Section name: "ISDN5.ndi".
#I023 Actual install section: [ISDN5.ndi.NT]. Rank: 0x00000001. Effective
driver date: 09/02/2003.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#-124 Doing copy-only install of "USB\VID_07B0&PID_0006\ISDN_USB_TA".
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [ISDN5.ndi.NT.Interfaces] from
"c:\windows\inf\isdndrv.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#E151 Coinstaller 1 of 1 failed. Error 2: The system cannot find the file
specified.


Regards,
Gianluca

"Gianluca Facca" <[email protected]> ha scritto nel messaggio
I can manually install the driver.
(Now i'm going to check setupapi.log)

Regard,
gianluca

"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
only dll and sys files should be expanded.

Also you should see what file is missing.
Open the setupapi.log.

BTW: Can you manually install the drivers?
If you can't then you have some dependency that need to be resolved.

Regards,
Slobodan

The files wdmwanmp.sys and isdn_u.sys I putted in
windows\system32\driver folder are expanded
Have I to make any change to .inf file?

Regards,
Gianluca


"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Ups, sorry I meant "expand".

Folders are ok, but you must use extract command from command
prompt
on
every file.

Regards,
Slobodan

Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support component and then
manually
copy all files to their appropriate folders, but then I connect
the
modem,
appears the installation windows and going on with the
installation
it
gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Hi Gianluca,

Since ISDN device is not critical for first OS load, you can
try
to
use
following procedure instead of classic import of inf
file
from
CD.
You should create component from scratch, with name,
appropriate
category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that this is
working.
You can do that by creating your image without any ISDN
support
component
and then you should manually copy all files to their
appropriate
folders.

OS PnP will do the rest of installation. Most hardware drivers
can
be
installed in this way. So all devices that are covered
by
inf
file
will
be
supported in your image, not only device that you use
component
for.

Let us know if this is working for ISDN, or if you have troubl
es
so
we
can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi,
USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi,
USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi,
USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi,
USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000
====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
;--------------------------------------------------------------------------- 0x10001,
0x10001,
0x10001,
0x10001,
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0x10001,
0x10001,
0
[ISDN2.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0x10001,
0x10001,
0
[ISDN3.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0x10001,
0x10001,
0
[ISDN4.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0x10001,
0x10001,
0
[ISDN5.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0x10001,
0x10001,
0
[ISDN6.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0x10001,
0x10001,
0
[ISDN7.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0x10001,
0x10001,
;---------------------------------------------------------------------------
--

;===================================================================
; NDIS WAN Miniport

;===================================================================
;========================= Win2000
====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0,
"0"
;HKR, , MLP_NDIS, 0,
"0"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0x10001,
0x10001,
0x10001,
0x10001,
0x10001,
0x10001,
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for Windows
98,
2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
G

Gianluca Facca

Sorry Slobodan,
in previous post I wrote isdnICON instead of isdnCOIN

Regards,
Gianluca

Slobodan Brcin (eMVP) said:
Check your file names.

You never mentioned:
isdncoin.dll - Coinstaller this file is missing and it is a reason
why you have coinstaller error.

Regards,
Slobodan

Gianluca Facca said:
Yes, I have that component, so I attached the inf file
Thank You for your Help.
Regards,
Gianluca

Slobodan Brcin (eMVP) said:
Do you have component "Class Installer - Modems"?
Also you should resolve all dependencies.

If this does not help attach your inf file in next post.

Regards,
Slobodan

This is my Setupapi.log

[SetupAPI Log]
OS Version = 5.1.2600
Platform ID = 2 (NT)
Service Pack = 0.0
Suite = 0x0140
Product Type = 1
Architecture = x86
[2004/02/02 09:19:39 436.190]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#-166 Device install function: DIF_REMOVE.
#I289 Removing device "ROOT\WDMWANMPCI\0000".
#I048 Device removed.
[2004/02/02 09:19:35 436.185]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#I022 Found "USB\VID_07B0&PID_0006" in C:\WINDOWS\inf\isdndrv.inf; Device:
"USB ISDN TA"; Driver: "USB ISDN TA"; Provider: "ISDN Company"; Mfg: "ISDN
Company"; Section name: "ISDN5.ndi".
#I023 Actual install section: [ISDN5.ndi.NT]. Rank: 0x00000001. Effective
driver date: 09/02/2003.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#-124 Doing copy-only install of "USB\VID_07B0&PID_0006\ISDN_USB_TA".
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [ISDN5.ndi.NT.Interfaces] from
"c:\windows\inf\isdndrv.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#E151 Coinstaller 1 of 1 failed. Error 2: The system cannot find the file
specified.


Regards,
Gianluca

"Gianluca Facca" <[email protected]> ha scritto nel messaggio
I can manually install the driver.
(Now i'm going to check setupapi.log)

Regard,
gianluca

"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
only dll and sys files should be expanded.

Also you should see what file is missing.
Open the setupapi.log.

BTW: Can you manually install the drivers?
If you can't then you have some dependency that need to be resolved.

Regards,
Slobodan

The files wdmwanmp.sys and isdn_u.sys I putted in
windows\system32\driver folder are expanded
Have I to make any change to .inf file?

Regards,
Gianluca


"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Ups, sorry I meant "expand".

Folders are ok, but you must use extract command from command
prompt
on
every file.

Regards,
Slobodan

Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support component and
then
manually
copy all files to their appropriate folders, but then I
connect
the
modem,
appears the installation windows and going on with the
installation
it
gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel
messaggio
Hi Gianluca,

Since ISDN device is not critical for first OS load,
you
can
try
to
use
following procedure instead of classic import of inf file
from
CD.
You should create component from scratch, with name,
appropriate
category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that
this
is
working.
You can do that by creating your image without any ISDN
support
component
and then you should manually copy all files to their
appropriate
folders.

OS PnP will do the rest of installation. Most hardware
drivers
can
be
installed in this way. So all devices that are covered by
inf
file
will
be
supported in your image, not only device that you use
component
for.

Let us know if this is working for ISDN, or if you have
troubl
es
so
we
can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi,
USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi,
USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi,
USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi,
USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP, USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000
====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
;---------------------------------------------------------------------------
0x10001,
0
HKR, , IsdnNumDChannels,
0x10001,
1
HKR, , WanEndPoints,
0x10001,
2
HKR, 0, IsdnNumBChannels,
0x10001,
2
HKR, 0\0, IsdnPhoneNumber, 0,
""
HKR, 0\0, IsdnSpid, 0,
""
HKR, 0\1, IsdnPhoneNumber, 0,
""
HKR, 0\1, IsdnSpid, 0,
""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1, 5
HKR, , G711_PCM, 1, 0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, , 0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
;---------------------------------------------------------------------------
;===================================================================
; NDIS WAN Miniport

;===================================================================
;========================= Win2000
====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0,
"0"
;HKR, , MLP_NDIS, 0,
"0"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect,
0x10001,
0
HKR, , IsdnNumDChannels,
0x10001,
1
HKR, , WanEndPoints,
0x10001,
2
HKR, 0, IsdnNumBChannels,
0x10001,
2
HKR, 0\0, IsdnPhoneNumber, 0,
""
HKR, 0\0, IsdnSpid, 0,
""
HKR, 0\1, IsdnPhoneNumber, 0,
""
HKR, 0\1, IsdnSpid, 0,
""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32, ,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for
Windows
98,
2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
S

Slobodan Brcin \(eMVP\)

This driver should install without any trouble.

Since you said:
- You can install it manually.
- All files are where they should be
- You unpacked all files dll as well.
- You have "Class Installer - Modems"
- You have resolved all dependencies.

- Try adding "Class Installer - Network adapters" and resolve all
dependencies.

If this does not work, then I have no more ideas unless you somehow use
filemon.exe or kernel debugger to see what file if missing.


Regards,
Slobodan

Gianluca Facca said:
Sorry Slobodan,
in previous post I wrote isdnICON instead of isdnCOIN

Regards,
Gianluca

Slobodan Brcin (eMVP) said:
Check your file names.

You never mentioned:
isdncoin.dll - Coinstaller this file is missing and it is a reason
why you have coinstaller error.

Regards,
Slobodan

Gianluca Facca said:
Yes, I have that component, so I attached the inf file
Thank You for your Help.
Regards,
Gianluca

"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Do you have component "Class Installer - Modems"?
Also you should resolve all dependencies.

If this does not help attach your inf file in next post.

Regards,
Slobodan

This is my Setupapi.log

[SetupAPI Log]
OS Version = 5.1.2600
Platform ID = 2 (NT)
Service Pack = 0.0
Suite = 0x0140
Product Type = 1
Architecture = x86
[2004/02/02 09:19:39 436.190]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#-166 Device install function: DIF_REMOVE.
#I289 Removing device "ROOT\WDMWANMPCI\0000".
#I048 Device removed.
[2004/02/02 09:19:35 436.185]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#I022 Found "USB\VID_07B0&PID_0006" in C:\WINDOWS\inf\isdndrv.inf;
Device:
"USB ISDN TA"; Driver: "USB ISDN TA"; Provider: "ISDN Company"; Mfg:
"ISDN
Company"; Section name: "ISDN5.ndi".
#I023 Actual install section: [ISDN5.ndi.NT]. Rank: 0x00000001.
Effective
driver date: 09/02/2003.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#-124 Doing copy-only install of "USB\VID_07B0&PID_0006\ISDN_USB_TA".
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [ISDN5.ndi.NT.Interfaces] from
"c:\windows\inf\isdndrv.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#E151 Coinstaller 1 of 1 failed. Error 2: The system cannot find the
file
specified.


Regards,
Gianluca

"Gianluca Facca" <[email protected]> ha scritto nel messaggio
I can manually install the driver.
(Now i'm going to check setupapi.log)

Regard,
gianluca

"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
only dll and sys files should be expanded.

Also you should see what file is missing.
Open the setupapi.log.

BTW: Can you manually install the drivers?
If you can't then you have some dependency that need to be resolved.

Regards,
Slobodan

The files wdmwanmp.sys and isdn_u.sys I putted in
windows\system32\driver folder are expanded
Have I to make any change to .inf file?

Regards,
Gianluca


"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Ups, sorry I meant "expand".

Folders are ok, but you must use extract command from command
prompt
on
every file.

Regards,
Slobodan

Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support component and
then
manually
copy all files to their appropriate folders, but then I
connect
the
modem,
appears the installation windows and going on with the
installation
it
gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel
messaggio
Hi Gianluca,

Since ISDN device is not critical for first OS load, you
can
try
to
use
following procedure instead of classic import of inf file
from
CD.
You should create component from scratch, with name,
appropriate
category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that
this
is
working.
You can do that by creating your image without any ISDN
support
component
and then you should manually copy all files to their
appropriate
folders.

OS PnP will do the rest of installation. Most hardware
drivers
can
be
installed in this way. So all devices that are
covered
by
inf
file
will
be
supported in your image, not only device that you use
component
for.

Let us know if this is working for ISDN, or if you have
troubl
es
so
we
can
help you further.

Regards,
Slobodan


I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi,
USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi,
USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi,
USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi,
USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi, USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi, USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi, USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi, USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi, USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP,
USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi, USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000
====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect, 0x10001,
0
HKR, , IsdnNumDChannels, 0x10001,
1
HKR, , WanEndPoints, 0x10001,
2
HKR, 0, IsdnNumBChannels, 0x10001,
2
HKR, 0\0, IsdnPhoneNumber, 0,
""
HKR, 0\0, IsdnSpid, 0,
""
HKR, 0\1, IsdnPhoneNumber, 0,
""
HKR, 0\1, IsdnSpid, 0,
""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP, 0x10001,
0
HKR, , BOD, 0x10001,
0
HKR, , DBA, 0x10001,
0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP, 0x10001,
0
HKR, , BOD, 0x10001,
0
HKR, , DBA, 0x10001,
0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP, 0x10001,
0
HKR, , BOD, 0x10001,
0
HKR, , DBA, 0x10001,
0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP, 0x10001,
0
HKR, , BOD, 0x10001,
0
HKR, , DBA, 0x10001,
0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP, 0x10001,
0
HKR, , BOD, 0x10001,
0
HKR, , DBA, 0x10001,
0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP, 0x10001,
0
HKR, , BOD, 0x10001,
0
HKR, , DBA, 0x10001,
0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP, 0x10001,
0
HKR, , BOD, 0x10001,
0
HKR, , DBA, 0x10001,
;---------------------------------------------------------------------------
--


;===================================================================
; NDIS WAN Miniport


;===================================================================
;========================= Win2000
====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0,
"0"
;HKR, , MLP_NDIS, 0,
"0"
HKR, , IsdnSwitchTypes, 0x10001,
0x80
HKR, Ndi, Service, 0,
"WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
HKR, , HiWater, 0x10001,
0x30
HKR, , LowWater, 0x10001,
0x20
HKR, , AddTime, 0x10001,
0x3c
HKR, , DropTime, 0x10001,
0x3c
HKR, , MLP, 0x10001,
0
HKR, , BOD, 0x10001,
0
HKR, , DBA, 0x10001,
0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect, 0x10001,
0
HKR, , IsdnNumDChannels, 0x10001,
1
HKR, , WanEndPoints, 0x10001,
2
HKR, 0, IsdnNumBChannels, 0x10001,
2
HKR, 0\0, IsdnPhoneNumber, 0,
""
HKR, 0\0, IsdnSpid, 0,
""
HKR, 0\1, IsdnPhoneNumber, 0,
""
HKR, 0\1, IsdnSpid, 0,
""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32, 0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32,
,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for
Windows
98,
2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 
G

Gianluca Facca

Thank You

Regards,
Gianluca
Slobodan Brcin (eMVP) said:
This driver should install without any trouble.

Since you said:
- You can install it manually.
- All files are where they should be
- You unpacked all files dll as well.
- You have "Class Installer - Modems"
- You have resolved all dependencies.

- Try adding "Class Installer - Network adapters" and resolve all
dependencies.

If this does not work, then I have no more ideas unless you somehow use
filemon.exe or kernel debugger to see what file if missing.


Regards,
Slobodan

Gianluca Facca said:
Sorry Slobodan,
in previous post I wrote isdnICON instead of isdnCOIN

Regards,
Gianluca

Slobodan Brcin (eMVP) said:
Check your file names.

You never mentioned:
isdncoin.dll - Coinstaller this file is missing and it is a reason
why you have coinstaller error.

Regards,
Slobodan

Yes, I have that component, so I attached the inf file
Thank You for your Help.
Regards,
Gianluca

"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Do you have component "Class Installer - Modems"?
Also you should resolve all dependencies.

If this does not help attach your inf file in next post.

Regards,
Slobodan

This is my Setupapi.log

[SetupAPI Log]
OS Version = 5.1.2600
Platform ID = 2 (NT)
Service Pack = 0.0
Suite = 0x0140
Product Type = 1
Architecture = x86
[2004/02/02 09:19:39 436.190]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#-166 Device install function: DIF_REMOVE.
#I289 Removing device "ROOT\WDMWANMPCI\0000".
#I048 Device removed.
[2004/02/02 09:19:35 436.185]
#-198 Command line processed: "C:\WINDOWS\System32\mmc.exe"
C:\WINDOWS\system32\devmgmt.msc /s
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#I022 Found "USB\VID_07B0&PID_0006" in C:\WINDOWS\inf\isdndrv.inf;
Device:
"USB ISDN TA"; Driver: "USB ISDN TA"; Provider: "ISDN Company"; Mfg:
"ISDN
Company"; Section name: "ISDN5.ndi".
#I023 Actual install section: [ISDN5.ndi.NT]. Rank: 0x00000001.
Effective
driver date: 09/02/2003.
#-019 Searching for hardware ID(s):
usb\vid_07b0&pid_0006&rev_0100,usb\vid_07b0&pid_0006
#-018 Searching for compatible ID(s):
usb\class_02&subclass_80&prot_ff,usb\class_02&subclass_80,usb\class_02
#-124 Doing copy-only install of "USB\VID_07B0&PID_0006\ISDN_USB_TA".
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [ISDN5.ndi.NT.Interfaces] from
"c:\windows\inf\isdndrv.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#E151 Coinstaller 1 of 1 failed. Error 2: The system cannot find the
file
specified.


Regards,
Gianluca

"Gianluca Facca" <[email protected]> ha scritto nel messaggio
I can manually install the driver.
(Now i'm going to check setupapi.log)

Regard,
gianluca

"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
only dll and sys files should be expanded.

Also you should see what file is missing.
Open the setupapi.log.

BTW: Can you manually install the drivers?
If you can't then you have some dependency that need to be
resolved.

Regards,
Slobodan

The files wdmwanmp.sys and isdn_u.sys I putted in
windows\system32\driver folder are expanded
Have I to make any change to .inf file?

Regards,
Gianluca


"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel messaggio
Ups, sorry I meant "expand".

Folders are ok, but you must use extract command from
command
prompt
on
every file.

Regards,
Slobodan

Thank you for your answer, but i am yet in trouble:
I created my image without any ISDN support
component
and
then
manually
copy all files to their appropriate folders, but
then
I
connect
the
modem,
appears the installation windows and going on with the
installation
it
gives
me this error:

"There was an error installing this hardware"
"An error occurred during the installation of device"
"The system cannot find the file specified."

The driver for my modem contains the following files:

Isdndrv.inf
wdmwanmp.sy_
isdn_u.sy_
isdnicon.dll
capi2032.dll
capi20.dll
capitask.exe

And the files I copy to their appropriate folders are:

Isdndrv.inf (in c:\windows\inf)
wdmwanmp.sys (in c:\windows\system32\driver)
isdn_u.sys (in c:\windows\system32\driver)
isdnicon.dll (in c:\windows\system32)
capi2032.dll (in c:\windows\system32)
capi20.dll (in c:\windows\system32)
capitask.exe (in c:\windows\system32)


Regards
Gianluca



"Slobodan Brcin (eMVP)" <[email protected]> ha scritto nel
messaggio
Hi Gianluca,

Since ISDN device is not critical for first OS
load,
you
can
try
to
use
following procedure instead of classic import of inf
file
from
CD.
You should create component from scratch, with name,
appropriate
category
and info you want.

Component will only need to copy inf file to inf folder.
sys file to system32\drivers
and dll to system32 folder.

Before you create component you can make sure that this
is
working.
You can do that by creating your image without any ISDN
support
component
and then you should manually copy all files to their
appropriate
folders.

OS PnP will do the rest of installation. Most hardware
drivers
can
be
installed in this way. So all devices that are covered
by
inf
file
will
be
supported in your image, not only device that you use
component
for.

Let us know if this is working for ISDN, or if you have
troubl
es
so
we
can
help you further.

Regards,
Slobodan


message
I am trying to build a component for isdn usb modem
Importing inf file I received these warnings:
[ISDN7.ndi.NT] Cannot handle Key Bustype
[WDMwanMP.ndi.NT] Cannot Handle Key Characteristics

Moreover after fba process, the driver isn't
installed.

Can any one help me?

the inf file is:

[Version]
CatalogFile = isdndrv.cat
DriverVer = 09/02/2003, 3.36c
Signature = $Windows NT$
Class = Net
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider = %V_ISDN%
;LayoutFile = layout.inf

[Manufacturer]
%V_ISDN%=ISDN

[ControlFlags]
ExcludeFromSelect = USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI

InteractiveInstall =USB\VID_07B0&PID_0001, \
USB\VID_07B0&PID_0002, \
USB\VID_07B0&PID_0003, \
USB\VID_07B0&PID_0005, \
USB\VID_07B0&PID_0006, \
USB\VID_07B0&PID_0007, \
USB\VID_07B0&PID_0008,
WDMWANMPCI


[ISDN]
%ISDN.DeviceDesc1% = ISDN1.ndi,
USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi,
USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi,
USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi,
USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndi,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndi,
USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi,
USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI

;======== WinXP ========
[ISDN.NT.5.1]
%ISDN.DeviceDesc1% = ISDN1.ndi,
USB\VID_07B0&PID_0001
%ISDN.DeviceDesc2% = ISDN2.ndi,
USB\VID_07B0&PID_0002
%ISDN.DeviceDesc3% = ISDN3.ndi,
USB\VID_07B0&PID_0003
%ISDN.DeviceDesc4% = ISDN4.ndi,
USB\VID_07B0&PID_0005
%ISDN.DeviceDesc5% = ISDN5.ndiXP,
USB\VID_07B0&PID_0006
%ISDN.DeviceDesc6% = ISDN6.ndiXP,
USB\VID_07B0&PID_0007
%ISDN.DeviceDesc7% = ISDN7.ndi,
USB\VID_07B0&PID_0008
%WDMWANMP.DeviceDesc% = WDMWANMP.ndi, WDMWANMPCI


;========================= Win2000
====================================
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN2.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN3.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN4.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN5.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN6.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles

[ISDN7.ndi.NT.CoInstallers]
AddReg = ISDN.coinst.reg
CopyFiles = ISDN.coinst.CopyFiles
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT]
AddReg = ISDN1.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN2.ndi.NT]
AddReg = ISDN2.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN3.ndi.NT]
AddReg = ISDN3.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN4.ndi.NT]
AddReg = ISDN4.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN5.ndi.NT]
AddReg = ISDN5.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN6.ndi.NT]
AddReg = ISDN6.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB

[ISDN7.ndi.NT]
AddReg = ISDN7.ndis.reg, ISDN.coinst.reg,
ISDN.nt.reg
CopyFiles = ISDN.CopyFiles.NT, dll.CopyFiles.NT
Characteristics = 0x04 ; NCF_PHYSICAL
BusType = 0 ; USB
;---------------------------------------------------------------------------
--
[ISDN1.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc1%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes,
0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN2.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc2%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes,
0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN3.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc3%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes,
0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN4.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc4%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes,
0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN5.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc5%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes,
0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN6.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc6%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes,
0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"

[ISDN7.ndis.reg]
HKR, , , 0,
%ISDN.DeviceDesc7%
HKR, , CardType, 0,
"ISDN
usb"
HKR, , IsdnSwitchTypes,
0x10001,
0x80
HKR, Ndi, Service, 0,
"ISDN_U"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
;---------------------------------------------------------------------------
--

[ISDN.nt.reg]
HKR, , IsdnAutoSwitchDetect,
0x10001,
0
HKR, , IsdnNumDChannels,
0x10001,
1
HKR, , WanEndPoints,
0x10001,
2
HKR, 0, IsdnNumBChannels,
0x10001,
2
HKR, 0\0, IsdnPhoneNumber, 0,
""
HKR, 0\0, IsdnSpid, 0,
""
HKR, 0\1, IsdnPhoneNumber, 0,
""
HKR, 0\1, IsdnSpid, 0,
""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[ISDN1.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService1

[ISDN2.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService2

[ISDN3.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService3

[ISDN4.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService4

[ISDN5.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService6

[ISDN7.ndi.NT.Services]
AddService = ISDN_u, 2, ISDNService7

;======== WinXP ========
[ISDN5.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService5

[ISDN6.ndiXP.NT.Services]
AddService = ISDN_u, 2, ISDNService6
;---------------------------------------------------------------------------
--
[ISDNService1]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN1.ServiceRegParams

[ISDNService2]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN2.ServiceRegParams

[ISDNService3]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN3.ServiceRegParams

[ISDNService4]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN4.ServiceRegParams

[ISDNService5]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN5.ServiceRegParams

[ISDNService6]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN6.ServiceRegParams

[ISDNService7]
DisplayName = "ISDN USB CAPI"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ;
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ISDN_u.sys
;LoadOrderGroup = NDIS
AddReg = ISDN7.ServiceRegParams
;---------------------------------------------------------------------------
--
[ISDN1.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0001"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc1%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater,
0x10001,
0x30
HKR, , LowWater,
0x10001,
0x20
HKR, , AddTime,
0x10001,
0x3c
HKR, , DropTime,
0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN2.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0002"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc2%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater,
0x10001,
0x30
HKR, , LowWater,
0x10001,
0x20
HKR, , AddTime,
0x10001,
0x3c
HKR, , DropTime,
0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN3.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0003"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc3%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater,
0x10001,
0x30
HKR, , LowWater,
0x10001,
0x20
HKR, , AddTime,
0x10001,
0x3c
HKR, , DropTime,
0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN4.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0005"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc4%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater,
0x10001,
0x30
HKR, , LowWater,
0x10001,
0x20
HKR, , AddTime,
0x10001,
0x3c
HKR, , DropTime,
0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN5.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0006"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc5%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater,
0x10001,
0x30
HKR, , LowWater,
0x10001,
0x20
HKR, , AddTime,
0x10001,
0x3c
HKR, , DropTime,
0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN6.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0007"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc6%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater,
0x10001,
0x30
HKR, , LowWater,
0x10001,
0x20
HKR, , AddTime,
0x10001,
0x3c
HKR, , DropTime,
0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0

[ISDN7.ServiceRegParams]
HKR, , ProviderName, ,
%V_ISDN%
HKR, , HardwareID, ,
"VID_07B0&PID_0008"
HKR, , RegID, ,
"P1;JNPF;>8$82;>"
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
HKR, , SwitchType, 1,
5
HKR, , G711_PCM, 1,
0
HKR, , LogBufferSize, 1,
e8,03,00,00
HKR, , LogLevel, 1,
00,00,00,00
HKR, , DeviceDesc, ,
%ISDN.DeviceDesc7%
HKR, , NDISFlag, ,
0
HKR,,NotFreeResource,1,1
HKR, , HiWater,
0x10001,
0x30
HKR, , LowWater,
0x10001,
0x20
HKR, , AddTime,
0x10001,
0x3c
HKR, , DropTime,
0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0
;---------------------------------------------------------------------------
--


;===================================================================
; NDIS WAN Miniport


;===================================================================
;========================= Win2000
====================================
[WDMWANMP.ndi.NT]
AddReg = WDMWANMP.ndis.reg
;CopyFiles = WDMWANMP.CopyFiles.NT
Characteristics = 0x01 ; NCF_VIRTUAL

[WDMWANMP.ndis.reg]
;;key for Miniport
;HKR, , Advanced, 0,
"0"
;HKR, , MLP_NDIS, 0,
"0"
HKR, , IsdnSwitchTypes,
0x10001,
0x80
HKR, Ndi, Service, 0,
"WDMWANMP"
HKR, Ndi\Interfaces, LowerRange, 0,
"nolower"
HKR, , HiWater,
0x10001,
0x30
HKR, , LowWater,
0x10001,
0x20
HKR, , AddTime,
0x10001,
0x3c
HKR, , DropTime,
0x10001,
0x3c
HKR, , MLP,
0x10001,
0
HKR, , BOD,
0x10001,
0
HKR, , DBA,
0x10001,
0
;; key for ISDN
HKR, , IsdnAutoSwitchDetect,
0x10001,
0
HKR, , IsdnNumDChannels,
0x10001,
1
HKR, , WanEndPoints,
0x10001,
2
HKR, 0, IsdnNumBChannels,
0x10001,
2
HKR, 0\0, IsdnPhoneNumber, 0,
""
HKR, 0\0, IsdnSpid, 0,
""
HKR, 0\1, IsdnPhoneNumber, 0,
""
HKR, 0\1, IsdnSpid, 0,
""
HKR, Ndi\Interfaces, UpperRange, 0,
"ndiswan"
;---------------------------------------------------------------------------
--
[WDMWANMP.ndi.NT.Services]
AddService = WDMWANMP, 2, WDMWANMP.Service

[WDMWANMP.Service]
DisplayName = "NDIS WAN miniport"
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\wdmwanmp.sys
LoadOrderGroup = NDIS
AddReg = WDMWANMP.ServiceRegParams

[WDMWANMP.ServiceRegParams]
HKR, , IsdnCard, ,
"ISDN_S_Interface_Card"
;---------------------------------------------------------------------------
--
[ISDN.coinst.reg]
HKR, , CoInstallers32,
0x10008,
"isdncoin.dll,ISDNCoInstall"
; HKR, , EnumPropPages32,
,
"isdncoin.dll,ISDNPropPageProvider"
;---------------------------------------------------------------------------
--
[SourceDisksNames]
1=%SOURCE_DISK_NAME%, "",

[SourceDisksFiles]
ISDN_U.SY_=1
CAPI2032.DLL=1
CAPI20.DLL=1
WDMWANMP.SY_=1
isdncoin.dll=1
capitask.exe=1

[DestinationDirs]
DefaultDestDir =11 ; System Directory
ISDN.CopyFiles.NT = 12
dll.CopyFiles.NT = 11
ISDN.coinst.CopyFiles = 11



;======== Win2000 ========
[ISDN.CopyFiles.NT]
ISDN_u.sys, ISDN_u.sy_
wdmwanmp.sys, wdmwanmp.sy_

[dll.CopyFiles.NT]
capi2032.dll
capi20.dll
capitask.exe

[ISDN.coinst.CopyFiles]
isdncoin.dll
;---------------------------------------------------------------------------;---------------------------------------------------------------------------
--
[Strings]
; Manufacturers
V_ISDN="ISDN Company"

; Device Descriptions
ISDN.DeviceDesc1="USB ISDN TA"
ISDN.DeviceDesc2="USB ISDN TA"
ISDN.DeviceDesc3="USB ISDN TA"
ISDN.DeviceDesc4="USB ISDN TA"
ISDN.DeviceDesc5="USB ISDN TA"
ISDN.DeviceDesc6="USB ISDN TA"
ISDN.DeviceDesc7="USB ISDN TA"

WDMWANMP.DeviceDesc="NDIS WAN Miniport Adapter"

; Name of Channel followed by number of channel
CHANNEL_NAME=" "

; Context help
ISDN.HELP="USB ISDN TA with 128Kbps data access for
Windows
98,
2000,
ME
and
XP."

; Source Disk Name
SOURCE_DISK_NAME="USB ISDN TA Installation CD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top