;*******************************************************************************
;*
;*  File:                         oxpar.inf
;*
;*  Copyright (C) 2006 Oxford Semiconductor Ltd.
;*
;*  Description:
;*      Installer for OX16PCI95x/OX12PCI840 PCI parallel ports
;*
;*******************************************************************************

[version]
Signature=$CHICAGO$
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%mfg%
CatalogFile=Oxpar.cat
DriverVer=01/24/2007, 6.5.1.5


[DestinationDirs]
DefaultDestDir   = 11       ; LDID_SYS
Drv_2K.NT.Copy   = 12       ; LDID_DRIVERS
Drv_XP.NT.Copy   = 12       ; LDID_DRIVERS
Drv_XP.NT64.Copy = 12       ; LDID_DRIVERS



;-------------------------------------------------------------------------------
;                           Install class "Ports"
;-------------------------------------------------------------------------------
[ClassInstall]
AddReg=PortsClass.AddReg

[PortsClass.AddReg]
HKR,,,,%PortsClassName%

[ClassInstall32.NT]
AddReg=PortsClass.NT.AddReg

[ClassInstall32.NTAMD64]
AddReg=PortsClass.NT.AddReg

[PortsClass.NT.AddReg]
HKR,,,,%PortsClassName%
HKR,,Icon,,"-23"
HKR,,Installer32,,"MsPorts.Dll,PortsClassInstaller"



;-------------------------------------------------------------------------------
;                         Supporting Device List
;-------------------------------------------------------------------------------
[Manufacturer]
%mfg%=mfg,NT.5.1,NTAMD64

[mfg]             ; Windows 2K
%VEN_1415&DEV_9513.DeviceDesc_2K%     = OXPAR_2K,  PCI\VEN_1415&DEV_9513
%VEN_1415&DEV_8403.DeviceDesc_2K%     = OXPAR_2K,  PCI\VEN_1415&DEV_8403
%VEN_1415&DEV_9523.DeviceDesc_2K%     = OXPAR_2K,  PCI\VEN_1415&DEV_9523

[mfg.NT.5.1]      ; Windows XP or later
%VEN_1415&DEV_9513.DeviceDesc_XP%     = OXPAR_XP,  PCI\VEN_1415&DEV_9513
%VEN_1415&DEV_8403.DeviceDesc_XP%     = OXPAR_XP,  PCI\VEN_1415&DEV_8403
%VEN_1415&DEV_9523.DeviceDesc_XP%     = OXPAR_XP,  PCI\VEN_1415&DEV_9523

[mfg.NTAMD64]      ; Windows XP or later
%VEN_1415&DEV_9513.DeviceDesc_XP%     = OXPAR_XP,  PCI\VEN_1415&DEV_9513
%VEN_1415&DEV_8403.DeviceDesc_XP%     = OXPAR_XP,  PCI\VEN_1415&DEV_8403
%VEN_1415&DEV_9523.DeviceDesc_XP%     = OXPAR_XP,  PCI\VEN_1415&DEV_9523



;-------------------------------------------------------------------------------
;                           Install Parallel Port
;-------------------------------------------------------------------------------
[OXPAR_2K.NT]
CopyFiles = Drv_2K.NT.Copy
AddReg    = OXPAR.AddReg

[OXPAR_XP.NT]
CopyFiles = Drv_XP.NT.Copy
AddReg    = OXPAR.AddReg

[OXPAR_XP.NTAMD64]
CopyFiles = Drv_XP.NT64.Copy
AddReg    = OXPAR.AddReg


[OXPAR.AddReg]
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,01
HKR,,EnumPropPages32,, "MsPorts.dll,ParallelPortPropPageProvider"


[OXPAR_2K.NT.Services]
AddService = oxpar, 0x00000002, oxpar_Service_Inst, oxpar_EventLog_Inst;

[OXPAR_XP.NT.Services]
AddService = oxpar, 0x00000002, oxpar_Service_Inst, oxpar_EventLog_Inst;

[OXPAR_XP.NTAMD64.Services]
AddService = oxpar, 0x00000002, oxpar_Service_Inst, oxpar_EventLog_Inst;



;-------------------------------------------------------------------------------
;                         Service Install Section
;-------------------------------------------------------------------------------
[oxpar_Service_Inst]
DisplayName    = %OXPAR.SVCDESC%
ServiceType    = 1                ; SERVICE_KERNEL_DRIVER
StartType      = 1                ; SERVICE_SYSTEM_START
ErrorControl   = 0                ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\oxpar.sys
LoadOrderGroup = Parallel arbitrator

[oxpar_EventLog_Inst]
AddReg = oxpar_EventLog_AddReg

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



;-------------------------------------------------------------------------------
;                     SourceDisksName & SourceDiskFiles 
;-------------------------------------------------------------------------------
[Drv_2K.NT.Copy]
oxpar.sys, oxpar2k.sys

[Drv_XP.NT.Copy]
oxpar.sys, oxpar.sys

[Drv_XP.NT64.Copy]
oxpar.sys, oxpar.sys


[SourceDisksNames.x86]
1=%drvDisk%,,

[SourceDisksNames.amd64]
1=%drvDisk%,,


[SourceDisksFiles.x86]
oxpar.sys    = 1,  x86
oxpar2k.sys  = 1,  x86

[SourceDisksFiles.amd64]
oxpar.sys    = 1, amd64



;-------------------------------------------------------------------------------
;                                 Strings
;-------------------------------------------------------------------------------
[Strings]
mfg                             = "(Enhanced ports)"
PortsClassName                  = "Ports (COM & LPT)"
drvDisk                         = "High-performance ports driver disk"

VEN_1415&DEV_9513.DeviceDesc_2K = "OX16PCI95x PCI Parallel port (Windows 2000)"
VEN_1415&DEV_8403.DeviceDesc_2K = "OX12PCI840 PCI Parallel port (Windows 2000)"
VEN_1415&DEV_9523.DeviceDesc_2K = "OX16PCI952 PCI Parallel port (Windows 2000)"
VEN_1415&DEV_9513.DeviceDesc_XP = "OX16PCI95x PCI Parallel port (Windows XP)"
VEN_1415&DEV_8403.DeviceDesc_XP = "OX12PCI840 PCI Parallel port (Windows XP)"
VEN_1415&DEV_9523.DeviceDesc_XP = "OX16PCI952 PCI Parallel port (Windows XP)"

PXPAR.SVCDESC                   = "OX16PCI95x Parallel port driver"

