[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MANUFACTURER%
DriverVer=09/01/2011,2.0.1136.0

[Manufacturer]
%MANUFACTURER%=DeviceList, NTamd64

[DestinationDirs]
DefaultDestDir=12


;------------------------------------------------------------------------------
;  Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------

[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg

[DriverCopyFiles.nt]
usbser.sys,,,0x20

[DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,USBSER.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService.nt

[DriverService.nt]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\USBSER.sys

;------------------------------------------------------------------------------
;  Vista/Win7-64bit Sections
;------------------------------------------------------------------------------

[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg

[DriverCopyFiles.NTamd64]
USBSER.sys,,,0x20

[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,USBSER.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64

[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\USBSER.sys


;------------------------------------------------------------------------------
;  Vendor and Product ID Definitions
;------------------------------------------------------------------------------

[DeviceList]
; BootRom & Preloader VCOM

%GADGET%=DriverInstall, USB\VID_E851&PID_1002&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_1003&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_1102&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_1103&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2002&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2003&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2102&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2103&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2202&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2203&MI_00


[DeviceList.NTamd64]
; BootRom & Preloader VCOM

%GADGET%=DriverInstall, USB\VID_E851&PID_1002&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_1003&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_1102&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_1103&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2002&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2003&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2102&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2103&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2202&MI_00
%GADGET%=DriverInstall, USB\VID_E851&PID_2203&MI_00
;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

[Strings]
MANUFACTURER        = "Manufacturer"
GADGET              = "Barcode Reader VCOM Port"
SERVICE             = "USB RS-232 Emulation Driver"
