; INF file for SkSr6500.sys
; Copyright (c) 2002-2007, SEKONIC CORPORATION

[Version]
Signature="$Windows NT$"
Class="Optical Mark Reader"
ClassGUID={A43D14B6-ADD8-11D3-99F0-005004D38A59}
Provider=%SkSr6500.Provider%
DriverVer=6/23/2007,3.0
;CatalogFile=SkSr6500.cat
  
[ControlFlags]
ExcludeFromSelect = USB\VID_0a41&PID_0002, \
                    USB\VID_0a41&PID_1004

[Manufacturer]
%SkSr6500.Manufacturer%=SkSr6500
      
[ClassInstall32]
AddReg=SkSr6500.AddClassReg

[SkSr6500]
%SkSr6500.DeviceDesc2300%=SkSr6500.INSTALL, USB\VID_0a41&PID_0002
%SkSr6500.DeviceDesc3500%=SkSr6500.INSTALL, USB\VID_0a41&PID_1004

; TODO:  Add an optional Tag File to ensure that the end user
;        has specified the correct path to the diskette, CD-ROM,
;        or network drive.  See the INF File Reference in the
;        DDK documentation for more information on SourceDisksNames
;        sections.
[SourceDisksNames]
1=%SkSr6500.DriverDiskName%,"",,

[SourceDisksFiles]
SkSr6500.sys=1

[DestinationDirs]
SkSr6500.CopyFiles = 10,system32\drivers ; WINDOWS\SYSTEM32\DRIVERS
DefaultDestDir = 10,system32\drivers ; WINDOWS\SYSTEM32\DRIVERS
      
[SkSr6500.INSTALL]
CopyFiles=SkSr6500.CopyFiles
AddReg=SkSr6500.AddRegLoader
      
[SkSr6500.AddClassReg]
HKR,,,,%SkSr6500.ClassName%

[SkSr6500.AddRegLoader]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,SkSr6500.sys

[SkSr6500.INSTALL.NT]
CopyFiles=SkSr6500.CopyFiles

[SkSr6500.INSTALL.NT.Services]
AddService = SkSr6500,0x00000002,UsbSkOmr_Service_Inst2300,UsbSkOmr_EventLog_Inst
AddService = SkSr6500,0x00000002,UsbSkOmr_Service_Inst3500,UsbSkOmr_EventLog_Inst

[UsbSkOmr_Service_Inst2300]
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\SkSr6500.sys
DisplayName     = %SkSr6500.DeviceDesc2300%

[UsbSkOmr_Service_Inst3500]
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\SkSr6500.sys
DisplayName     = %SkSr6500.DeviceDesc3500%

[UsbSkOmr_EventLog_Inst]
AddReg=SkSr6500.AddEventLogReg

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

      
[SkSr6500.CopyFiles]
SkSr6500.sys


;---------------------------------------------------------------;
      
[Strings]
SkSr6500.Provider="SEKONIC CORPORATION"
SkSr6500.Manufacturer="SEKONIC CORPORATION"

; TODO:  Replace the following with an appropriate description
;        of this actual device.
SkSr6500.DeviceDesc2300="SEKONIC SR-2300/5500 Device"
SkSr6500.DeviceDesc3500="SEKONIC SR-3500/6000/6500 Device"

; TODO:  Replace the following with an appropriate class name
;        for this class of device.  
SkSr6500.ClassName="Optical Mark Reader"

; TODO:  If not installing from a diskette, change the following string
;        to indicate the source location.
SkSr6500.DriverDiskName="SkSr6500 Installation Diskette" 
