;=======================================================================
;  Fuji Xerox Port Setup File
;  Copyright (c)  Fuji Xerox Co., Ltd. 2019
;  FileName   :   fupom15a.inf
;  Function   :   Port Driver
;  I/F        :   USB
;  OS         :   Windows 7 / 8 / 8.1  / 10
;  Model      : DocuPrint M375 df
;             : DocuPrint M378 df
;             : DocuPrint M375 z
;             : DocuPrint M385 z
=======================================================================

[Version]
Signature  = "$Windows NT$"
Class      = Ports
ClassGUID  = {4d36e978-e325-11ce-bfc1-08002be10318}
Provider   = Fuji Xerox
DriverPackageType       = PlugAndPlay
DriverPackageDisplayName = "DocuPrint M375 df, DocuPrint M378 df, DocuPrint M375 z, DocuPrint M385 z"
DriverVer   = 12/13/2019, 1.0.4.1
CatalogFile = fupom15a.cat

; ========== Manufacturer/Models sections ===========

[Manufacturer]
Fuji Xerox = BrDrv_WinUSB,NTx86,NTamd64.6.0,NTx86.6.1,NTamd64.6.1

; XP/Vista 32bit
[BrDrv_WinUSB.NTx86]
"FX DocuPrint M375 df" = USB_Install, USB\VID_0550&PID_01ED&MI_02
"FX DocuPrint M378 df" = USB_Install, USB\VID_0550&PID_01F3&MI_02
"FX DocuPrint M375 z" = USB_Install, USB\VID_0550&PID_01EE&MI_02
"FX DocuPrint M385 z" = USB_Install, USB\VID_0550&PID_0219&MI_02

; Vista 64bit
[BrDrv_WinUSB.NTamd64.6.0]
"FX DocuPrint M375 df" = USB_Install, USB\VID_0550&PID_01ED&MI_02
"FX DocuPrint M378 df" = USB_Install, USB\VID_0550&PID_01F3&MI_02
"FX DocuPrint M375 z" = USB_Install, USB\VID_0550&PID_01EE&MI_02
"FX DocuPrint M385 z" = USB_Install, USB\VID_0550&PID_0219&MI_02

; Windows 7/8 or later 32bit
[BrDrv_WinUSB.NTx86.6.1]
"FX DocuPrint M375 df" = USB_Install1009, USB\VID_0550&PID_01ED&MI_02
"FX DocuPrint M378 df" = USB_Install1009, USB\VID_0550&PID_01F3&MI_02
"FX DocuPrint M375 z" = USB_Install1009, USB\VID_0550&PID_01EE&MI_02
"FX DocuPrint M385 z" = USB_Install1009, USB\VID_0550&PID_0219&MI_02

; Windows 7/8 or later 64bit
[BrDrv_WinUSB.NTamd64.6.1]
"FX DocuPrint M375 df" = USB_Install1009, USB\VID_0550&PID_01ED&MI_02
"FX DocuPrint M378 df" = USB_Install1009, USB\VID_0550&PID_01F3&MI_02
"FX DocuPrint M375 z" = USB_Install1009, USB\VID_0550&PID_01EE&MI_02
"FX DocuPrint M385 z" = USB_Install1009, USB\VID_0550&PID_0219&MI_02

; =================== Installation ===================

;[1]
[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT
AddReg=USB_Install_Reg

;[1']
[USB_Install1009]
Include=winusb.inf
Needs=WINUSB.NT
AddReg=USB_Install_Reg

;-----------------------------------------

[USB_Install_Reg]
HKR,,PortSubClassOther,1,01

;[2]
[USB_Install.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall

[USB_Install1009.Services]
Include=winusb.inf
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall

;[3]
[WinUSB_ServiceInstall]
DisplayName     = %BrDrv_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

;[4]
[USB_Install.Wdf]
KmdfService=WINUSB, WinUsb_Install

[USB_Install1009.Wdf]
KmdfService=WINUSB, WinUsb_Install1009


[WinUSB_Install]
KmdfLibraryVersion=1.5

[WinUSB_Install1009]
KmdfLibraryVersion=1.9

;[5]
[USB_Install.HW]
AddReg=Dev_AddReg

[USB_Install1009.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{1EA0A2DA-6162-41EA-861A-E840C3FFF0E2}"

;[6]
[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

[USB_Install1009.CoInstallers]
AddReg=CoInstallers1009_AddReg
CopyFiles=CoInstallers1009_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01005.dll,WdfCoInstaller","WinUSBCoInstaller.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller.dll
WdfCoInstaller01005.dll

[CoInstallers1009_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll","WdfCoInstaller","WinUSBCoInstaller2.dll"

[CoInstallers1009_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll

[DestinationDirs]
DefaultDestDir         = 12
CoInstallers_CopyFiles = 11

; ================= Source Media Section =====================
;[7]

[SourceDisksNames]
1 = %DISK_NAME%,,,\x86
2 = %DISK_NAME%,,,\amd64

[SourceDisksFiles.x86]
WinUSBCoInstaller.dll   = 1
WdfCoInstaller01005.dll = 1
WinUSBCoInstaller2.dll  = 1
WdfCoInstaller01009.dll = 1

[SourceDisksFiles.amd64]
WinUSBCoInstaller.dll   = 2
WdfCoInstaller01005.dll = 2
WinUSBCoInstaller2.dll  = 2
WdfCoInstaller01009.dll = 2
BrSerIb.sys             = 3
BrUsbSib.sys            = 3
brciser.dll             = 3


; =================== Strings ===================

[Strings]
BrDrv_SvcDesc="Fuji Xerox WinUSB Port Driver"
DISK_NAME="Install Disk"

BrSerIb.SvcDesc = "Fuji Xerox Serial Interface Driver(WDM)"
BrUsbSIb.SvcDesc = "Fuji Xerox Serial USB Driver(WDM)"
BrDrvDisk1 = "Fuji Xerox Driver Disk"
