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

[Version]
Signature="$WINDOWS NT$"
Class=USBDevice
ClassGuid={88BAE032-5A81-49f0-BC3D-A4FF138216D6}
Provider=%QCOM%
DriverVer = 08/02/2017, 1.0.1.3
Catalogfile= qdbusb.cat

; Setup-class section
[ClassInstall32]
AddReg = Class_AddReg

[Class_AddReg]
HKR,,,,%QcClassName%
HKR,,NoInstallClass,,1
HKR,,IconPath,0x00010000,"%systemroot%\system32\setupapi.dll,-20"
HKR,,LowerLogoVersion,,5.2

[Manufacturer]
%QCOM% = QCOM, NTx86, NTamd64

[QCOM.NTx86]
%QDSS11001%=QdssPort, USB\VID_1BC7&PID_1100&MI_01


[QCOM.NTamd64]
%QDSS11001%=QdssPort, USB\VID_1BC7&PID_1100&MI_01

[QdssPort.NT]
CopyFiles=QdssDriverFiles

[QdssPort01.NT]
CopyFiles=QdssDriverFiles
AddReg = DevFunctionTypeDPL

[QdssPort.NT.Services]
Addservice = qdbusb, 0x00000002, QdssService

[QdssPort01.NT.Services]
Addservice = qdbusb, 0x00000002, QdssService

[QdssService]
DisplayName    = %qdbusbService%
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\qdbusb.sys
LoadOrderGroup = Base

[QdssDriverFiles]
qdbusb.sys

[SourceDisksNames]
1=%Disk_Description%,,,

[SourceDisksFiles.x86]
qdbusb.sys = 1,\qdss\i386

[SourceDisksFiles.amd64]
qdbusb.sys = 1,\qdss\amd64

[DestinationDirs]
DefaultDestDir = 12

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

; WDF Coinstaller
[DestinationDirs]
CoInstaller_CopyFiles = 11

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

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

[CoInstaller_CopyFiles]
wdfcoinstaller01009.dll

[SourceDisksFiles.x86]
wdfcoinstaller01009.dll=1,\qdss\i386

[SourceDisksFiles.amd64]
wdfcoinstaller01009.dll=1,\qdss\amd64

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

[QdssPort.NT.Wdf]
KmdfService = qdbusb, qdbusb_wdfsect

[QdssPort01.NT.Wdf]
KmdfService = qdbusb, qdbusb_wdfsect

[qdbusb_wdfsect]
KmdfLibraryVersion = 1.9

[Strings]
QcClassName     = "Qualcomm USB Devices"
QCOM            = "QUALCOMM"
MfgName         = "Qualcomm Inc."
Disk_Description= "QDSS Driver Installation Disk"
qdbusbService = "QDSS USB Driver"

QDSS11001 = "QDSS Data 1100"

