;------------------------------------------------------------------------------
; Novatel/Dell Wireless Location Base Service Installation file (.inf).
; (c) Copyright 2012 Novatel Wireless Inc. 
;------------------------------------------------------------------------------

[Version]
Signature   = "$Windows NT$"
Class       = Sensor
ClassGuid   = {5175D334-C371-4806-B3BA-71FD53C9258D}
Provider    = %NW%
CatalogFile = nwdelLBS.cat
CatalogFile.NTAMD64 = nwdelLBSx64.cat
DriverVer      = 09/12/2012,1.0.0.6

;-------------------------------------------------------------------------------
; INF Manufactuerer Section
;-------------------------------------------------------------------------------

[Manufacturer]
%NW% = Models, NTx86.6.1, NTamd64.6.1

;-------------------------------------------------------------------------------
; INF Models Section
;-------------------------------------------------------------------------------
[Models.NTx86.6.1]
%nwdelLBS.DeviceDesc% = nwdelLBS_Install, USB\VID_413C&PID_A001

[Models.NTamd64.6.1]
%nwdelLBS.DeviceDesc% = nwdelLBS_Install64, USB\VID_413C&PID_A001

[SourceDisksFiles]
nwdelLBS.dll      = 1
nwdelLBSx64.dll   = 1

[SourceDisksNames]
1 = %MediaDescription%

;-------------------------------------------------------------------------------
; INF DDInstall Section
;-------------------------------------------------------------------------------
[nwdelLBS_Install]
CopyFiles       = UMDriverCopy
FeatureScore    = 0x20  
AddProperty     = DriverPropertiesSection
AddProperty     = WDTFSOCDeviceCategory

[nwdelLBS_Install64]
CopyFiles       = UMDriverCopy.AMD64
FeatureScore    = 0x20  
AddProperty     = DriverPropertiesSection
AddProperty     = WDTFSOCDeviceCategory

[nwdelLBS_Install.hw]
AddReg          = Sensor_AddReg

[nwdelLBS_Install64.hw]
AddReg          = Sensor_AddReg

[nwdelLBS_Install.Services]
AddService      = WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[nwdelLBS_Install64.Services]
AddService      = WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[nwdelLBS_Install.CoInstallers]
AddReg=WUDF_CoInstallers_AddReg
CopyFiles = WUDF_CoInstallers_CopyFiles 

[nwdelLBS_Install64.CoInstallers]
AddReg=WUDF_CoInstallers_AddReg
CopyFiles = WUDF_CoInstallers_CopyFiles.NTAMD64 

[nwdelLBS_Install.Wdf]
UmdfService                = NWLBS,UMDFnwdelLBS_Install
UmdfServiceOrder           = NWLBS
UmdfImpersonationLevel     = Impersonation

[nwdelLBS_Install64.Wdf]
UmdfService                = NWLBS,UMDFnwdelLBS_Install64
UmdfServiceOrder           = NWLBS
UmdfImpersonationLevel     = Impersonation

[WDTFSOCDeviceCategory]
{5D078032-6378-437B-8DA5-9B32B7CA3FDD},2,7,,0

[WUDF_CoInstallers_CopyFiles]
; WUDFCoInstaller.dll comes with Windows

[WUDF_CoInstallers_CopyFiles.NTAMD64]
; WUDFCoInstaller.dll comes with Windows

; =================== UMDF Service Install section ===================

[UMDFnwdelLBS_Install]
UmdfLibraryVersion      = 1.9.0
ServiceBinary           = %12%\UMDF\nwdelLBS.dll
DriverCLSID             = {87150C82-D71E-4BF9-8A45-CE2C2BE28310}

[UMDFnwdelLBS_Install64]
UmdfLibraryVersion      = 1.9.0
ServiceBinary           = %12%\UMDF\nwdelLBS.dll
DriverCLSID             = {87150C82-D71E-4BF9-8A45-CE2C2BE28310}

[WUDFRD_ServiceInstall]
DisplayName     = %WudfRdDisplayName%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WUDFRd.sys

[WUDF_CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WUDFCoInstaller.dll"
HKCR,CLSID\{B348F9DE-0984-4768-ACDE-FECA2A193F0A},,0x00000000,"Dell Radio Manager"
HKCR,CLSID\{B348F9DE-0984-4768-ACDE-FECA2A193F0A}\InProcServer32,,0x00020000,"%%SystemRoot%%\System32\Drivers\UMDF\nwdelLBS.dll"
HKCR,CLSID\{B348F9DE-0984-4768-ACDE-FECA2A193F0A}\InProcServer32,ThreadingModel,0x00000000,"Both"
HKLM,SYSTEM\CurrentControlSet\Control\RadioManagement\{B348F9DE-0984-4768-ACDE-FECA2A193F0A},,0x00000000,"Dell Radio Manager"

[Sensor_AddReg]
HKR,,XTRAServerURL,,"xtra1.gpsonextra.net;xtra2.gpsonextra.net;xtra3.gpsonextra.net"
HKR,,SUPLconfig,,"0"

[DestinationDirs]
UMDriverCopy                 = 12,UMDF
UMDriverCopy.AMD64           = 12,UMDF

[UMDriverCopy]
nwdelLBS.dll

[UMDriverCopy.AMD64]
nwdelLBS.dll, nwdelLBSx64.dll,,0x20

; =================== Driver Property section ===================

[DriverPropertiesSection]
DeviceIcon,,,,"%SystemRoot%\system32\sensorscpl.dll,-1000"

; =================== Generic ==================================
[Strings]
NW                            = "Novatel Wireless Inc"
MediaDescription              = "Dell Location Sensor Installation Media"
ClassName                     = "Dell Location Sensor"
WudfRdDisplayName             = "Windows Driver Foundation - User-mode Driver Framework Reflector"
nwdelLBS.DeviceDesc           = "Dell Location Sensor"
