;QTUSBBX2.INF
;Windows XP/Vista/7
;Main installation file for Quatech USB multiport serial devices
;Copyright (c) 2001-2011 Quatech, Incorporated
;Version 7.60

[Version]
Signature="$WINDOWS NT$"
Class=MultiPortSerial
ClassGuid={50906CB8-BA12-11D1-BF5D-0000F805F530}
Provider=%Quatech%
DriverVer=09/30/2011,7.60
CatalogFile=qtusbbx2.cat

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

; DLLs go to the system32 directory (11).
; Drivers go to the system32\drivers directory (12).
[DestinationDirs]
DefaultDestDir      = 12
DriverFiles         = 12
DriverFiles64       = 12
DLLFiles            = 11
DLLFiles64          = 11
CoCopyINF.CopyFiles = 11


;------------------------------------------------------------------------
; Class Section

; In Device Manager, these devices are listed under "Multi-port serial devices".
; The individual ports are listed under "Ports" (handled by QTUSBPT2.INF).
; This section normally doesn't run.  It's left here just in case the
; Multi-port serial devices class somehow hasn't been installed on the system.

[ClassInstall32.NT]
AddReg=Class.NT.AddReg

[Class.NT.AddReg]
HKR,,,,%ClassDesc%
HKR,,NextUSBtoSerial,0x00010001,1
HKR,,Icon,,-20

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

; Manufacturer Section
[Manufacturer]
%Quatech%=Quatech,NTAMD64

; Models section for Windows XP and later 32-bit systems
[Quatech]
%SSU100.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C020
%SSU200.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C030
%DSU100.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C040
%DSU200.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C050
%QSU100.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C060
%QSU200.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C070
%ESU100A.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C080
%ESU100B.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C081
%HSU100A.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C090
%HSU100B.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C091
%HSU100C.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C092
%HSU100D.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C093
%ESU200A.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C0A0
%ESU200B.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C0A1
%HSU200A.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C0B0
%HSU200B.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C0B1
%HSU200C.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C0B2
%HSU200D.DeviceDesc% = USBToSerial,USB\VID_061D&PID_C0B3
%SSU2-100.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C120
%SSU2-400.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C130
%DSU2-100.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C140
%DSU2-400.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C150
%QSU2-100.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C160
%QSU2-400.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C170
%ESU2-100.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C180
%ESU2-400.DeviceDesc%  = USBToSerial,USB\VID_061D&PID_C1A0


; Models section for Windows XP and later 64-bit systems (AMD x64 and Intel x64)
[Quatech.NTAMD64]
%SSU100.DeviceDesc%   = USBToSerial.NTAMD64,USB\VID_061D&PID_C020
%SSU200.DeviceDesc%   = USBToSerial.NTAMD64,USB\VID_061D&PID_C030
%DSU100.DeviceDesc%   = USBToSerial.NTAMD64,USB\VID_061D&PID_C040
%DSU200.DeviceDesc%   = USBToSerial.NTAMD64,USB\VID_061D&PID_C050
%QSU100.DeviceDesc%   = USBToSerial.NTAMD64,USB\VID_061D&PID_C060
%QSU200.DeviceDesc%   = USBToSerial.NTAMD64,USB\VID_061D&PID_C070
%ESU100A.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C080
%ESU100B.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C081
%HSU100A.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C090
%HSU100B.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C091
%HSU100C.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C092
%HSU100D.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C093
%ESU200A.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C0A0
%ESU200B.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C0A1
%HSU200A.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C0B0
%HSU200B.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C0B1
%HSU200C.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C0B2
%HSU200D.DeviceDesc%  = USBToSerial.NTAMD64,USB\VID_061D&PID_C0B3
%SSU2-100.DeviceDesc% = USBToSerial.NTAMD64,USB\VID_061D&PID_C120
%SSU2-400.DeviceDesc% = USBToSerial.NTAMD64,USB\VID_061D&PID_C130
%DSU2-100.DeviceDesc% = USBToSerial.NTAMD64,USB\VID_061D&PID_C140
%DSU2-400.DeviceDesc% = USBToSerial.NTAMD64,USB\VID_061D&PID_C150
%QSU2-100.DeviceDesc% = USBToSerial.NTAMD64,USB\VID_061D&PID_C160
%QSU2-400.DeviceDesc% = USBToSerial.NTAMD64,USB\VID_061D&PID_C170
%ESU2-100.DeviceDesc% = USBToSerial.NTAMD64,USB\VID_061D&PID_C180
%ESU2-400.DeviceDesc% = USBToSerial.NTAMD64,USB\VID_061D&PID_C1A0

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

[ControlFlags]
ExcludeFromSelect = USB\VID_061D&PID_C020
ExcludeFromSelect = USB\VID_061D&PID_C030
ExcludeFromSelect = USB\VID_061D&PID_C040
ExcludeFromSelect = USB\VID_061D&PID_C050
ExcludeFromSelect = USB\VID_061D&PID_C060
ExcludeFromSelect = USB\VID_061D&PID_C070
ExcludeFromSelect = USB\VID_061D&PID_C080
ExcludeFromSelect = USB\VID_061D&PID_C081
ExcludeFromSelect = USB\VID_061D&PID_C090
ExcludeFromSelect = USB\VID_061D&PID_C091
ExcludeFromSelect = USB\VID_061D&PID_C092
ExcludeFromSelect = USB\VID_061D&PID_C093
ExcludeFromSelect = USB\VID_061D&PID_C0A0
ExcludeFromSelect = USB\VID_061D&PID_C0A1
ExcludeFromSelect = USB\VID_061D&PID_C0B0
ExcludeFromSelect = USB\VID_061D&PID_C0B1
ExcludeFromSelect = USB\VID_061D&PID_C0B2
ExcludeFromSelect = USB\VID_061D&PID_C0B3
ExcludeFromSelect = USB\VID_061D&PID_C120
ExcludeFromSelect = USB\VID_061D&PID_C130
ExcludeFromSelect = USB\VID_061D&PID_C140
ExcludeFromSelect = USB\VID_061D&PID_C150
ExcludeFromSelect = USB\VID_061D&PID_C160
ExcludeFromSelect = USB\VID_061D&PID_C170
ExcludeFromSelect = USB\VID_061D&PID_C180
ExcludeFromSelect = USB\VID_061D&PID_C1A0

;------------------------------------------------------------------------
; Files sections

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
qtwdmlib.sys = 1,,
qtucompt.sys = 1,,
qtucombx.sys = 1,,
qtucompp.dll = 1,,
qtucomco.dll = 1,,
cocpyinf.dll = 1,,
qtwdmlib64.sys = 1,,
qtucompt64.sys = 1,,
qtucombx64.sys = 1,,
qtucompp64.dll = 1,,
qtucomco64.dll = 1,,

[DriverFiles]
qtucombx.sys
qtucompt.sys
qtwdmlib.sys

[DLLFiles]
qtucompp.dll
qtucomco.dll

[DriverFiles64]
qtucombx64.sys
qtucompt64.sys
qtwdmlib64.sys

[DLLFiles64]
qtucompp64.dll
qtucomco64.dll


;------------------------------------------------------------------------
; CopyINF DLL coinstaller section - needed for Win2000 support of CopyINF.
;
[CoCopyINF.AddReg]
HKR,,CoInstallers32,0x10000,"cocpyinf.DLL,CoCopyINF"

[CoCopyINF.CopyFiles]
cocpyinf.dll,,,0x10



;************************************************************************
; 32-bit install section

[USBToSerial.NT]
CopyFiles=DriverFiles,DLLFiles
AddReg=USBToSerial.NT.AddReg
CopyInf = QTUSBPT2.INF

[USBToSerial.NT.CoInstallers]
AddReg = CoCopyINF.AddReg
CopyFiles= CoCopyINF.CopyFiles

[USBToSerial.NT.AddReg]
HKR,,EnumPropPages32,,"qtucompp.dll,USBBoxPropPageProvider"

[USBToSerial.NT.HW]
AddReg=USBToSerial.NT.HW.AddReg
[USBToSerial.NT.HW.AddReg]
HKR,,PreventSuspend,0x00010001,1       ; Aids the SERENUM process.


;************************************************************************
; 64-bit install section

[USBToSerial.NTAMD64]
CopyFiles=DriverFiles64,DLLFiles64
AddReg=USBToSerial.NTAMD64.AddReg
CopyInf = QTUSBPT2.INF

[USBToSerial.NTAMD64.AddReg]
HKR,,EnumPropPages32,,"qtucompp64.dll,USBBoxPropPageProvider"

[USBToSerial.NTAMD64.HW]
AddReg=USBToSerial.NTAMD64.HW.AddReg
[USBToSerial.NTAMD64.HW.AddReg]
HKR,,PreventSuspend,0x00010001,1       ; Aids the SERENUM process.


;************************************************************************
;------------------------------
; 32-bit coinstaller section

[USBToSerial.NT.CoInstallers]
CopyFiles=DLLFiles
AddReg=USBToSerial.NT.CoInst.AddReg

[USBToSerial.NT.CoInst.AddReg]
HKR,,CoInstallers32,0x00010000,"qtucomco.dll,USBBoxCoInstaller"


;------------------------------
; 64-bit coinstaller section

[USBToSerial.NTAMD64.CoInstallers]
CopyFiles=DLLFiles64
AddReg=USBToSerial.NTAMD64.CoInst.AddReg

[USBToSerial.NTAMD64.CoInst.AddReg]
HKR,,CoInstallers32,0x00010000,"qtucomco64.dll,USBBoxCoInstaller"



;------------------------------
; 32-bit services section

[USBToSerial.NT.Services]
AddService = qtucombx, 0x00000002, USBToSerialBoxService

[USBToSerialBoxService]
DisplayName    = %ServiceDesc%
ServiceType    = 1              ; SERVICE_KERNEL_DRIVER
StartType      = 3              ; SERVICE_DEMAND_START
ErrorControl   = 1              ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\qtucombx.sys


;------------------------------
; 64-bit services section

[USBToSerial.NTAMD64.Services]
AddService = qtucombx64, 0x00000002, USBToSerialBoxService64

[USBToSerialBoxService64]
DisplayName    = %ServiceDesc%
ServiceType    = 1              ; SERVICE_KERNEL_DRIVER
StartType      = 3              ; SERVICE_DEMAND_START
ErrorControl   = 1              ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\qtucombx64.sys


;------------------------------------------------------------------------
; Strings section

[Strings]
Quatech="Quatech, Incorporated"

ClassDesc="Multi-port serial devices"
DiskName="USB-To-Serial Adapter Drivers"
ServiceDesc="USB-to-Serial Box Driver"

SSU100.DeviceDesc ="SSU-100 Single RS-232 Serial Port"
SSU200.DeviceDesc ="SSU-200/300 Single RS-422/485 Serial Port"

DSU100.DeviceDesc ="DSU-100 Dual RS-232 Serial Ports"
DSU200.DeviceDesc ="DSU-200/300 Dual RS-422/485 Serial Ports"

QSU100.DeviceDesc ="QSU-100 Quad RS-232 Serial Ports"
QSU200.DeviceDesc ="QSU-200/300 Quad RS-422/485 Serial Ports"

ESU100A.DeviceDesc="ESU-100 Eight RS-232 Serial Ports 1-4"
ESU100B.DeviceDesc="ESU-100 Eight RS-232 Serial Ports 5-8"
ESU200A.DeviceDesc="ESU-200/300 Eight RS-422/485 Serial Ports 1-4"
ESU200B.DeviceDesc="ESU-200/300 Eight RS-422/485 Serial Ports 5-8"

HSU100A.DeviceDesc="HSU-100 Sixteen RS-232 Serial Ports 01-04"
HSU100B.DeviceDesc="HSU-100 Sixteen RS-232 Serial Ports 05-08"
HSU100C.DeviceDesc="HSU-100 Sixteen RS-232 Serial Ports 09-12"
HSU100D.DeviceDesc="HSU-100 Sixteen RS-232 Serial Ports 13-16"
HSU200A.DeviceDesc="HSU-200/300 Sixteen RS-422/485 Serial Ports 01-04"
HSU200B.DeviceDesc="HSU-200/300 Sixteen RS-422/485 Serial Ports 05-08"
HSU200C.DeviceDesc="HSU-200/300 Sixteen RS-422/485 Serial Ports 09-12"
HSU200D.DeviceDesc="HSU-200/300 Sixteen RS-422/485 Serial Ports 13-16"

SSU2-100.DeviceDesc ="SSU2-100 Single RS-232 Serial Port"
DSU2-100.DeviceDesc ="DSU2-100 Dual RS-232 Serial Ports"
QSU2-100.DeviceDesc ="QSU2-100 Quad RS-232 Serial Ports"
ESU2-100.DeviceDesc ="ESU2-100 Eight RS-232 Serial Ports"

SSU2-400.DeviceDesc ="SSU2-400 Single RS-232/422/485 Serial Port"
DSU2-400.DeviceDesc ="DSU2-400 Dual RS-232/422/485 Serial Ports"
QSU2-400.DeviceDesc ="QSU2-400 Quad RS-232/422/485 Serial Ports"
ESU2-400.DeviceDesc ="ESU2-400 Eight RS-232/422/485 Serial Ports"

