; Windows Setup File for lgdpl
; Copyright (c) 2018 Qualcomm Technologies, Inc.
; All rights reserved.
;

[Version]
Signature="$WINDOWS NT$"
Class=USBDevice
ClassGuid={88BAE032-5A81-49f0-BC3D-A4FF138216D6}
Provider=%LGE%
DriverVer = 01/06/2021,4.8.0.0
Catalogfile= lgdpl.cat

; Setup-class section
[ClassInstall32]
AddReg = Class_AddReg

[Class_AddReg]
HKR,,,,%LGClassName%
HKR,,NoInstallClass,,1
HKR,,IconPath,0x00010000,"%%systemroot%%\system32\setupapi.dll,-20"
HKR,,LowerLogoVersion,,5.2
[Manufacturer]
%LGE% = LGE, NTx86.6.0, NTamd64.6.0

[LGE.NTx86.6.0]
%LGDPL%=DPLPort, USB\VID_1004&PID_634C&MI_05
%LGDPL_DSS%=DPLPort, USB\VID_1004&PID_634C&MI_06
%LGDPL%=DPLPort, USB\VID_1004&PID_634B&MI_04
%LGDPL_DSS%=DPLPort, USB\VID_1004&PID_634B&MI_05


[LGE.NTamd64.6.0]
%LGDPL%=DPLPort, USB\VID_1004&PID_634C&MI_05
%LGDPL_DSS%=DPLPort, USB\VID_1004&PID_634C&MI_06
%LGDPL%=DPLPort, USB\VID_1004&PID_634B&MI_04
%LGDPL_DSS%=DPLPort, USB\VID_1004&PID_634B&MI_05

[DPLPort.NT]
CopyFiles=LGDPLDriverFiles
AddReg = DevFunctionTypeDPL

[DPLPort.NTamd64]
CopyFiles=LGDPLDriverFiles64
AddReg = DevFunctionTypeDPL


[DPLPort.NT.Services]
Addservice = LGdpl, 0x00000002, LGdplService

[DPLPort.NTamd64.Services]
Addservice = LGdpl, 0x00000002, LGdplService64

[LGdplService]
DisplayName    = %lgdplusbService%
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\LGdpl.sys
LoadOrderGroup = Base

[LGdplService64]
DisplayName    = %lgdplusbService%
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\LGdpl64.sys
LoadOrderGroup = Base


[LGDPLDriverFiles]
LGdpl.sys

[LGDPLDriverFiles64]
LGdpl64.sys

[SourceDisksNames]
1=%Disk_Description%,,,

[SourceDisksFiles.x86]
LGdpl.sys = 1,\lgdpl\i386
wdfcoinstaller01009.dll=1,\lgdpl\i386

[SourceDisksFiles.amd64]
LGdpl64.sys = 1,\lgdpl\amd64
wdfcoinstaller01009.dll=1,\lgdpl\amd64

[DestinationDirs]
DefaultDestDir = 12
CoInstaller_CopyFiles = 11

[DevFunctionTypeDPL]
;HKR,,QCDeviceFunction,0x00010001,1
HKR,,QCDeviceFunction,0x00010001,0

; WDF Coinstaller



[DPLPort.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[DPLPort01.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
wdfcoinstaller01009.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01009.dll,WdfCoInstaller"


[DPLPort.NT.Wdf]
KmdfService = LGdpl, LGusb_wdfsect

[DPLPort.NTamd64.Wdf]
KmdfService = LGdpl, LGusb_wdfsect

[LGusb_wdfsect]
KmdfLibraryVersion = 1.9

[Strings]
LGClassName     = "LGE USB DPL_QDSS Devices"
LGE            	= "LG Electronics, Inc."
MfgName         = "LG Electronics, Inc."
Disk_Description= "LGE USB DPL_QDSS Port Drivers Installation Disk"
lgdplusbService = "LGE DPL_QDSS Port Driver"

LGDPL = "LGE USB DPL Data"
LGDPL_DSS ="LGE USB DPL_QDSS Data"


