;
; Honeywell USB Serial Transport Driver (control)
;

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%Mfg%
DriverVer=01/18/2013,2.1.6.17
CatalogFile=honeywell_enum_control.cat

; ================= Device section =====================

[Manufacturer]
%Mfg%=DeviceList,NTx86,NTamd64

; For Win2K
[DeviceList]
%control_device%=CdcInstall, honeywell_enum_control

; For XP and later x86
[DeviceList.NTx86]
%control_device%=CdcInstall, honeywell_enum_control

; For XP and later x64
[DeviceList.NTamd64]
%control_device%=CdcInstall, honeywell_enum_control

[CdcInstall.NT]
CopyFiles=honeywell_enum.Files.Ext

[CdcInstall.NT.Services]
AddService = %honeywell_enum.SvcName%, %SPSVCINST_ASSOCSERVICE%, honeywell_enum.AddService

[honeywell_enum.AddService]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\honeywell_enum_21617.sys
AddReg         = honeywell_enum.AddReg
LoadOrderGroup = Base

[honeywell_enum.AddReg]
HKR, Parameters\Wdf, VerboseOn,        0x00010001, 0
HKR, Parameters\Wdf, VerifierOn,       0x00010001, 0
HKR, Parameters\Wdf, DbgBreakOnError,  0x00010001, 0
HKR, Parameters, UseControlDevice,     0x00010001, 1
; The following values will only be written to the registry if they don't
; exist already
HKR, Parameters, DebugLevel,           0x00010003, 2

[honeywell_enum.Files.Ext]
honeywell_enum_21617.sys,,,0x6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK

[SourceDisksNames]
1=%Disk_Description%,,,

[SourceDisksFiles]
honeywell_enum_21617.sys = 1

[DestinationDirs]
DefaultDestDir = 12

;-------------- WDF Coinstaller installation

[DestinationDirs]
CoInstaller_CopyFiles = 10,System32

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

[CoInstaller_CopyFiles]
wdfcoinstaller01009.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01009.dll,WdfCoInstaller"

[SourceDisksFiles]
wdfcoinstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[CdcInstall.NT.Wdf]
KmdfService = %honeywell_enum.SvcName%, honeywell_enum_wdfsect

[honeywell_enum_wdfsect]
KmdfLibraryVersion = 1.9

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

[Strings]
Mfg = "Honeywell International Inc."
Disk_Description = "Honeywell HSM Serial Driver Installation Disk"
control_device = "Honeywell Control Device"
honeywell_enum.SvcName = "honeywell_enum"
SPSVCINST_ASSOCSERVICE = 0x00000002

