; Copyright (C) SEIKO EPSON CORPORATION 2019. All rights reserved.
; 
[Version]
Signature       = "$Windows NT$"
Provider        = %EPSON%
ClassGUID       = {36FC9E60-C465-11CF-8056-444553540000}
Class           = USB
DriverVer=11/08/2019,1.0.0.0
CatalogFile      = EBSGEP0B.CAT


[Manufacturer]
%EPSON% = EPSON,NTamd64.5.2,NTamd64.6.1,NTamd64.6.2



; =================== For Endpoint ============================================================
; ========== Manufacturer/Models sections ===========

[EPSON]

[EPSON.NTamd64.5.2]
"EPSON Printer Utility 1301" =USB_Install_XP, USB\VID_04B8&PID_1301&MI_01
"EPSON Printer Utility 1302" =USB_Install_XP, USB\VID_04B8&PID_1302&MI_01
"EPSON Printer Utility 1303" =USB_Install_XP, USB\VID_04B8&PID_1303&MI_01

[EPSON.NTamd64.6.1]
"EPSON Printer Utility 1301" =USB_Install, USB\VID_04B8&PID_1301&MI_01
"EPSON Printer Utility 1302" =USB_Install, USB\VID_04B8&PID_1302&MI_01
"EPSON Printer Utility 1303" =USB_Install, USB\VID_04B8&PID_1303&MI_01


[EPSON.NTamd64.6.2]
; =================== Installation ===================

;[1]
[USB_Install_XP]
Include=winusb.inf
Needs=WINUSB.NT

[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT

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

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

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

;[4]
[USB_Install_XP.Wdf]
KmdfService=WINUSB, WinUsb_InstallXP

[USB_Install.Wdf]
KmdfService=WINUSB, WinUsb_Install

[WinUSB_InstallXP]
KmdfLibraryVersion=1.9

[WinUSB_Install]
KmdfLibraryVersion=1.11

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

[USB_Install.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{B1CEB704-C9BA-4369-82B7-AF7EE754099F}"

;[6]
[USB_Install_XP.CoInstallers]
AddReg=CoInstallersXP_AddReg
CopyFiles=CoInstallersXP_CopyFiles

[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

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

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01011.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"

[CoInstallersXP_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01011.dll

[DestinationDirs]
CoInstallers_CopyFiles=11
CoInstallersXP_CopyFiles=11

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

[SourceDisksNames]
1 = %DISKLABEL%,,,WINUSBDRV

[SourceDisksFiles]
WinUSBCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
WdfCoInstaller01011.dll=1

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

[Strings]
EPSON           = "EPSON"
DISKLABEL       = "EPSON Generic Printer Utility"
WinUSB_SvcDesc	="WinUSB Driver"
ClassName	="EPSON Device Configuration Setting"
