;/*++
;
;Copyright (c) Ricstek Inc.  All rights reserved.
;
;Module Name:
;
;    tchpkser.inf
;
;Abstract:
;    INF file for installing TouchPack RS232 Touch Driver
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=Mouse
ClassGuid={4d36e96f-e325-11ce-bfc1-08002be10318}
Provider=%TCHPK%
DriverVer=07/08/2014,2.0.0.3
CatalogFile.NTx86   = tchpkser32.cat
CatalogFile.NTAMD64 = tchpkser64.cat

[DestinationDirs]
DefaultDestDir = 12

;***********************************************************
; Touch Pack Device  Install Section
;***********************************************************

[Manufacturer]
%TCHPK%=TCHPK, NTamd64

[TCHPK]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%TCHPKSERDevice.DeviceDesc%=Tchpkser_Device, root\tchpkser

[TCHPK.NTamd64]
%TCHPKSERDevice.DeviceDesc%=Tchpkser_Device.x64, root\tchpkser

[Tchpkser_Device]
CopyFiles=Tchpkser_Device.Copy

[Tchpkser_Device.x64]
CopyFiles=Tchpkser_Device.x64.Copy

[Tchpkser_Device.Copy]
tchpkser.sys

[Tchpkser_Device.x64.Copy]
tchpkser64.sys

;-------------- Service installation

[Tchpkser_Device.Services]
AddService = tchpkser, %SPSVCINST_ASSOCSERVICE%, tchpkser_Service_Inst
; Install mouclass.sys from msmouse.inf
Include=msmouse.inf
Needs=MouClass.Services

[Tchpkser_Device.x64.Services]
AddService = tchpkser64, 0x00000002 , tchpkser_Service_Inst.x64
; Install mouclass.sys from msmouse.inf
Include=msmouse.inf
Needs=MouClass.Services

[tchpkser_Service_Inst]
DisplayName    = %tchpkser.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3                ;  SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\tchpkser.sys

[tchpkser_Service_Inst.x64]
DisplayName    = %tchpkser.SVCDESC%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\tchpkser64.sys

[SourceDisksNames]
1 = %DiskId%


[SourceDisksFiles]
tchpkser.sys  = 1
tchpkser64.sys = 1

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
TCHPK = "Touch Pack"
DiskId = "Touch Pack Driver Disk"
TCHPKSERDevice.DeviceDesc = "Touch Pack Serial Controller"
tchpkser.SVCDESC = "Touch Pack Serial Controller"
