[Version]
Signature="$WINDOWS NT$"
Class=MCE
ClassGuid={8637C41A-C391-4D09-934D-8BF054DD03C0}
Provider=%MCESYS%
DriverVer=01/27/2013,6.0.6000.16518
CatalogFile=mpdppBusEnum.cat

[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksNames.amd64]
1 = %DiskId1%,,,"\amd64"

[SourceDisksFiles]
mpdppBusEnum.sys  = 1,,


[ClassInstall]
AddReg=MCEMPD_class_install_add_reg

[ClassInstall32]
AddReg=MCEMPD_class_install_add_reg

[MCEMPD_class_install_add_reg]
HKR,,,,"MCE"
HKR,,Icon,,"-20"

[Manufacturer]
%StdMfg%=mpdppBus,NT,NTAMD64

[mpdppBus.NT]
%mpdppBus.DeviceDesc%=mpdppBus_Device, USB\Vid_4DCE&Pid_0106
%mpdppBus.DeviceDesc%=mpdppBus_Device, USB\Vid_4DCE&Pid_0108&MI_02

[mpdppBus.NTAMD64]
%mpdppBus.DeviceDesc%=mpdppBus_Device, USB\Vid_4DCE&Pid_0106
%mpdppBus.DeviceDesc%=mpdppBus_Device, USB\Vid_4DCE&Pid_0108&MI_02

[mpdppBus_Device.NT]
CopyFiles=Drivers_Dir

[mpdppBus_Device.NTAMD64]
CopyFiles=Drivers_Dir

[mpdppBus_Device.NT.HW]
AddReg=mpdppBus_Device.NT.AddReg

[mpdppBus_Device.NTAMD64.HW]
AddReg=mpdppBus_Device.NTAMD64.AddReg

[mpdppBus_Device.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
;HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 

[mpdppBus_Device.NTAMD64.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
;HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 

[Drivers_Dir]
mpdppBusEnum.sys


;-------------- Service installation
[mpdppBus_Device.NT.Services]
AddService = mpdppBusEnum,%SPSVCINST_ASSOCSERVICE%, busenum_Service_Inst

[mpdppBus_Device.NTAMD64.Services]
AddService = mpdppBusEnum,%SPSVCINST_ASSOCSERVICE%, busenum_Service_Inst

; -------------- busenum driver install sections
[busenum_Service_Inst]
DisplayName    = %busenum.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\mpdppBusEnum.sys
LoadOrderGroup = Extended Base


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
MCESYS = "MCE Systems"
StdMfg = "(Standard system devices)"
DiskId1 = "mpd Phone Parent Bus Installation Disk #1"
mpdppBus.DeviceDesc = "Mobile Phone (mpdPP)"
busenum.SVCDESC = "mpd Phone Parent Bus Enumerator"

