; Cartool.INF
; Copyright (c) 2000-2006 cartool Ltd.
;
; CarTool driver installation for Windows 2000 and XP.
;

[Version]
Signature="$Windows NT$"
DriverPackageType=PlugAndPlay
DriverPackageDisplayName=%DESC%
Class=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider=%Cartool%
CatalogFile=cartool.cat
DriverVer=05/19/2006,2.00.00

[SourceDisksNames]
1=%DriversDisk%,,,

[SourceDisksFiles]
cartool.sys = 1
cartoolunin.exe = 1
cartoolun2k.ini = 1
cartoolui.dll = 1
cartool.dll = 1

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

[Manufacturer]
%Cartool%=FtdiHw

[FtdiHw]
%USB\VID_0404&PID_6001.DeviceDesc%=FtdiBus,USB\VID_0404&PID_6001
%USB\VID_0404&PID_6010&MI_00.DeviceDesc%=FtdiBus,USB\VID_0403&PID_6010&MI_00
%USB\VID_0404&PID_6010&MI_01.DeviceDesc%=FtdiBus,USB\VID_0403&PID_6010&MI_01

[ControlFlags]
ExcludeFromSelect=*

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

[FtdiBus.NT.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\cartool.sys
LoadOrderGroup = Base

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

[FtdiBus.NT.Copy]
cartool.sys

[FtdiBus.NT.Copy2]
cartoolunin.exe
cartoolun2k.ini
cartoolUI.dll
cartool.dll

[FtdiBusUnInst.NT.Reg]
HKLM,%WINUN%,"FTDICOMM"
HKLM,%WINUN%\FTDICOMM , "UninstallString",,"%11%\cartoolunin.exe %11%\cartoolun2k.ini"
HKLM,%WINUN%\FTDICOMM , "DisplayName",,"CarTool Drivers"
HKLM,%WINUN%\FTDICOMM , "URLInfoAbout",,"http://www.ola_elektronic.yoyo.pl"
HKLM,%WINUN%\FTDICOMM , "Publisher",,"Cartool Ltd"
HKLM,%WINUN%\FTDICOMM , "DisplayVersion",,"2.00.00"

[Strings]
Ftdi="FTDI"
DESC="CDM Driver Package"
DriversDisk="cartool USB Drivers Disk"
USB\VID_0404&PID_6001.DeviceDesc="CarTool Protection KEY"
WINUN="Software\Microsoft\Windows\CurrentVersion\Uninstall"
SvcDesc="USB Cartool Driver"
ClassName="USB"
