; FTDIBUS.INF
; Copyright (c) 2000-2009 FTDI Ltd.
;
; 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=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider=%FTDI%
CatalogFile=autrbus.cat
DriverVer=02/17/2009,2.04.16

[SourceDisksNames]
1=%DriversDisk%,,,

[SourceDisksFiles]
autrbus.sys = 1,i386
autrbusui.dll = 1,i386
autrd2xx.dll = 1,i386
autrLang.Dll = 1,i386

[SourceDisksFiles.amd64]
autrbus.sys = 1,amd64
autrbusui.dll = 1,amd64
autrd2xx64.dll = 1,amd64
autrd2xx.dll = 1,i386
autrLang.Dll = 1,amd64

[DestinationDirs]
FtdiBus.NT.Copy = 10,system32\drivers
FtdiBus.NT.Copy2 = 10,system32
FtdiBus.NTamd64.Copy = 10,system32\drivers
FtdiBus.NTamd64.Copy2 = 10,system32
FtdiBus.NTamd64.Copy3 = 10,syswow64


[Manufacturer]
%Ftdi%=FtdiHw,NTamd64

[FtdiHw]
%USB\VID_0403&PID_C188.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_C188
%USB\VID_0403&PID_C189.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_C189
%USB\VID_0403&PID_C18A.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_C18A
%USB\VID_0403&PID_C18B.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_C18B
%USB\VID_0403&PID_C18C.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_C18C
%USB\VID_0403&PID_C18D.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_C18D
%USB\VID_0403&PID_C18E.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_C18E
%USB\VID_0403&PID_C18F.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_C18F

[FtdiHw.NTamd64]
%USB\VID_0403&PID_C188.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_C188
%USB\VID_0403&PID_C189.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_C189
%USB\VID_0403&PID_C18A.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_C18A
%USB\VID_0403&PID_C18B.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_C18B
%USB\VID_0403&PID_C18C.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_C18C
%USB\VID_0403&PID_C18D.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_C18D
%USB\VID_0403&PID_C18E.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_C18E
%USB\VID_0403&PID_C18F.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_C18F

[ControlFlags]
ExcludeFromSelect=*

[FtdiBus.NT]
CopyFiles=FtdiBus.NT.Copy,FtdiBus.NT.Copy2
AddReg=FtdiBus.NT.AddReg

[FtdiBus.NTamd64]
CopyFiles=FtdiBus.NTamd64.Copy,FtdiBus.NTamd64.Copy2,FtdiBus.NTamd64.Copy3
AddReg=FtdiBus.NT.AddReg

[FtdiBus.NT.Services]
AddService = FTDIBUS, 0x00000002, FtdiBus.NT.AddService

[FtdiBus.NTamd64.Services]
AddService = FTDIBUS, 0x00000002, FtdiBus.NT.AddService

[FtdiBus.NT.AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\system32\drivers\autrbus.sys
LoadOrderGroup = Base
AddReg = FtdiBus.NT.AddService.AddReg

[FtdiBus.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,autrbus.sys
HKR,,EnumPropPages32,,"autrbusui.dll,FTBUSUIPropPageProvider"

[FtdiBus.NT.AddService.AddReg]
;HKR,Parameters,"LocIds",1,31,00,00,00,32,00,00,00,00
;HKR,Parameters,"RetryResetCount",0x10001,50


[FtdiBus.NT.Copy]
autrbus.sys

[FtdiBus.NT.Copy2]
autrbusui.dll
autrd2xx.dll
autrLang.dll

[FtdiBus.NTamd64.Copy]
autrbus.sys

[FtdiBus.NTamd64.Copy2]
autrbusui.dll
autrd2xx.dll,autrd2xx64.dll
autrLang.dll

[FtdiBus.NTamd64.Copy3]
autrd2xx.dll

[Strings]
Ftdi="USB"
DESC="CDM Driver Package"
DriversDisk="FTDI USB Drivers Disk"
USB\VID_0403&PID_C188.DeviceDesc="USB Serial Converter"
USB\VID_0403&PID_C189.DeviceDesc="USB Serial Converter A"
USB\VID_0403&PID_C18A.DeviceDesc="USB Serial Converter B"
USB\VID_0403&PID_C18B.DeviceDesc="USB Serial Converter C"
USB\VID_0403&PID_C18C.DeviceDesc="USB Serial Converter D"
USB\VID_0403&PID_C18D.DeviceDesc="USB Serial Converter E"
USB\VID_0403&PID_C18E.DeviceDesc="USB Serial Converter F"
USB\VID_0403&PID_C18F.DeviceDesc="USB Serial Converter G"
SvcDesc="USB Serial Converter Driver"
ClassName="USB"
