;
; Copyright (c) 2005-2016 USB-COM-CDC/ACM
;
; USB-COM-CDC-ACM-Driver setup information file
;
; This file supports:
;     Windows XP         Windows XP x64 Edition
;     Windows Vista      Windows Vista x64
;     Windows 7          Windows 7 x64
;     Windows 8          Windows 8 x64
;     Windows 8.1        Windows 8.1 x64
;

;******************************************************************************
; Version Section
;------------------------------------------------------------------------------
[Version]
Signature="$Windows NT$"
DriverVer=07/12/2016,6.3.0.0
Provider=%S_Provider%
CatalogFile=cdcacmpo.cat

; ports
ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318}
Class=Ports



;******************************************************************************
; Manufacturer
;------------------------------------------------------------------------------
[Manufacturer]
%S_Mfg%=_Models, ntamd64


;******************************************************************************
; Models sections
;------------------------------------------------------------------------------
[_Models]
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4002
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4202
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4204
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4502
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4504
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4505
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4506
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4507
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4509
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4601
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4602
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4000
"USB Image Transfer Device"=_Install, USB\VID_05F9&PID_4007
"Barcode Scanner"=_Install, USB\VID_05F9&PID_221E&Cdc_Modem
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4004&Cdc_Modem
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4005&Cdc_Modem
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4006&Cdc_Modem
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4001
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4003
"Barcode Scanner"=_Install, USB\VID_080C&PID_0400
"Matrix120"=_Install, USB\VID_05F9&PID_4701&MI_02
"HP Modular SL Imaging Barcode Scanner"=_Install, USB\VID_03F0&PID_5339
"HP Linear Barcode Scanner"=_Install, USB\VID_03F0&PID_0639
"Serial Port for Barcode Scanner"=_Install, USB\VID_03F0&PID_0339
"HP Linear Barcode Scanner"=_Install, USB\VID_03F0&PID_0E39
"HP Modular Imaging Barcode Scanner"=_Install, USB\VID_03F0&PID_1139
"HP Presentation Barcode Scanner"=_Install, USB\VID_03F0&PID_1439
"HP Wireless Bluetooth Barcode Scanner"=_Install, USB\VID_03F0&PID_1F39
"HP Barcode Scanner with base station"=_Install, USB\VID_03F0&PID_2439
"HP Mobile Jacket Scanner"=_Install, USB\VID_03F0&PID_2F39
"HP RM Interface"=_Install, USB\VID_03F0&PID_4005&Cdc_Modem
"HP QS Wireless Barcode Scanner"=_Install, USB\VID_03F0&PID_4739


[_Models.ntamd64]
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4002
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4202
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4204
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4502
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4504
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4505
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4506
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4507
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4509
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4601
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4602
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4000
"USB Image Transfer Device"=_Install, USB\VID_05F9&PID_4007
"Barcode Scanner"=_Install, USB\VID_05F9&PID_221E&Cdc_Modem
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4004&Cdc_Modem
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4005&Cdc_Modem
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4006&Cdc_Modem
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4001
"Barcode Scanner"=_Install, USB\VID_05F9&PID_4003
"Barcode Scanner"=_Install, USB\VID_080C&PID_0400
"Matrix120"=_Install, USB\VID_05F9&PID_4701&MI_02
"HP Modular SL Imaging Barcode Scanner"=_Install, USB\VID_03F0&PID_5339
"HP Linear Barcode Scanner"=_Install, USB\VID_03F0&PID_0639
"Serial Port for Barcode Scanner"=_Install, USB\VID_03F0&PID_0339
"HP Linear Barcode Scanner"=_Install, USB\VID_03F0&PID_0E39
"HP Modular Imaging Barcode Scanner"=_Install, USB\VID_03F0&PID_1139
"HP Presentation Barcode Scanner"=_Install, USB\VID_03F0&PID_1439
"HP Wireless Bluetooth Barcode Scanner"=_Install, USB\VID_03F0&PID_1F39
"HP Barcode Scanner with base station"=_Install, USB\VID_03F0&PID_2439
"HP Mobile Jacket Scanner"=_Install, USB\VID_03F0&PID_2F39
"HP RM Interface"=_Install, USB\VID_03F0&PID_4005&Cdc_Modem
"HP QS Wireless Barcode Scanner"=_Install, USB\VID_03F0&PID_4739




;******************************************************************************
; Install Sections x86
;------------------------------------------------------------------------------
[_Install.ntx86]
CopyFiles=_CopyFiles_sys_x86
AddReg=_Common_AddReg

[_Install.ntx86.HW]
AddReg=_AddReg_Param

[_Install.ntx86.Services]
AddService = cdcacmpo, 0x00000002, _AddService_x86, _EventLog_x86

[_Install.ntx86.CoInstallers]
AddReg=_CoInst_AddReg_x86
CopyFiles=_CopyFiles_CoInst_x86

[_AddService_x86]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\cdcacmpo.sys

[_EventLog_x86]
AddReg=_EventLogAddReg_x86

[_EventLogAddReg_x86]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\cdcacmpo.sys"
HKR,,TypesSupported,  %REG_DWORD%, 7


;******************************************************************************
; Install Sections x64
;------------------------------------------------------------------------------
[_Install.ntamd64]
CopyFiles=_CopyFiles_sys_x64
AddReg=_Common_AddReg

[_Install.ntamd64.HW]
AddReg=_AddReg_Param

[_Install.ntamd64.Services]
AddService = cdcacmpo_x64, 0x00000002, _AddService_x64, _EventLog_x64

[_Install.ntamd64.CoInstallers]
AddReg=_CoInst_AddReg_x64
CopyFiles=_CopyFiles_CoInst_x64

[_AddService_x64]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\cdcacmpo_x64.sys

[_EventLog_x64]
AddReg=_EventLogAddReg_x64

[_EventLogAddReg_x64]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\cdcacmpo_x64.sys"
HKR,,TypesSupported,  %REG_DWORD%, 7


;******************************************************************************
; Parameter sections
;------------------------------------------------------------------------------
[_AddReg_Param]
HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{40994DFA-45A8-4da7-8B58-ACC2D7CEA825}"

; *********************************************************************
; *** the read buffer size grater than the FIFO size requires short ***
; *** packets from the device, see documentation for details!       ***
; *********************************************************************
HKR,,ReadBufferSize,  			%REG_DWORD%, 4096
HKR,,WriteBufferSize, 			%REG_DWORD%, 4096
HKR,,UseLogicBuffer,  			%REG_DWORD%, 0
HKR,,ReadBufferCount, 			%REG_DWORD%, 3
HKR,,WriteBufferCount,			%REG_DWORD%, 3

HKR,,SendLineCoding,  			%REG_DWORD%, 1
HKR,,SendLineState,   			%REG_DWORD%, 1
HKR,,SendBreak,       			%REG_DWORD%, 0
HKR,,SetLineStateBit6OnClose,	%REG_DWORD%, 1
; 0 - CDCACM, 1 - Bulk Only, 2 - Bulk special, 3 - automatic
HKR,,OperationMode,%REG_DWORD%, 3
; default serial line states reported in bulk only mode or 
; if the device never updates the status values
; use a or'ed value of: CTS=0x10, DSR=0x20, RI=0x40, DCD=0x80
HKR,,DefaultLineState,%REG_DWORD%, 0x30

; If your device is a Windows CE system with bulk only communication 
; the following paramters are recommended instead of these above.
; Delete correponding lines above in this case.
;HKR,,SendLineCoding,  			%REG_DWORD%, 0
;HKR,,SendLineState,   			%REG_DWORD%, 0
;HKR,,SendBreak,       			%REG_DWORD%, 0
;HKR,,OperationMode,			%REG_DWORD%,    1
;HKR,,DefaultLineState,			%REG_DWORD%, 0x30


; set this to 0 to suppress the Clear Feature Endpoint Halt during Open and Wakeup
; this does not work on Windows 2000!
HKR,,ClearFeatureOnStart,		%REG_DWORD%, 0
HKR,,VendorPipeReset,			%REG_DWORD%, 0
HKR,,StaticDeviceObject,		%REG_DWORD%,1
HKR,,ClearRtsDtrOnClose,		%REG_DWORD%,0

; 0 - user timeout with STATUS_TIMEOUT, no bytes transferred
; 1 - emulate send with transfer time, STATUS_SUCCESS, all bytes transferred
HKR,,DisConWriteMode,			%REG_DWORD%,0
HKR,,IgnorePurgeTxClear,		%REG_DWORD%,0

; the default prefix for the device object
HKR,,DeviceObjectName,			%REG_SZ%,"DLSUSBVirtualPort"

; set this to 1 to avoid any short packets in TX
HKR,,DoNotSendShortPackets,		%REG_DWORD%,0

; set this to 1 to disable the COM port name 
; use the DriverUserInterfaceGuid to open the driver
; see documentation for details
HKR,,DisableComLink,			%REG_DWORD%,0


[_Common_AddReg]
; is a serial port
HKR,,PortSubClass,1,01
; property page, system default
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[_CoInst_AddReg_x86]
HKR,,CoInstallers32,0x00010000, "cdcacmpo_coinst.dll,CoInstallerProc"

[_CoInst_AddReg_x64]
HKR,,CoInstallers32,0x00010000, "cdcacmpo_coinst_x64.dll,CoInstallerProc"


;******************************************************************************
; Copy file sections
;------------------------------------------------------------------------------
; Note: No string variable possible in these sections !
; We use COPYFLG_NOVERSIONCHECK to suppress pop-up dialogs if newer files are overwritten.
[_CopyFiles_sys_x86]
cdcacmpo.sys,,,0x00000004

[_CopyFiles_sys_x64]
cdcacmpo_x64.sys,,,0x00000004

[_CopyFiles_CoInst_x86]
cdcacmpo_coinst.dll

[_CopyFiles_CoInst_x64]
cdcacmpo_coinst_x64.dll


;******************************************************************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir  = 12  ; %windir%\system32\drivers 
_CopyFiles_sys_x86 = 12
_CopyFiles_sys_x64 = 12
_CopyFiles_CoInst_x86 = 11 ; %windir%\system32 
_CopyFiles_CoInst_x64 = 11 ; %windir%\system32 

;******************************************************************************
; Disk Layout
;------------------------------------------------------------------------------
[SourceDisksNames.x86]
1=%S_DiskName%,,0

[SourceDisksNames.amd64]
1=%S_DiskName%,,0

[SourceDisksFiles.x86]
cdcacmpo.sys=1
cdcacmpo_coinst.dll=1

[SourceDisksFiles.amd64]
cdcacmpo_x64.sys=1
cdcacmpo_coinst_x64.dll=1



;******************************************************************************
; Text Strings
;------------------------------------------------------------------------------
[Strings]
;
; Non-Localizable Strings, DO NOT MODIFY!
;
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001


;
; Localizable Strings, modify as required
;
; provider
S_Provider="USB-COM-CDC/ACM"
S_Mfg="USB-COM-CDC/ACM"

; disk name
S_DiskName="USB-COM-CDC-ACM-Driver driver disk"


;;;;;;;;;;;;;;;;;;;;;; EOF ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
