I've a VideoCapture Card,I can install it under run-time, but can not import the inf file in componn

S

saber

Hello everybody:
have you ever experienced this?
A inf file of a hardware can not be imported in the component designer.
The hardware's driver contains only two file: the .inf file and the .sys
file.
When I imported the inf file, component designer tell me the importing
operation failed with errors.

Anyone can told me whether the .inf file is in correct format or not?


The inf file is completely shown as follow:
[Version]
signature="$WINDOWS NT$"
Class=MEDIA
Provider=%Hikvision%

[Manufacturer]
%Manufacturer%=Hikvision

[Hikvision]
%DS4001.DeviceDesc% = hikDrv4000, PCI\VEN_1131&DEV_5402


[DestinationDirs]
DefaultDestDir=12

[hikDrv4000]
CopyFiles=hikDrv4000.CopyList

[hikDrv4000.Services]
AddService = hikDrv4000,0x00000002,hikDrv4000.AddReg

[hikDrv4000.AddReg]
ServiceType = 1 ; KERNEL MODE DRIVER
StartType = 2 ; AUTOMATIC
ErrorControl = 1 ; NORMAL
ServiceBinary = %12%\hikDrv4000.sys

[hikDrv4000.CopyList]
hikDrv4000.sys

[Strings]
Hikvision="Hangzhou Hikvision Digital Technology Co.,Ltd"
Manufacturer="Hangzhou Hikvision Digital Technology Co.,Ltd"
DS4001.DeviceDesc="Hikvision DS4000H H264 Board (Win2000)"
DiskId = "Install disk (1)"

[SourceDisksNames]
1=%DiskId%
 
S

saber

Sean,
Thanks very much.
The driver is a win2000 version. It can install and run under XP
Embedded.

I'll try your solution laters.

Thanks!

Saber

Sean Liming (eMVP) said:
Saber,

I just imported your INF. You want to use the custom import process options
for the manufacturer section. The section you want to add is Hikvision and
select Manaufacturer. The resources for the component get filled in
properly. Attached is the final SLD resulting from the import.

Is this a XP driver? Does it install and run under XPPro?

Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-By-Step and XP Embedded Advanced.



saber said:
Hello everybody:
have you ever experienced this?
A inf file of a hardware can not be imported in the component designer.
The hardware's driver contains only two file: the .inf file and the .sys
file.
When I imported the inf file, component designer tell me the importing
operation failed with errors.

Anyone can told me whether the .inf file is in correct format or not?


The inf file is completely shown as follow:
[Version]
signature="$WINDOWS NT$"
Class=MEDIA
Provider=%Hikvision%

[Manufacturer]
%Manufacturer%=Hikvision

[Hikvision]
%DS4001.DeviceDesc% = hikDrv4000, PCI\VEN_1131&DEV_5402


[DestinationDirs]
DefaultDestDir=12

[hikDrv4000]
CopyFiles=hikDrv4000.CopyList

[hikDrv4000.Services]
AddService = hikDrv4000,0x00000002,hikDrv4000.AddReg

[hikDrv4000.AddReg]
ServiceType = 1 ; KERNEL MODE DRIVER
StartType = 2 ; AUTOMATIC
ErrorControl = 1 ; NORMAL
ServiceBinary = %12%\hikDrv4000.sys

[hikDrv4000.CopyList]
hikDrv4000.sys

[Strings]
Hikvision="Hangzhou Hikvision Digital Technology Co.,Ltd"
Manufacturer="Hangzhou Hikvision Digital Technology Co.,Ltd"
DS4001.DeviceDesc="Hikvision DS4000H H264 Board (Win2000)"
DiskId = "Install disk (1)"

[SourceDisksNames]
1=%DiskId%
 
K

Kesavan

Well you never get that Inf work in that case.I tried but in vain,

saber said:
Sean,
Thanks very much.
The driver is a win2000 version. It can install and run under XP
Embedded.

I'll try your solution laters.

Thanks!

Saber

Sean Liming (eMVP) said:
Saber,

I just imported your INF. You want to use the custom import process options
for the manufacturer section. The section you want to add is Hikvision and
select Manaufacturer. The resources for the component get filled in
properly. Attached is the final SLD resulting from the import.

Is this a XP driver? Does it install and run under XPPro?

Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-By-Step and XP Embedded Advanced.



saber said:
Hello everybody:
have you ever experienced this?
A inf file of a hardware can not be imported in the component designer.
The hardware's driver contains only two file: the .inf file and the .sys
file.
When I imported the inf file, component designer tell me the importing
operation failed with errors.

Anyone can told me whether the .inf file is in correct format or not?


The inf file is completely shown as follow:
[Version]
signature="$WINDOWS NT$"
Class=MEDIA
Provider=%Hikvision%

[Manufacturer]
%Manufacturer%=Hikvision

[Hikvision]
%DS4001.DeviceDesc% = hikDrv4000, PCI\VEN_1131&DEV_5402


[DestinationDirs]
DefaultDestDir=12

[hikDrv4000]
CopyFiles=hikDrv4000.CopyList

[hikDrv4000.Services]
AddService = hikDrv4000,0x00000002,hikDrv4000.AddReg

[hikDrv4000.AddReg]
ServiceType = 1 ; KERNEL MODE DRIVER
StartType = 2 ; AUTOMATIC
ErrorControl = 1 ; NORMAL
ServiceBinary = %12%\hikDrv4000.sys

[hikDrv4000.CopyList]
hikDrv4000.sys

[Strings]
Hikvision="Hangzhou Hikvision Digital Technology Co.,Ltd"
Manufacturer="Hangzhou Hikvision Digital Technology Co.,Ltd"
DS4001.DeviceDesc="Hikvision DS4000H H264 Board (Win2000)"
DiskId = "Install disk (1)"

[SourceDisksNames]
1=%DiskId%
 
S

Sean Liming \(eMVP\)

Saber,

Just a follow-up, did the SLD and the driver work?


Regards,

Sean


saber said:
Sean,
Thanks very much.
The driver is a win2000 version. It can install and run under XP
Embedded.

I'll try your solution laters.

Thanks!

Saber

Sean Liming (eMVP) said:
Saber,

I just imported your INF. You want to use the custom import process options
for the manufacturer section. The section you want to add is Hikvision and
select Manaufacturer. The resources for the component get filled in
properly. Attached is the final SLD resulting from the import.

Is this a XP driver? Does it install and run under XPPro?

Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-By-Step and XP Embedded Advanced.



saber said:
Hello everybody:
have you ever experienced this?
A inf file of a hardware can not be imported in the component designer.
The hardware's driver contains only two file: the .inf file and the ..sys
file.
When I imported the inf file, component designer tell me the importing
operation failed with errors.

Anyone can told me whether the .inf file is in correct format or not?


The inf file is completely shown as follow:
[Version]
signature="$WINDOWS NT$"
Class=MEDIA
Provider=%Hikvision%

[Manufacturer]
%Manufacturer%=Hikvision

[Hikvision]
%DS4001.DeviceDesc% = hikDrv4000, PCI\VEN_1131&DEV_5402


[DestinationDirs]
DefaultDestDir=12

[hikDrv4000]
CopyFiles=hikDrv4000.CopyList

[hikDrv4000.Services]
AddService = hikDrv4000,0x00000002,hikDrv4000.AddReg

[hikDrv4000.AddReg]
ServiceType = 1 ; KERNEL MODE DRIVER
StartType = 2 ; AUTOMATIC
ErrorControl = 1 ; NORMAL
ServiceBinary = %12%\hikDrv4000.sys

[hikDrv4000.CopyList]
hikDrv4000.sys

[Strings]
Hikvision="Hangzhou Hikvision Digital Technology Co.,Ltd"
Manufacturer="Hangzhou Hikvision Digital Technology Co.,Ltd"
DS4001.DeviceDesc="Hikvision DS4000H H264 Board (Win2000)"
DiskId = "Install disk (1)"

[SourceDisksNames]
1=%DiskId%
 
Top