; ftdiport.INF
; Copyright (c) 2000-2009 FTDI Ltd.
; Custom FTDIPORT.INF file generated using 'FT INF Generator' for Gamma Scout
;
; USB serial converter driver installation for Windows 2000, XP, Server 2003, Vista, Server 2008 (x86 and x64).
;

[Version]
Signature="$Windows NT$"
DriverPackageType=PlugAndPlay
DriverPackageDisplayName=%DESC%
Class=Ports
ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318}
Provider=%FTDI%
CatalogFile=ftdiport.cat
DriverVer=12/16/2009,2.04.06

[SourceDisksNames]
1=%DriversDisk%,,,

[SourceDisksFiles]
ftser2k.sys = 1,i386
ftserui2.dll = 1,i386
ftcserco.dll = 1,i386

[SourceDisksFiles.amd64]
ftser2k.sys = 1,amd64
ftserui2.dll = 1,amd64
ftcserco.dll = 1,amd64

[DestinationDirs]
FtdiPort.NT.Copy=10,system32\drivers
FtdiPort.NT.CopyUI=10,system32

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%FTDI%=FtdiHw,NTamd64

[FtdiHw]
%VID_0403&PID_D678.DeviceDesc%=FtdiPort232.NT,FTDIBUS\COMPORT&VID_0403&PID_D678

[FtdiHw.NTamd64]
%VID_0403&PID_D678.DeviceDesc%=FtdiPort232.NTamd64,FTDIBUS\COMPORT&VID_0403&PID_D678

[FtdiPort.NT.AddService]
DisplayName     = %SvcDesc%
ServiceType     = 1             ; SERVICE_KERNAL_DRIVER
StartType       = 3             ; SERVICE_DEMAND_START
ErrorControl    = 1             ; SERVICE_ERROR_NORMAL
ServiceBinary   = %10%\system32\drivers\ftser2k.sys
LoadOrderGroup  = Base

; --------------------- Serenum Driver Install Section
[SerEnum_AddService]
DisplayName     = %SerEnum.SvcDesc%
ServiceType     = 1             ; SERVICE_KERNAL_DRIVER
StartType       = 3             ; SERVICE_DEMAND_START
ErrorControl    = 1             ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\serenum.sys
LoadOrderGroup  = PNP Filter

[FtdiPort.NT.AddReg]
HKR,,EnumPropPages32,,"ftserui2.dll,SerialPortPropPageProvider"

[FtdiPort.NT.Copy]
ftser2k.sys

[FtdiPort.NT.CopyUI]
ftserui2.dll

[FtdiPort232.NT]
CopyFiles=FtdiPort.NT.Copy,FtdiPort.NT.CopyUI
AddReg=FtdiPort.NT.AddReg

[FtdiPort232.NTamd64]
CopyFiles=FtdiPort.NT.Copy,FtdiPort.NT.CopyUI
AddReg=FtdiPort.NT.AddReg

[FtdiPort232.NT.HW]
AddReg=FtdiPort232.NT.HW.AddReg

[FtdiPort232.NTamd64.HW]
AddReg=FtdiPort232.NT.HW.AddReg

[FtdiPort232.NT.Services]
AddService = FTSER2K, 0x00000002, FtdiPort.NT.AddService
AddService = Serenum,,SerEnum_AddService
DelService = FTSERIAL

[FtdiPort232.NTamd64.Services]
AddService = FTSER2K, 0x00000002, FtdiPort.NT.AddService
AddService = Serenum,,SerEnum_AddService
DelService = FTSERIAL

[FtdiPort232.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"
HKR,,"ConfigData",1,11,00,3F,3F,10,27,00,00,88,13,00,00,C4,09,00,00,E2,04,00,00,71,02,00,00,38,01,00,00,9C,00,00,00,4E,00,00,00,34,00,00,00,1A,00,00,00,DC,32,00,00,0A,19,00,00,B7,0C,00,00,00,00,00,00,D0,00,00,00
HKR,,"MinReadTimeout",0x00010001,0
HKR,,"MinWriteTimeout",0x00010001,0
HKR,,"LatencyTimer",0x00010001,16

[Strings]
FTDI="Gamma Scout"
DESC="CDM Driver Package"
DriversDisk="FTDI USB Drivers Disk"
PortsClassName = "Ports (COM & LPT)"
VID_0403&PID_D678.DeviceDesc="Gamma Scout Serial Port"
SvcDesc="USB Serial Port Driver"
SerEnum.SvcDesc="Serenum Filter Driver"