[Version]
Signature="$Windows NT$"
DriverPackageType=PlugAndPlay
DriverPackageDisplayName=%DESC%
Class=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider=%FTDI%
CatalogFile=x_dibus.cat
DriverVer=08/16/2017,2.12.28

[SourceDisksNames]
1=%DriversDisk%,,,

[SourceDisksFiles]
x_dibus.sys = 1,i386
x_busui.dll = 1,i386
x_d2xx.dll = 1,i386
x_lang.Dll = 1,i386

[SourceDisksFiles.amd64]
x_dibus.sys = 1,amd64
x_busui.dll = 1,amd64
x_d2xx64.dll = 1,amd64
x_d2xx.dll = 1,i386
x_lang.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_0503&PID_5000.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5000
%USB\VID_0503&PID_5001.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5001
%USB\VID_0503&PID_5002.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5002
%USB\VID_0503&PID_5003.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5003
%USB\VID_0503&PID_5004.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5004
%USB\VID_0503&PID_5005.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5005
%USB\VID_0503&PID_5006.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5006
%USB\VID_0503&PID_5007.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5007
%USB\VID_0503&PID_5008.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5008
%USB\VID_0503&PID_5009.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5009
%USB\VID_0503&PID_5010.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5010
%USB\VID_0503&PID_5011.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5011
%USB\VID_0503&PID_5012.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5012
%USB\VID_0503&PID_5013.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5013
%USB\VID_0503&PID_5014.DeviceDesc%=FtdiBus.NT,USB\VID_0503&PID_5014

[FtdiHw.NTamd64]
%USB\VID_0503&PID_5000.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5000
%USB\VID_0503&PID_5001.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5001
%USB\VID_0503&PID_5002.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5002
%USB\VID_0503&PID_5003.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5003
%USB\VID_0503&PID_5004.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5004
%USB\VID_0503&PID_5005.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5005
%USB\VID_0503&PID_5006.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5006
%USB\VID_0503&PID_5007.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5007
%USB\VID_0503&PID_5008.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5008
%USB\VID_0503&PID_5009.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5009
%USB\VID_0503&PID_5010.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5010
%USB\VID_0503&PID_5011.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5011
%USB\VID_0503&PID_5012.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5012
%USB\VID_0503&PID_5013.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5013
%USB\VID_0503&PID_5014.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0503&PID_5014

[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.NT.EventLog_Inst

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

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

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

[FtdiBus.NT.EventLog_Inst]
AddReg = FtdiBus.NT.EventLog_Inst.AddReg

[FtdiBus.NT.EventLog_Inst.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\x_dibus.sys"
HKR,,TypesSupported,0x00010001,7


[FtdiBus.NT.Copy]
x_dibus.sys

[FtdiBus.NT.Copy2]
x_busui.dll
x_d2xx.dll
x_lang.dll

[FtdiBus.NTamd64.Copy]
x_dibus.sys

[FtdiBus.NTamd64.Copy2]
x_busui.dll
x_d2xx.dll,x_d2xx64.dll
x_lang.dll

[FtdiBus.NTamd64.Copy3]
x_d2xx.dll

[Strings]
Ftdi="Xhorse"
DESC="Xhorse - Bus Driver"
DriversDisk="Xhorse USB Drivers Disk"
USB\VID_0503&PID_5000.DeviceDesc="Xhorse Device Bus"
USB\VID_0503&PID_5001.DeviceDesc="Xhorse Keytool Bus"
USB\VID_0503&PID_5002.DeviceDesc="Xhorse VVDIProg Bus"
USB\VID_0503&PID_5003.DeviceDesc="Xhorse VVDI2 Bus"
USB\VID_0503&PID_5004.DeviceDesc="Xhorse VVDIMB Bus"
USB\VID_0503&PID_5005.DeviceDesc="Xhorse VAGMM007 Bus"
USB\VID_0503&PID_5006.DeviceDesc="Xhorse XC-007 Bus"
USB\VID_0503&PID_5007.DeviceDesc="Xhorse XCMINI Bus"
USB\VID_0503&PID_5008.DeviceDesc="Xhorse XCMINI-Plus Bus"
USB\VID_0503&PID_5009.DeviceDesc="Xhorse Keytoolpro Bus"
USB\VID_0503&PID_5010.DeviceDesc="Xhorse VVDIKeytoolplus Bus"
USB\VID_0503&PID_5011.DeviceDesc="Xhorse Dolphin Bus"
USB\VID_0503&PID_5012.DeviceDesc="Xhorse Device2 Bus"
USB\VID_0503&PID_5013.DeviceDesc="Xhorse Device3 Bus"
USB\VID_0503&PID_5014.DeviceDesc="Xhorse Device4 Bus"
SvcDesc="Xhorse Bus Driver"
ClassName="USB"
