; Installation inf for ZAKANG
;
; (c) Copyright 2006 ZAKANG
;

[Version]
Signature="$WINDOWS NT$"
Class=Ports
Provider=%Provider%
ClassGUID={4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer=03/22/2007,1.0.1.122
CatalogFile=ZK_prt.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
1=%DiskString%,"ZK_prt.sys",,

[SourceDisksFiles]
ZK_prt.sys = 1
ZK_flt.sys = 1

[DestinationDirs]
DefaultDestDir = 10,system32\drivers 

[Manufacturer]
%Provider%=ZAKANG, NTAMD64
      
[ZAKANG]
%ZAKANG.DeviceDesc% = ZAKANG.Install, USB\Vid_05C6&Pid_3103&MI_02
    
[ZAKANG.NTAMD64]
%ZAKANG.DeviceDesc% = ZAKANG.Install, USB\Vid_05C6&Pid_3103&MI_02
    
[ZAKANG.Install.nt]
AddReg=ZAKANG.AddReg
CopyFiles=CopyFiles, CopyFiles.Win2K

[ZAKANG.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,LocationInformationOverride,,"ZAKANG Mobile Technologies"

[CopyFiles]

[CopyFiles.Win2K]
ZK_prt.sys
ZK_flt.sys

[ZAKANG.Install.NT.HW]
AddReg = UpperFilterAddReg

[ZAKANG.Install.nt.Services]
AddService = ZK_prt,0x00000002,ZAKANG.Install.AddService
AddService = ZK_flt,, ZAKANG.Install.AddFilter

[ZAKANG.Install.AddService]
DisplayName     = %ZAKANG.DeviceDesc%
Description	= %ZAKANG.DeviceDesc%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %10%\System32\Drivers\ZK_prt.sys

[ZAKANG.Install.AddFilter]
DisplayName	= %ZAKANG.Filter.DeviceDesc%
Description	= %ZAKANG.Filter.DeviceDesc%
ServiceType	= 1			;%SERVICE_KERNEL_DRIVER%
StartType	= 3			;%SERVICE_DEMAND_START%
ErrorControl	= 1			;%SERVICE_ERROR_NORMAL%	
ServiceBinary	= %12%\ZK_flt.sys

[UpperFilterAddreg]
HKR,,"UpperFilters",0x00010000,"ZK_flt"

;---------------------------------------------------------------;
[Strings]
Provider="ZAKANG"
ZAKANG.DeviceDesc="Zakang Mobile USB Port"
ZAKANG.Filter.DeviceDesc = "ZAKANG USB Filter Services"
DiskString="ZAKANG Mobile USB Port Install Disk" 
