;/*++
;
;Copyright (c) 2014 Sierra Wireless Inc. All rights Reserved
;
;Module Name:
;
;    swmbbbus05.INF
;
;Abstract:
;    INF file for installing SWI bus enumerator driver
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={36FC9E60-C465-11CF-8056-444553540000}
Provider=%Manufacturer%
DriverVer=12/04/2014,13.7.1.22
CatalogFile=swmbbbus05.cat


[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1 = %DiskId1%,,,\wdf\x86
2 = %DiskId1%,,,\wdf\amd64

[SourceDisksFiles.x86]
swimbbbus00.sys  = 1,,
WdfCoInstaller01009.dll = 1,,

[SourceDisksFiles.amd64]
swimbbbus00.sys  = 2,,
WdfCoInstaller01009.dll = 2,,


;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard,NTx86,NTAMD64

; For Win2K because it cannot parse decorated sections
[Standard]
%SWIBus.DeviceDesc81B6%=SWIBus_Device, USB\VID_413C&PID_81B6
%SWIBus.DeviceDesc81B8%=SWIBus_Device, USB\VID_413C&PID_81B8

; For XP and later
[Standard.NTx86]
%SWIBus.DeviceDesc81B6%=SWIBus_Device, USB\VID_413C&PID_81B6
%SWIBus.DeviceDesc81B8%=SWIBus_Device, USB\VID_413C&PID_81B8

; For XP and later
[Standard.NTAMD64]
%SWIBus.DeviceDesc81B6%=SWIBus_Device, USB\VID_413C&PID_81B6
%SWIBus.DeviceDesc81B8%=SWIBus_Device, USB\VID_413C&PID_81B8

[SWIBus_Device.NT]
CopyFiles=Drivers_Dir

[SWIBus_Device.NT.HW]
AddReg=SWIBus_Device.NT.AddReg

[SWIBus_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 
HKR,,UpperFilters, 0x00010000, "swimbbbusflt05"

[Drivers_Dir]
swimbbbus05.sys, swimbbbus00.sys
swimbbbusflt05.sys, swimbbbus00.sys

;-------------- Service installation
[SWIBus_Device.NT.Services]
AddService = swimbbbusflt05,, swibusflt_Service_Inst
AddService = swimbbbus05,%SPSVCINST_ASSOCSERVICE%, swibus_Service_Inst

; -------------- dynambus driver install sections
[swibusflt_Service_Inst]
DisplayName     = %swibusflt.SvcDesc%                            
ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
StartType       = 3                  ; SERVICE_DEMAND_START
ErrorControl    = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\swimbbbusflt05.sys                            

[swibus_Service_Inst]
DisplayName    = %swibus.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\swimbbbus05.sys
LoadOrderGroup = Extended Base


;
;--- SWIBus_Device Coinstaller installation ------
;
[DestinationDirs]
SWIBus_Device_CoInstaller_CopyFiles = 11

[SWIBus_Device.NT.CoInstallers]
AddReg=SWIBus_Device_CoInstaller_AddReg
CopyFiles=SWIBus_Device_CoInstaller_CopyFiles

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

[SWIBus_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SWIBus_Device.NT.Wdf]
KmdfService = swimbbbus05, swibus_wdfsect

[swibus_wdfsect]
KmdfLibraryVersion = 1.9


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
Manufacturer = "Sierra Wireless Inc."
StdMfg = "(Standard system devices)"
DiskId1 = "SWI Bus Installation Disk #1"
swibus.SVCDESC = "Sierra Wireless MBB Device Bus Enumerator 05"
swibusflt.SVCDESC = "Sierra Wireless MBB Device Bus Enumerator Filter 05"
SWIBus.DeviceDesc81B6 = "Dell Wireless 5811e Gobi(TM) 4G LTE Mobile Broadband Card"
SWIBus.DeviceDesc81B8 = "Dell Wireless 5811e Gobi(TM) HSPA+ Mobile Broadband Card"

