;Copyright 1997-2003, IBM Corporation

[Version]
Signature=$CHICAGO$
Class=Mouse
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider=%COMPANYNAME%
DriverVer=11/13/2003,3.12.0.0
CatalogFile=trackpt.cat

[Manufacturer]
%COMPANYKEY%=SECTION_0

[SECTION_0]
%TP4PRODNAME%=TrackPoint,*IBM3780,*PNP0F03

;
; Install Section
;
[TrackPoint]
CopyFiles=TrackPoint.SysCopy, TrackPoint.UsrCopy, IPDCTL.SysCopy, TrackPoint.HtmlCopy
AddReg=TrackPoint.AddReg, TrackPoint.AddDaemon, TrackPoint.AddDevice, IPDCTL.AddReg, TrackPoint.MouseExtAddReg, TrackPoint-BTN.AddReg
DelReg=TrackPoint.DelPrev
LogConfig=TrackPoint.LogConfig

[TrackPoint.NT]
CopyFiles=TrackPoint.NT.SysCopy, TrackPoint.UsrCopy, TrackPoint.HtmlCopy
AddReg=TrackPoint.NT.AddReg, TrackPoint.AddDaemon, TrackPoint.MouseExtAddReg, TrackPoint-BTN.AddReg

[TrackPoint.SysCopy]
track.vxd

[TrackPoint.NT.SysCopy]
twotrack.sys

[TrackPoint.UsrCopy]
daemon.exe
tp4.dll
tp4.hlp
tp4res.dll
tp4scrol.dat
tp4uinst.dat

[TrackPoint.HtmlCopy]
TP4SCROL.HTM
TP4-MG.GIF
TP4-NOTE.GIF
TP4-SC.GIF
TP4SCROL.CSS

[TrackPoint.AddReg]
HKLM,Software\%COMPANYKEY%\"%TP4PRODKEY%","Version",0,"2.0"
HKLM,Software\%COMPANYKEY%\"%TP4PRODKEY%","MOUSE_CPL_EXT",65537,01,00,00,00
HKLM,Software\%COMPANYKEY%\"%TP4PRODKEY%","EXT_MOUSE_DETECTION",65537,03,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\"%TP4PRODKEY%","DisplayName",0,"%TP4DISPNAME%"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\"%TP4PRODKEY%","UninstallString",0,"rundll setupx.dll,InstallHinfSection DefaultUninstall 132 "%11%"\tp4uinst.dat"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\"%TP4PRODKEY%","DisplayVersion",0,"3.12.0.0"

[TrackPoint.NT.AddReg]
HKLM,Software\%COMPANYKEY%\"%TP4PRODKEY%","Version",0,"2.0"
HKLM,Software\%COMPANYKEY%\"%TP4PRODKEY%","MOUSE_CPL_EXT",65537,01,00,00,00
HKLM,Software\%COMPANYKEY%\"%TP4PRODKEY%","EXT_MOUSE_DETECTION",65537,03,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\"%TP4PRODKEY%","DisplayName",0,"%TP4DISPNAME%"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\"%TP4PRODKEY%","UninstallString",0,"rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall.NT4 132 "%11%"\tp4uinst.dat"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\"%TP4PRODKEY%","DisplayVersion",0,"3.12.0.0"

[TrackPoint.MouseExtAddReg]
HKCR,"CLSID\{A8BD5E40-B686-11D0-BD54-0004AC25B162}","",0x00000002,"Mouse CPL TrackPoint Extension"
HKCR,"CLSID\{A8BD5E40-B686-11D0-BD54-0004AC25B162}\InProcServer32","",0x00000002,"tp4.dll"
HKCR,"CLSID\{A8BD5E40-B686-11D0-BD54-0004AC25B162}\InProcServer32","ThreadingModel",0x00000002,"Apartment"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\Mouse\shellex\PropertySheetHandlers\Mouse CPL TrackPoint Extension","",0x00000002,"{A8BD5E40-B686-11D0-BD54-0004AC25B162}"

[TrackPoint.AddDaemon]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,"%TP4SERVKEY%",0,"daemon.exe"

[TrackPoint-BTN.AddReg]
HKLM,Software\%COMPANYKEY%\"%TP4PRODKEY%","NUM_BUTTONS",65537,03,00,00,00
HKLM,Software\%COMPANYKEY%\"%TP4PRODKEY%","SCROLL_ENABLE",65537,01,00,00,00

;
; TrackPoint VxD Driver
;

[TrackPoint.DelPrev]
HKR,,ComInfo,0,

[TrackPoint.AddDevice]
HKR,,DevLoader,0,*vmouse
HKR,,MouseDriver,0,track.vxd
HKR,,MouseType,0,PS2
HKR,,NoSetupUI,0,1

;
; LogConfig section for win95
;
[TrackPoint.LogConfig]
ConfigPriority=HARDWIRED
IRQConfig=12

;
; TrackPoint Filter Driver
;
[TrackPoint.NT.Services]
AddService = twotrack,0x00000002,TrackPoint.NT_Service_Inst ; Filter Driver


[TrackPoint.NT_Service_Inst]
DisplayName    = %TP4DRVRNAME%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\twotrack.sys
LoadOrderGroup = Pointer Class


;
; Control Flag for Mouse CPL
;
[ControlFlags]


;
; Disk layout information
;
[SourceDisksNames]
1=%DisketteName%,,

[SourceDisksFiles]
track.vxd=1,,,,,
daemon.exe=1,,,,,
tp4.dll=1,,,,,
tp4scrol.dat=1,,,,,
tp4.hlp=1,,,,,
tp4res.dll=1,,,,,
tp4setup.inf=1,,,,,
ipdctl.vxd=1,,,,
TP4SCROL.HTM=1,,,,
TP4-MG.GIF=1,,,,
TP4-NOTE.GIF=1,,,,
TP4-SC.GIF=1,,,,
TP4SCROL.CSS=1,,,,
tp4uinst.dat=1,,,,,
trackpt.cat=1,,,,
twotrack.sys=1,,,,

[DestinationDirs]
DefaultDestDir=11
TrackPoint.NT.SysCopy=12
TrackPoint.SysCopy=11
TrackPoint.UsrCopy=11
IPDCTL.SysCopy=11
TrackPoint.HtmlCopy=11


;
; IPDCTL
;
[IPDCTL.SysCopy]
ipdctl.vxd

[IPDCTL.AddReg]
HKLM,Enum\Root\IBMIPD\0000,
HKLM,Enum\Root\IBMIPD\0000,DeviceDesc,0,%IPDDeviceDesc%
HKLM,Enum\Root\IBMIPD\0000,Driver,0,IBMIPD\0000
HKLM,Enum\Root\IBMIPD\0000,HardwareID,0,IBMIPD
HKLM,Enum\Root\IBMIPD\0000,Mfg,0,%COMPANYKEY%
HKLM,Enum\Root\IBMIPD\0000,ConfigFlags,3,00,00,00,00
HKLM,System\CurrentControlSet\Services\Class\IBMIPD,,,%IPDCTLPRODNAME%
HKLM,System\CurrentControlSet\Services\Class\IBMIPD,NoUseClass,0,1
HKLM,System\CurrentControlSet\Services\Class\IBMIPD\0000,DevLoader,0,ipdctl.vxd
HKLM,System\CurrentControlSet\Services\Class\IBMIPD\0000,MemDriver,0,ipdctl.vxd
HKLM,System\CurrentControlSet\Services\Class\IBMIPD\0000,ProviderName,,%COMPANYNAME%
HKLM,System\CurrentControlSet\Services\Class\IBMIPD\0000,InfPath,,tp4setup.inf
HKLM,System\CurrentControlSet\Services\Class\IBMIPD\0000\CtlMode,CtlMode_Dock,1,23
HKLM,System\CurrentControlSet\Services\Class\IBMIPD\0000\CtlMode,CtlMode_Undock,1,21
HKLM,System\CurrentControlSet\Services\Class\IBMIPD\0000\CtlMode,CtlMode_Suspend,1,00
HKLM,System\CurrentControlSet\Services\Class\IBMIPD\0000\CtlMode,CtlMode_Resume,1,03


;
; String section
;
[Strings]
COMPANYKEY="IBM"
TP4PRODKEY="TrackPoint"
TP4SERVKEY="TrackPointSrv"
COMPANYNAME="IBM Corporation"
TP4PRODNAME="IBM PS/2 TrackPoint"
TP4DISPNAME="IBM TrackPoint Support"
TP4DRVRNAME="TrackPoint Driver"
DisketteName="TrackPoint Driver Diskette"
IPDDeviceDesc="IBM Integrated Pointing Device Controller"
IPDCTLPRODNAME="IBM IPD control"
