; pmhidser.INF
;
; Version 2.4.0.0, 2012/10/05
;
; INF file for PenMount Serial HID Driver
;
; Copyright (c) 2012 PenMount Touch Solutions
; 

[Version]
Signature   = "$WINDOWS NT$"
Class       = HIDClass
ClassGuid   = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider    = %PENMOUNT.MFG%
DriverVer   = 10/05/2012,2.4.0.0
CatalogFile.NTx86   = pmhidserx86.cat
CatalogFile.NTAMD64 = pmhidserx64.cat

[SourceDisksNames]
1    = %PENMOUNT.DISK%

[SourceDisksNames.x86]
1=%PENMOUNT.DISK%,,,\i386

[SourceDisksNames.amd64]
1=%PENMOUNT.DISK%,,,\amd64

[SourceDisksFiles]
pmhidmini.sys  = 1
pmmouser.sys   = 1
pmCoInstlr.dll = 1

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir                   = 12
pmInstall.CopyFiles              = 12
pmInstall.CoInstallers.CopyFiles = 11

; --------------------------------------------------------------------------------
;   Manufacturer Section
; --------------------------------------------------------------------------------
[Manufacturer]
%PENMOUNT.MFG%  = PENMOUNT.MFG , NTx86 , NTamd64

[PENMOUNT.MFG]
%PM3500.DeviceDesc% = pmInstall, SERENUM\DCO3500
%PM6000.DeviceDesc% = pmInstall, SERENUM\DCO6000
%PM6250.DeviceDesc% = pmInstall, SERENUM\DCO6250
%PM9000.DeviceDesc% = pmInstall, SERENUM\DCO9000

[PENMOUNT.MFG.NTx86]
%PM3500.DeviceDesc% = pmInstall, SERENUM\DCO3500
%PM6000.DeviceDesc% = pmInstall, SERENUM\DCO6000
%PM6250.DeviceDesc% = pmInstall, SERENUM\DCO6250
%PM9000.DeviceDesc% = pmInstall, SERENUM\DCO9000

[PENMOUNT.MFG.NTamd64]
%PM3500.DeviceDesc% = pmInstall, SERENUM\DCO3500
%PM6000.DeviceDesc% = pmInstall, SERENUM\DCO6000
%PM6250.DeviceDesc% = pmInstall, SERENUM\DCO6250
%PM9000.DeviceDesc% = pmInstall, SERENUM\DCO9000

; -----------------------------------------------------------------------
[pmInstall]
include   = input.inf
Needs     = HID_Inst.NT
Copyfiles = pmInstall.CopyFiles
AddReg    = pmInstall.AddReg

[pmInstall.CopyFiles]
%PENMOUNT.SERVICE1.NAME%.sys
%PENMOUNT.SERVICE2.NAME%.sys

[pmInstall.AddReg]

; -----------------------------------------------------------------------
[pmInstall.HW]
AddReg = pmInstall.HW.AddReg.Common

[pmInstall.HW.AddReg.Common]
HKR,,"LowerFilters"     ,0x00010000,%PENMOUNT.SERVICE2.NAME%
HKR,,"NoOutOfRange"     ,0x00010001,1
; -----------------------------------------------------------------------
[pmInstall.CoInstallers]
CopyFiles = pmInstall.CoInstallers.CopyFiles
AddReg    = pmInstall.CoInstallers.AddReg
 
[pmInstall.CoInstallers.CopyFiles]
%PENMOUNT.FILE.CONINSTLR%
 
[pmInstall.CoInstallers.AddReg]
HKR,,"CoInstallers32",0x00010000,%PENMOUNT.FILE.CONINSTLR%",CoInstlrProc"
; -----------------------------------------------------------------------
[pmInstall.Services]
AddService = %PENMOUNT.SERVICE1.NAME%,0x00000002,pmInstall.Services1.Install,pmInstall.Services1.EventLog
AddService = %PENMOUNT.SERVICE2.NAME%,          ,pmInstall.Services2.Install,pmInstall.Services2.EventLog

[pmInstall.Services1.Install]
ServiceType    = 1
StartType      = 3
ErrorControl   = 0
ServiceBinary  = %12%\%PENMOUNT.SERVICE1.NAME%.sys
LoadOrderGroup = Pointer Port

[pmInstall.Services2.Install]
ServiceType    = 1
StartType      = 3
ErrorControl   = 0
ServiceBinary  = %12%\%PENMOUNT.SERVICE2.NAME%.sys
LoadOrderGroup = Pointer Port

[pmInstall.Services1.EventLog]
AddReg = pmInstall.Services1.EventLog.AddReg

[pmInstall.Services2.EventLog]
AddReg = pmInstall.Services2.EventLog.AddReg

[pmInstall.Services1.EventLog.AddReg]
HKR,,EventMessageFile,0x00020000,%11%"\IoLogMsg.dll;"%12%\%PENMOUNT.SERVICE1.NAME%.sys
HKR,,TypesSupported  ,0x00010001,7

[pmInstall.Services2.EventLog.AddReg]
HKR,,EventMessageFile,0x00020000,%11%"\IoLogMsg.dll;"%12%\%PENMOUNT.SERVICE2.NAME%.sys
HKR,,TypesSupported  ,0x00010001,7

; -----------------------------------------------------------------------
[Strings]
PENMOUNT.DISK               ="PenMount HID Serial Device Driver Package"
PENMOUNT.MFG                ="PenMount Touch Solutions"
PM3500.DeviceDesc           ="PenMount P2 Serial"
PM6250.DeviceDesc           ="PenMount M1 Serial"
PM6000.DeviceDesc           ="PenMount 6000 Serial"
PM9000.DeviceDesc           ="PenMount 9000 Serial"
PENMOUNT.SERVICE1.NAME      ="pmhidmini"
PENMOUNT.SERVICE2.NAME      ="pmmouser"
PENMOUNT.FILE.CONINSTLR     ="pmCoInstlr.dll"
PENMOUNT.SERVICE.DESC       ="PenMount HID Serial Device Driver"