;
;   acm2pl.INF (for Windows XP / Vista / Win7 / Win8 / Win8.1 / Win10)
;
;   Copyright (c) 2007-2024, Prolific Technology Inc.


[version]
signature="$CHICAGO$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%PRO%
DriverVer=03/20/2025,4.0.6.0
CatalogFile=acm2pl.cat


; ================= Device Install section =====================

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%PRO%=PRO,NTx86,NTAMD64

[SourceDisksFiles]
acm2pl.sys=1
acm2pl64.sys=1
acm2pl.dll=1
acm2pl64.dll=1

[SourceDisksNames]
1=%DISK_NAME%,


[DestinationDirs]
;;12 dirid = \Drivers 
;;11 ; dirid = \system32 
DefaultDestDir  = 12
CopyFilesx86 = 11
CopyFilesx64 = 11


[PRO.NTx86]
%DeviceDesc0% = ComPort, USB\VID_067B&PID_2503&MI_00
%DeviceDesc1% = ComPort, USB\VID_067B&PID_2502&MI_00
%DeviceDesc2% = ComPort, USB\VID_067B&PID_2502&MI_02
%DeviceDesc3% = ComPort, USB\VID_067B&PID_2503&MI_02

[PRO.NTAMD64]
%DeviceDesc0% = ComPort, USB\VID_067B&PID_2503&MI_00
%DeviceDesc1% = ComPort, USB\VID_067B&PID_2502&MI_00
%DeviceDesc2% = ComPort, USB\VID_067B&PID_2502&MI_02
%DeviceDesc3% = ComPort, USB\VID_067B&PID_2503&MI_02

[ComPort.NTx86]
CopyFiles=ComPort.NTx86.Copy
CopyFiles=CopyFilesx86
AddReg=ComPort.NTx86.AddReg

[ComPort.NTx86.HW]
AddReg=ComPort.HW.AddReg

[ComPort.NTx86.Services]
AddService = acm2plx86, 0x00000002, Serial_Service_Inst.NTx86
AddService = Serenum,,Serenum_Service_Inst

[ComPort.NTx86.Copy]
acm2pl.sys

[CopyFilesx86]
acm2pl.dll

[ComPort.NTx86.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,acm2pl.sys
HKR,,EnumPropPages32,,"acm2pl.dll,SerialPortPropPageProvider"
HKR,,PortSubClass,1,01

[ComPort.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"
HKR,,"PL2303C1",0x00010001,10
HKR,,"PL2303C2",0x00010001,0
HKR,,"PL2303C3",0x00010001,4096

[ComPort.NTAMD64]
CopyFiles=ComPort.NTAMD64.Copy
CopyFiles=CopyFilesx64
AddReg=ComPort.NTAMD64.AddReg

[ComPort.NTAMD64.HW]
AddReg=ComPort.HW.AddReg

[ComPort.NTAMD64.Services]
AddService = acm2plx86, 0x00000002, Serial_Service_Inst.NTAMD64
AddService = Serenum,,Serenum_Service_Inst

[ComPort.NTAMD64.Copy]
acm2pl64.sys

[CopyFilesx64]
acm2pl64.dll

[ComPort.NTAMD64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,acm2pl64.sys
HKR,,EnumPropPages32,,"acm2pl64.dll,SerialPortPropPageProvider"
HKR,,PortSubClass,1,01


[Serial_Service_Inst.NTx86]
DisplayName    = %Serial.SVCDESC%                            
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\acm2pl.sys                            
LoadOrderGroup = Base

[Serial_Service_Inst.NTAMD64]
DisplayName    = %Serial.SVCDESC%                            
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\acm2pl64.sys                            
LoadOrderGroup = Base

[Serenum_Service_Inst]
DisplayName    = %Serenum.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\serenum.sys
LoadOrderGroup = PNP Filter


[Strings]
PRO = "Prolific"
DeviceDesc0 = "PL2503 USB2.0 HS Serial Port"
DeviceDesc1 = "PL2502 USB2.0 HS Serial Port"
DeviceDesc2 = "PL2502 USB2.0 HS Serial Port - TX-RX Only"
DeviceDesc3 = "PL2503 USB2.0 HS Serial Port - TX-RX Only"
Serial.SVCDESC  = "PL250X USB2.0 HS Serial Port WDF driver"
Serenum.SVCDESC = "Serenum Filter Driver"
DISK_NAME = "USB-Serial Cable Diskette"

