[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider="AstroMachine"
DriverVer=11/07/2017,18.7.13.0
CatalogFile=mvusbcomm.cat


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

[Manufacturer]
%MFG%=AstroMachine,NTx86,NTamd64

; For Win2K
[AstroMachine]
"USBCOMM Device Driver"	= mvusbcomm.Dev, USB\VID_239D&PID_1011&MI_01

; For x86 XP and later
[AstroMachine.NTx86]
"USBCOMM Device Driver"	= mvusbcomm.Dev, USB\VID_239D&PID_1011&MI_01

; For x64 XP and later
[AstroMachine.NTamd64]
"USBCOMM Device Driver"	= mvusbcomm.Dev, USB\VID_239D&PID_1011&MI_01


[mvusbcomm.Dev.NT]
CopyFiles=mvusbcomm.Files.Ext


[mvusbcomm.Dev.NT.Services]
Addservice = mvusbcomm, %SPSVCINST_ASSOCSERVICE%, mvusbcomm.AddService

[mvusbcomm.AddService]
DisplayName    = %mvusbcomm.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\mvusbcomm.sys
LoadOrderGroup = Base

[mvusbcomm.Files.Ext]
mvusbcomm.sys

[SourceDisksNames.x86]
1=%Disk_Description%,,,\comm\x32

[SourceDisksNames.amd64]
1=%Disk_Description%,,,\comm\x64

[SourceDisksFiles]
mvusbcomm.sys = 1

[DestinationDirs]
DefaultDestDir = 12

;-------------- WDF Coinstaller installation

[DestinationDirs]
CoInstaller_CopyFiles = 11

[mvusbcomm.Dev.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

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

[mvusbcomm.Dev.NT.Wdf]
KmdfService = mvusbcomm, mvusbcomm_wdfsect
[mvusbcomm_wdfsect]
KmdfLibraryVersion = 1.9

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

[Strings]
MFG="AstroMachine"
Disk_Description="USBCOMM Device Driver Installation Disk"
mvusbcomm.SvcDesc="USBCOMM Device"
SPSVCINST_ASSOCSERVICE= 0x00000002
