; Nokia USB Host Driver for Windows
; Copyright (c) Nokia Corporation. All rights reserved.
; INF for Nokia devices
; Date: 03/13/2014, Version: 1.0.0.1
;

[Version]
Signature           = "$Windows NT$"
Class               = USBDevice
ClassGuid           = {88BAE032-5A81-49f0-BC3D-A4FF138216D6}
Provider            = %ProviderName%
DriverVer           = 03/13/2014, 1.0.0.1
CatalogFile         = emergencydownload.cat

[Manufacturer]
%ProviderName%=DeviceList,NTx86,NTamd64

[SourceDisksNames]
1 = %InstallDisk%,,,\coinstallers\x86
2 = %InstallDisk%,,,\coinstallers\amd64

[SourceDisksFiles.x86]
winusbcoinstaller2.dll=1
WdfCoInstaller01009.dll=1

[SourceDisksFiles.amd64]
winusbcoinstaller2.dll=2
WdfCoInstaller01009.dll=2

[DestinationDirs]
CoInstallers_CopyFiles=11

[DeviceList.NTx86]
%DeviceDesc% = USBInst, USB\VID_05C6&PID_9008

[DeviceList.NTamd64]
%DeviceDesc% = USBInst, USB\VID_05C6&PID_9008

[USBInst]
Include     = winusb.inf
Needs       = WINUSB.NT

[USBInst.HW]
AddReg = Device_Reg

[USBInst.Services]
Include     = winusb.inf
AddService  = winusb,0x00000002,winusb_add_service

[USBInst.CoInstallers]
AddReg      = CoInstallers_AddReg
CopyFiles   = CoInstallers_CopyFiles

[USBInst.Wdf]
KmdfService=WINUSB, WinUsb_Install

[Device_Reg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{71DE994D-8B7C-43DB-A27E-2AE7CD579A0C}"
HKR,,"Icons",0x00010000,"%%SystemRoot%%\system32\shell32.dll,-314"

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

[CoInstallers_CopyFiles]
winusbcoinstaller2.dll
WdfCoInstaller01009.dll

[WinUSB_Install]
KmdfLibraryVersion=1.9

[ClassInstall32]
Addreg = Interface_ClassReg32

[Interface_ClassReg32]
HKR,,,,%DeviceClass%
HKR,,SilentInstall,,1
HKR,,Icon,,-20

[winusb_add_service]
DisplayName    = %ServiceDesc%
ServiceType    = 1 ; SERVICE_KERNEL_DRIVER
StartType      = 3 ; SERVICE_DEMAND_START
ErrorControl   = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\winusb.sys


[Strings]

; Non-localizable strings
SERVICE_KERNEL_DRIVER = 0x1
SERVICE_DEMAND_START  = 0x3
SERVICE_ERROR_NORMAL  = 0x1

; Localizable strings
ProviderName       = "Nokia"
InstallDisk        = "Nokia WinUSB Driver Installation Disk"
DeviceDesc         = "Nokia Emergency Connectivity"
ServiceDesc        = "WinUSB Driver"
DeviceClass        = "Universal Serial Bus devices"