;===============================================================================================================
;
;  WARNING:DO NOT EDIT THIS FILE!IT IS IMPORTANT!
;
;  DV_Touch.Inf
;  INF file for Legacy touchscreen serial driver
;
;  Version 1.1.0
;
;  Copyright (c)2006, Digital Vision Ltd. All rights reserved.
;
;===============================================================================================================

[Version]
Signature="$Windows NT$"
Provider=%DV_%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
DriverVer=09/09/2006,1.1.0.0		

[SourceDisksNames]
1987=%DiskId1%,,

[SourceDisksFiles]
DV_Stub.sys  = 1987,,7054
DV_Touch.sys = 1987,,17730
DV_Calib.EXE = 1987,,32768
DV_Touch.Cpl = 1987,,57344
Setup.EXE    = 1987,,81920
UnInst.EXE   = 1987,,40960
ReadMe.Txt   = 1987,,6468


;---------------------------------------
;	Destination directory for file copy
;---------------------------------------

[DestinationDirs]
DefaultDestDir   		= 12
DVNT.Drv.CopyFiles		= 12                 
DVNT.Cpl.CopyFiles		= 11		     
DVNT.Setup.CopyFiles           = 11
DVNT.Other.CopyFiles		= 10,DV_Touchscreen  

;---------------------------
;	Driver information
;---------------------------
[Manufacturer]
%DV_%   = DV_2K.Mfg,NTx86.5.1

[DV_2K.Mfg]
%DV_.DeviceDesc0%= DVNT_Install,DVNTSerial

[DV_2K.Mfg.NTx86.5.1]
%DV_.DeviceDesc0%= DVXP_Install,DVNTSerial

;----------------------------------------------------------------------------------------------------
;
;				    NT Serial installation section
;
;----------------------------------------------------------------------------------------------------

[DVNT_Install]
DriverVer=09/09/2006,1.1.0.0 
; Copy the driver over
CopyFiles=DVNT.Drv.CopyFiles,DVNT.Cpl.CopyFiles,DVNT.Setup.CopyFiles,DVNT.Other.CopyFiles
AddReg=DVNT.AddReg

[DVNT_Install.Services]
AddService = DV_stub,0x00000002,  DV_stub_Service_Inst
AddService = DV_Touch, , DV_Touch_Service_Inst, DV_Touch_EventLog_Inst

;----------------------------------------------------------------------------------------------------
;
;				  WIN XP Serial installation 
;
;----------------------------------------------------------------------------------------------------

[DVXP_Install]
DriverVer=09/09/2005,1.1.0.0   		  
; Copy the driver over
CopyFiles=DVNT.Drv.CopyFiles,DVNT.Cpl.CopyFiles,DVNT.Setup.CopyFiles,DVNT.Other.CopyFiles
AddReg=DVNT.AddReg

[DVXP_Install.Services]
AddService = DV_stub,0x00000002,  DV_stub_Service_Inst
AddService = DV_Touch, , DV_Touch_Service_Inst, DV_Touch_EventLog_Inst

[DVNT.AddReg]
HKLM,%UninstallRegPath%,"DisplayName",,%UninstallDescrpt%
HKLM,%UninstallRegPath%,"UninstallString",,"%11%\UnInst.Exe"
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	      Port,	0x00010001, 2
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    MouseMode,	0x00010001, 3
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    DragDelay,	0x00010001, 2
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    BeepMode,	0x00010001, 2
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    BeepFreq,	0x00010001, 0x3e8
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    BeepTime,	0x00010001, 0x20
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	      XLow,	0x00010001, 0
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	      YLow,	0x00010001, 0
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	     XHigh,	0x00010001, 0x1000
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	     YHigh,	0x00010001, 0x1000
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	DblClickRegion,	0x00010001, 0x19
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	SwapXY,		0x00010001, 0
;HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	MultiMonitors,	0x00010001, 0
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    XMin,	0x00010001, 0
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    XRange,	0x00010001, 0xFFFF
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    YMin,	0x00010001, 0
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    YRange,	0x00010001, 0xFFFF
HKCU,"Control Panel\Mouse",DoubleClickHeight,%REG_SZ%,"25"
HKCU,"Control Panel\Mouse",DoubleClickWidth,%REG_SZ%,"25"
HKCU,"Control Panel\Mouse",DoubleClickSpeed,%REG_SZ%,"800"
HKLM,SYSTEM\CurrentControlSet\Services\Mouclass\Parameters,ConnectMultiplePorts,%REG_DWORD%,0x00
HKLM,SYSTEM\CurrentControlSet\Services\Mouclass\Parameters,MaximumPortsServiced,%REG_DWORD%,0x03

;-----------------------
;	File sections
;-----------------------
[DVNT.Drv.CopyFiles]
DV_stub.sys
DV_Touch.sys

[DVNT.Cpl.CopyFiles]
DV_Calib.exe
DV_Touch.cpl

[DVNT.Setup.CopyFiles]
UnInst.exe

[DVNT.Other.CopyFiles]
Readme.txt
Setup.exe

;-----------------------------------
;	Service Installation
;-----------------------------------
[DV_stub_Service_Inst]
DisplayName    			= %DV_stub.SvcDesc%
ServiceType    			= 1                  ; SERVICE_KERNEL_DRIVER
StartType      			= 1                  ; SERVICE_SYSTEM_START
ErrorControl   			= 1                  ; SERVICE_ERROR_NORMAL
LoadOrderGroup 			= Pointer Port
ServiceBinary  			= %12%\DV_stub.sys

[DV_Touch_Service_Inst]
DisplayName			= %DV_Touch.SvcDesc%
ServiceType			= 1                  ; SERVICE_KERNEL_DRIVER
StartType			= 2                  ; SERVICE_AUTO_START
ErrorControl			= 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary			= %12%\DV_Touch.sys
LoadOrderGroup			= DVTouch

[DV_Touch_EventLog_Inst]
AddReg = DV_Touch_EventLog_AddReg

[DV_Touch_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\DV_Touch.sys"
HKR,,TypesSupported,0x00010001,7

;-------------------------------
;	String definition
;-------------------------------
[Strings]

;-------------------------
; 	Non-Localizable Strings
;-------------------------
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
SERVICEROOT    = "System\CurrentControlSet\Services"

;-------------------------
; 	Localizable Strings
;-------------------------
DV_.DeviceDesc0 = "DVTouch SAW Touchscreen RS232"
DiskId1 = "driver Setup Disk #1"
DV_ = "Digital Vision Ltd."
UninstallRegPath	= "Software\Microsoft\Windows\CurrentVersion\Uninstall\DV_Touchscreen"
UninstallDescrpt	= "DVTouch RS232,SAW Touchscreen"
RunRegPath		= "Software\Microsoft\Windows\CurrentVersion\Run"
TouchService		= "DV_Touch"
DV_Touch.SvcDesc	= "Touchscreen driver"
DV_stub.SvcDesc		= "Touchscreen driver stub"


