;********************************************************************
;*     File:   sbmp.inf
;*                   
;*     Description:
;*             Multifunction installer for MPCI products (Win9x/Win2000)
;*             Loads the enumerators, which create the child devnodes
;*      
;********************************************************************

[Version]
Signature=$CHICAGO$
Class=MultiPortSerial
ClassGuid={50906CB8-BA12-11D1-BF5D-0000F805F530}
Provider=%mfg%
CatalogFile=sbmp.cat	; Different .cat for Win2k binaries
DriverVer=02/22/2017, 1.735.01.002

[DestinationDirs]
DefaultDestDir=11		; LDID_SYS
Drv.NT.Copy=12			; LDID_DRIVER
dll.NT.Copy=11			; LDID_SYS
Drv.Copy=11
CoCopyINF.CopyFiles = 11

[SourceDisksNames]
1=%drvdisk%,,

[SourceDisksFiles]
cocpyinf.dll=1
Sbui.dll=1
Sbmp.sys=1
Sbmpf.sys=1
Sbserial.sys=1
SBPar.sys = 1

; Install class "Multifunction"
;----------------------------------------------------------
[ClassInstall]
AddReg=MP_Class.AddReg

[MP_Class.AddReg]
HKR,,,,%MP_ClassName%

[ClassInstall.NT]
AddReg=MP_Class.NT.AddReg

[MP_Class.NT.AddReg]
HKR,,,,%MP_ClassName%
HKR,,Class,,"MultiFunction"
HKR,,NoInstallClass,,"1"

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

[Manufacturer]
%mfg%=mfg

;List of available devices
[mfg]
%SYSBAS_1PORT.DeviceDesc% = PCI_4D01, PCI\VEN_14a1&DEV_4d01&REV_70,PCI\VEN_14a1&DEV_4d01&REV_80,PCI\VEN_14a1&DEV_4d01&REV_90,PCI\VEN_14a1&DEV_4d01&REV_B0
%SYSBAS_1SPORT.DeviceDesc% = PCI_1S, PCI\VEN_14a1&DEV_4d01&REV_C0
%SYSBAS_2SPORT.DeviceDesc% = PCI_2S, PCI\VEN_14a1&DEV_4d02&REV_C0
%SYSBAS_2PORT.DeviceDesc% = PCI_4D02, PCI\VEN_14a1&DEV_4d02&REV_70,PCI\VEN_14a1&DEV_4d02&REV_71,PCI\VEN_14a1&DEV_4d02&REV_80,PCI\VEN_14a1&DEV_4d02&REV_81,PCI\VEN_14a1&DEV_4d02&REV_90,PCI\VEN_14a1&DEV_4d02&REV_B0
%SYSBAS_1PCI_PORT.DeviceDesc% = PCI_1P, PCI\VEN_14a1&DEV_5001&REV_C0
%SYSBAS_1S1PCI_PORT.DeviceDesc% = PCI_1S1P, PCI\VEN_14a1&DEV_4302&REV_C0
%SYSBAS_2S1PCI_PORT.DeviceDesc% = PCI_2S1P, PCI\VEN_14a1&DEV_4303&REV_C0
%SYSBAS_6PORTPCI.DeviceDesc% = PCI_6S, PCI\VEN_14a1&DEV_0056&REV_C0
%SYSBAS_4PORTPCI.DeviceDesc% = PCI_4S, PCI\VEN_14a1&DEV_0054&REV_C0
%SYSBAS_PCI_10530004PORTPCI.DeviceDesc% = PCI_10530004, PCI\VEN_14a1&DEV_0004&REV_C0
%SYSBAS_PCI_10530006PORTPCI.DeviceDesc% = PCI_10530006, PCI\VEN_14a1&DEV_0006&REV_C0
%SYSBAS_4PORT.DeviceDesc% = PCI_0004, PCI\VEN_14a1&DEV_0004&REV_70,PCI\VEN_14a1&DEV_0004&REV_80,PCI\VEN_14a1&DEV_0004&REV_90,PCI\VEN_14a1&DEV_0004&REV_B0
%SYSBAS_4PORT.DeviceDesc% = PCI_0604, PCI\VEN_14a1&DEV_0604,PCI\VEN_14a1&DEV_0604&REV_B0
%SYSBAS_8PORT.DeviceDesc% = PCI_0008, PCI\VEN_14a1&DEV_0008&REV_70,PCI\VEN_14a1&DEV_0008&REV_80,PCI\VEN_14a1&DEV_0008&REV_90,PCI\VEN_14a1&DEV_0008&REV_B0
%SYSBAS_16PORT.DeviceDesc% = PCI_0016, PCI\VEN_14a1&DEV_0016,PCI\VEN_14a1&DEV_0016&REV_B0,PCI\VEN_14a1&DEV_4d16,PCI\VEN_14a1&DEV_4d16&REV_B0
%SYSBAS_32PORT.DeviceDesc% = PCI_0032, PCI\VEN_14a1&DEV_0032&REV_70,PCI\VEN_14a1&DEV_0032&REV_80,PCI\VEN_14a1&DEV_0032&REV_90,PCI\VEN_14a1&DEV_0032&REV_B0, PCI\VEN_14a1&DEV_4d32&REV_90,PCI\VEN_14a1&DEV_4d32&REV_B0
%SYSBAS_4JAPORT.DeviceDesc% = PCI_0004JA, PCI\VEN_14a1&DEV_0004&REV_91
%SYSBAS_4JAPORT.DeviceDesc% = PCI_0004JAX, PCI\VEN_14a1&DEV_0E04&REV_82,PCI\VEN_14a1&DEV_0E04&REV_B0


; ******************* Install MPCI 1 *****************
[PCI_4D01.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_4D01.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
CopyINF = Sbserial.inf
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg


[PCI_4D01.NT.HW]
AddReg=PCI_4D01.NT.HW.AddReg

[PCI_4D01.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x4D010000

[PCI_4D01.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 1S *****************
[PCI_1S.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_1S.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
CopyINF = Sbserial.inf
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg

[PCI_1S.NT.HW]
AddReg=PCI_1S.NT.HW.AddReg

[PCI_1S.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x10000000

[PCI_1S.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 2S *****************
[PCI_2S.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_2S.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
CopyINF = Sbserial.inf
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg

[PCI_2S.NT.HW]
AddReg=PCI_2S.NT.HW.AddReg

[PCI_2S.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x20000000

[PCI_2S.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 1S1P *****************
[PCI_1S1P.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_1S1P.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
CopyINF = Sbserial.inf
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg

[PCI_1S1P.NT.HW]
AddReg=PCI_1S1P.NT.HW.AddReg

[PCI_1S1P.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x10100000

[PCI_1S1P.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 2 *****************
[PCI_4D02.NT.CoInstallers]
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_4D02.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
CopyINF = Sbserial.inf
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg

[PCI_4D02.NT.HW]
AddReg=PCI_4D02.NT.HW.AddReg

[PCI_4D02.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x4D020000

[PCI_4D02.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 1P *****************
[PCI_1P.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_1P.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_1P.NT.HW]
AddReg=PCI_1P.NT.HW.AddReg

[PCI_1P.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x50010000

[PCI_1P.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 2S1P *****************

[PCI_2S1P.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_2S1P.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_2S1P.NT.HW]
AddReg=PCI_2S1P.NT.HW.AddReg

[PCI_2S1P.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x20100000


[PCI_2S1P.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst, mp_EventLog_Inst

; ******************* Install MPCI 4S *****************

[PCI_4S.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_4S.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_4S.NT.HW]
AddReg=PCI_4S.NT.HW.AddReg

[PCI_4S.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x00540000

[PCI_4S.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 6S *****************
[PCI_6S.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_6S.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_6S.NT.HW]
AddReg=PCI_6S.NT.HW.AddReg

[PCI_6S.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x00560000

[PCI_6S.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst


;;;;;
; ******************* Install MPCI 4S 10530004 *****************

[PCI_10530004.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_10530004.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_10530004.NT.HW]
AddReg=PCI_10530004.NT.HW.AddReg

[PCI_10530004.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x10530004

[PCI_10530004.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 6S 10530006*****************
[PCI_10530006.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_10530006.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_10530006.NT.HW]
AddReg=PCI_10530006.NT.HW.AddReg

[PCI_10530006.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x10530006

[PCI_10530006.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 4 *****************
[PCI_0004.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_0004.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_0004.NT.HW]
AddReg=PCI_0004.NT.HW.AddReg
[PCI_0004.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x00040000

[PCI_0004.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 4 *****************
[PCI_0604.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_0604.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_0604.NT.HW]
AddReg=PCI_0604.NT.HW.AddReg
[PCI_0604.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x06040000

[PCI_0604.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst


; ******************* Install MPCI 8 *****************
[PCI_0604.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_0008.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_0008.NT.HW]
AddReg=PCI_0008.NT.HW.AddReg
[PCI_0008.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x00080000

[PCI_0008.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 16 *****************
[PCI_0016.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_0016.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_0016.NT.HW]
AddReg=PCI_0016.NT.HW.AddReg
[PCI_0016.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x00160000

[PCI_0016.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 32 *****************
[PCI_0032.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_0032.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_0032.NT.HW]
AddReg=PCI_0032.NT.HW.AddReg
[PCI_0032.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x00320000

[PCI_0032.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 4JA *****************
[PCI_0004JA.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_0004JA.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_0004JA.NT.HW]
AddReg=PCI_0004JA.NT.HW.AddReg
[PCI_0004JA.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x00040091

[PCI_0004JA.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst

; ******************* Install MPCI 4JAX *****************
[PCI_0004JAX.NT.CoInstallers]      
AddReg          = CoCopyINF.AddReg
CopyFiles       = CoCopyINF.CopyFiles

[PCI_0004JAX.NT]
CopyFiles=Drv.NT.Copy, dll.NT.Copy
DelReg=DriverVer.DelReg
AddReg=DriverVer.AddReg
CopyINF = Sbserial.inf

[PCI_0004JAX.NT.HW]
AddReg=PCI_0004JAX.NT.HW.AddReg

[PCI_0004JAX.NT.HW.AddReg]
HKR,,"SbDeviceType", 	0x00010001,	0x0E040082

[PCI_0004JAX.NT.Services]
AddService = sbmp, 0x00000002, mp_Service_Inst


; ****************** copyfiles, registry etc.
[Drv.NT.Copy]
Sbmp.sys
Sbmpf.sys
Sbserial.sys
SBPar.sys

[dll.NT.Copy]
Sbui.dll

[mp_Service_Inst]
DisplayName    = %sbmp_driverdescstring%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 1               ; SERVICE_SYSTEM_START (this driver may do detection)
ErrorControl   = 0               ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\Sbmp.sys
LoadOrderGroup = Extended base

[mp_EventLog_Inst]
AddReg = mp_EventLog_AddReg

[mp_EventLog_AddReg]
;REG_EXPAND_SZ = 0x00020000
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
;REG_DWORD=0x00010001
HKR,,TypesSupported,0x00010001,7

[DriverVer.AddReg]
HKR,,Ver,,%SBPCIVersion%
HKR,,EnumPropPages32,,"Sbui.dll,SerialPropPageProvider"

[DriverVer.DelReg]
HKR,,Ver


[CoCopyINF.AddReg]
HKR,,CoInstallers32,0x10000,"cocpyinf.DLL,CoCopyINF"

[CoCopyINF.CopyFiles]
cocpyinf.dll,,,0x10



[Strings]
mfg                     = ""
MP_ClassName			= "MultiFunction Card"
drvDisk					= "Enhanced Serial Multi-port driver disk"
SBPCIVersion			= "5.2.1"
sbmp_driverdescstring   = "Multiport Bus enumerator
SYSBAS_1PORT.DeviceDesc="Enhanced Serial Multi-1/PCI"
SYSBAS_2PORT.DeviceDesc="Enhanced Serial Multi-2/PCI"
SYSBAS_1SPORT.DeviceDesc="Enhanced Serial Multi-1S/PCI"
SYSBAS_2SPORT.DeviceDesc="Enhanced Serial Multi-2S/PCI"
SYSBAS_1PCI_PORT.DeviceDesc="Enhanced Serial Multi-1P/PCI"
SYSBAS_1S1PCI_PORT.DeviceDesc="Enhanced Serial Multi-1S1P/PCI"
SYSBAS_2S1PCI_PORT.DeviceDesc="Enhanced Serial Multi-2S1P/PCI"
SYSBAS_6PORTPCI.DeviceDesc="Enhanced Serial Multi-6S/PCI"
SYSBAS_4PORTPCI.DeviceDesc="Enhanced Serial Multi-4S/PCI"
SYSBAS_PCI_10530004PORTPCI.DeviceDesc="Enhanced Serial Multi-4S/PCI"
SYSBAS_PCI_10530006PORTPCI.DeviceDesc="Enhanced Serial Multi-6S/PCI"
SYSBAS_4PORT.DeviceDesc="Enhanced Serial Multi-4/PCI"
SYSBAS_8PORT.DeviceDesc="Enhanced Serial Multi-8/PCI"
SYSBAS_16PORT.DeviceDesc="Enhanced Serial Multi-16/PCI"
SYSBAS_32PORT.DeviceDesc="Enhanced Serial Multi-32/PCI"
SYSBAS_32PORT_AX.DeviceDesc="Enhanced Serial Multi-32/PCI For Axiom"
SYSBAS_4JAPORT.DeviceDesc="Enhanced Serial Multi-4(JA)/PCI"