;********************************************************************
;*
;*     	File:	oxpar.inf
;*
;*	Description:
;*		Installer for OX16PCI95x/OX12PCI840 
;*		PCI parallel ports
;*
;********************************************************************

[version]
Signature=$CHICAGO$
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%mfg%
CatalogFile=Oxpar.cat		; .cat for Win 95/98/Me binaries
;CatalogFile.NT=OxparNT.cat	; Different .cat for Win2k binaries
; Win98 doesn't recognise DriverVer in [version] section, so this tag is copied
; in its DDInstall sections
DriverVer=07/22/2004, 4.0.9

[DestinationDirs]
DefaultDestDir=11		; LDID_SYS
Inf.Copy=17			; LDID_INF
Drv.Copy=11			; LDID_SYS
Drv_2K.NT.Copy=12		; LDID_DRIVERS
Drv_XP.NT.Copy=12		; LDID_DRIVERS
Inf.NT.Copy=17			; LDID_INF

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

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

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

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

[ControlFlags]
;ExcludeFromSelect=PCI\VEN_1415&DEV_9513
;ExcludeFromSelect=PCI\VEN_1415&DEV_8403
;ExcludeFromSelect=PCI\VEN_1415&DEV_9523

; Drivers
;----------------------------------------------------------

[Manufacturer]
%mfg%=mfg

[mfg]
%VEN_1415&DEV_9513.DeviceDesc_2K%     = PCI9513_2K,       PCI\VEN_1415&DEV_9513
%VEN_1415&DEV_8403.DeviceDesc_2K%     = PCI8403_2K,       PCI\VEN_1415&DEV_8403
%VEN_1415&DEV_9523.DeviceDesc_2K%     = PCI8403_2K,       PCI\VEN_1415&DEV_9523
%VEN_1415&DEV_9513.DeviceDesc_98%     = PCI9513_2K,       PCI\VEN_1415&DEV_9513
%VEN_1415&DEV_8403.DeviceDesc_98%     = PCI8403_2K,       PCI\VEN_1415&DEV_8403
%VEN_1415&DEV_9523.DeviceDesc_98%     = PCI8403_2K,       PCI\VEN_1415&DEV_9523
%VEN_1415&DEV_9513.DeviceDesc_XP%     = PCI9513_XP,       PCI\VEN_1415&DEV_9513
%VEN_1415&DEV_8403.DeviceDesc_XP%     = PCI8403_XP,       PCI\VEN_1415&DEV_8403
%VEN_1415&DEV_9523.DeviceDesc_XP%     = PCI8403_XP,       PCI\VEN_1415&DEV_9523


; ***************  install OX16PCI95x port (2K) *****************

[PCI9513_2K]
DriverVer=07/11/2003, 4.0.8
CopyFiles=Drv.Copy
AddReg=Drv.Reg
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg

[PCI9513_2K.HW]
AddReg=LogConfOverride, Oxflags9513

[PCI9513_2K.NT]
CopyFiles=Drv_2K.NT.Copy
AddReg=PCI9513_2K.AddReg,PCI9513_2K.NT.AddReg

[PCI9513_2K.AddReg]
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,00

[PCI9513_2K.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,ParallelPortPropPageProvider"

;-------------- Service installation
[PCI9513_2K.NT.Services]
AddService = oxpar, 0x00000002, oxpar_Service_Inst, oxpar_EventLog_Inst ;


; ***************  install OX16PCI95x port (XP) *****************

[PCI9513_XP]
DriverVer=07/11/2003, 4.0.8
CopyFiles=Drv.Copy
AddReg=Drv.Reg
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg

[PCI9513_XP.HW]
AddReg=LogConfOverride, Oxflags9513

[PCI9513_XP.NT]
CopyFiles=Drv_XP.NT.Copy
AddReg=PCI9513_XP.AddReg,PCI9513_XP.NT.AddReg

[PCI9513_XP.AddReg]
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,00

[PCI9513_XP.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,ParallelPortPropPageProvider"

;-------------- Service installation
[PCI9513_XP.NT.Services]
AddService = oxpar, 0x00000002, oxpar_Service_Inst, oxpar_EventLog_Inst ;



; ***************  install OX12PCI840 and OX16PCI952 port (2K) *****************

[PCI8403_2K]
DriverVer=07/11/2003, 4.0.8
CopyFiles=Drv.Copy
AddReg=Drv.Reg
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg

[PCI8403_2K.HW]
AddReg=LogConfOverride, Oxflags8403

[PCI8403_2K.NT]
CopyFiles=Drv_2K.NT.Copy
AddReg=PCI8403_2K.AddReg,PCI8403_2K.NT.AddReg

[PCI8403_2K.AddReg]
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,01

[PCI8403_2K.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,ParallelPortPropPageProvider"

;-------------- Service installation
[PCI8403_2K.NT.Services]
AddService = oxpar, 0x00000002, oxpar_Service_Inst, oxpar_EventLog_Inst ;

; ***************  install OX12PCI840 and OX16PCI952 port (XP) *****************

[PCI8403_XP]
DriverVer=07/11/2003, 4.0.8
CopyFiles=Drv.Copy
AddReg=Drv.Reg
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg

[PCI8403_XP.HW]
AddReg=LogConfOverride, Oxflags8403

[PCI8403_XP.NT]
CopyFiles=Drv_XP.NT.Copy
AddReg=PCI8403_XP.AddReg,PCI8403_XP.NT.AddReg

[PCI8403_XP.AddReg]
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,01

[PCI8403_XP.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,ParallelPortPropPageProvider"


;-------------- Service installation
[PCI8403_XP.NT.Services]
AddService = oxpar, 0x00000002, oxpar_Service_Inst, oxpar_EventLog_Inst ;


; -------------- Parallel Port Driver install sections
[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


; -------------- Parallel Port Driver install sections
[Parport_Service_Inst]
DisplayName    = %Parport.SVCDESC%
ServiceType    = 1                ; SERVICE_KERNEL_DRIVER
StartType      = 1                ; SERVICE_SYSTEM_START
ErrorControl   = 0                ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\parport.sys
LoadOrderGroup = Parallel arbitrator

[Parport_EventLog_Inst]
AddReg = Parport_EventLog_AddReg

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

[Drv.Reg]
HKR,,DevLoader,0,oxpp.vxd
HKR,,DriverDesc,0,"OX16PCI95x bus(lpt) enumerator"
HKR,,EnumPropPages,,"oxppui.dll,EnumPropPages"

[LogConfOverride]
HKR,,ConfigFlags,1,08,00,00,00

[Oxflags9513]
HKR,,OxfordFlags,1,13,95,00,01
[Oxflags8403]
HKR,,OxfordFlags,1,03,84,00,01

[Drv.Copy]
oxpp.vxd
oxppui.dll

[Inf.Copy]
oxpar2.inf

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

[Drv_2K.NT.Copy]
oxpar.sys,oxpar_2k.sys

[Inf.NT.Copy]
oxpar3.inf

[DriverVer.AddReg]
HKR,,Ver,,%OXPCIVersion%

[DriverVer.DelReg]
HKR,,Ver

[SourceDisksNames]
1=%drvDisk%,,

[SourceDisksFiles]
oxpp.vxd=1
oxppui.dll=1
oxpar2.inf=1
oxpar3.inf=1
oxpar.sys=1
oxpar_xp.sys = 1
oxpar_2k.sys = 1

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

VEN_1415&DEV_9513.DeviceDesc_98         = "OX16PCI95x PCI Parallel port (Windows 98/ME)"
VEN_1415&DEV_8403.DeviceDesc_98      	= "OX12PCI840 PCI Parallel port (Windows 98/ME)"
VEN_1415&DEV_9523.DeviceDesc_98         = "OX16PCI952 PCI Parallel port (Windows 98/ME)"
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)"

oxpar.SVCDESC  				= "OX16PCI95x Parallel port driver"
Parport.SVCDESC  			= "Parallel port driver"
