; Installation inf for FTDI Direct Driver
;
; Copyright (c) 2001-2003 Map 3d.
;

[Version]
Signature="$CHICAGO$"
Class=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider=%Map3d%
DriverVer=10/30/2003,1.06.06

[SourceDisksNames]
1=%DriversDisk%,,,

[SourceDisksFiles]
MapObdII.sys = 1
MapObdII.inf = 1
ObdII.dll = 1

[Manufacturer]
%Map3d%=Map3dHw

[Map3dHw]
%USB\VID_0311&PID_1967.DeviceDesc%=MapObdII, USB\VID_0311&PID_1967

[ControlFlags]
ExcludeFromSelect=USB\VID_0311&PID_1967

;[PreCopySection]
;HKR,,NoSetupUI,,1

[DestinationDirs]
DefaultDestDir   = 11
MapObdII.Files.Ext = 10,System32\Drivers
MapObdII.Files.Dll = 11
MapObdII.Files.Exe = 11

;---------------------------------------------------------------;
; For Win98 ...
;

[MapObdII]
CopyFiles=MapObdII.Files.Ext, MapObdII.Files.Dll
AddReg=MapObdII.AddReg

[MapObdII.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,MapObdII.sys
HKLM,"System\Currentcontrolset\Services\MapObdII\Parameters","MaximumTransferSize",0x10001,4096
HKLM,"System\Currentcontrolset\Services\MapObdII\Parameters","DebugLevel",0x10001,2

[MapObdII.Files.Ext]
MapObdII.sys

[MapObdII.Files.Dll]
ObdII.dll

;---------------------------------------------------------------;
; For Win2000 ...
;

[MapObdII.NT]
CopyFiles=MapObdII.Files.Ext, MapObdII.Files.Dll
AddReg=MapObdII.AddReg

[MapObdII.NT.Services]
Addservice = MapObdII, 0x00000002, MapObdII.AddService

[MapObdII.AddService]
DisplayName    = %MapObdII.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\MapObdII.sys
LoadOrderGroup = Base


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

[Strings]
Ftdi="Map3d"
USB\VID_0311&PID_1967.DeviceDesc="Map3d ObdII interface"
MapObdII.SvcDesc="MapObdII.SYS Map3d device driver"
WINUN="Software\Microsoft\Windows\CurrentVersion\Uninstall"
DriversDisk="Map3d ObdII Drivers Disk"

