; nokiaccx.inf
;
; Installation file (.inf) for Nokia USB Accessories.
;
; (c) Copyright 2007 Nokia Corporation
;

[Version]
Signature="$Windows NT$"
Class=CustomUSBDevices
ClassGuid={a503e2d3-a031-49dc-b684-c99085dbfe92}
Provider=%Manufacturer%
CatalogFile=%DriverBaseName%.cat
DriverVer=05/15/2012,2.4.0.4

;
; Custom USB Class install sections
;----------------------------------------------------------

[ClassInstall32]
AddReg=ClassInstall_AddReg

[ClassInstall_AddReg]
HKR,,,,%DeviceManagerCategory%
HKR,,Icon,,"-20"


;
; Support x86 and x64
;----------------------------------------------------------

[Manufacturer]
%Manufacturer%=DeviceList, NTamd64

[ControlFlags]
ExcludeFromSelect=*


;
; Devices supported in x86
;----------------------------------------------------------

[DeviceList]
%NokiaBH907%=DriverInstall, USB\VID_0421&PID_064B
%NokiaBH907%=DriverInstall, USB\VID_0421&PID_064C

;
; Devices supported in x64
;----------------------------------------------------------

[DeviceList.NTamd64]
%NokiaBH907%=DriverInstallX64, USB\VID_0421&PID_064B
%NokiaBH907%=DriverInstallX64, USB\VID_0421&PID_064C

;
; Files included in the "source disk"
;----------------------------------------------------------

[SourceDisksNames]
1=%SourceDiskName%,,,

[SourceDisksFiles]
nokiaccx.sys=1
nokiaccxx64.sys=1

[DestinationDirs]
DefaultDestDir=12

;
; Driver install instructions for x86
;----------------------------------------------------------

[DriverInstall]
CopyFiles=DriverCopyFiles

[DriverCopyFiles]
nokiaccx.sys

[DriverInstall.Services]
Addservice=%ServiceName%, 0x00000002, DriverService

[DriverService]
DisplayName    = %ServiceDisplayName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\%DriverBaseName%.sys
AddReg         = NokiaccxService.AddReg

[NokiaccxService.AddReg]
HKR,"Parameters","FDName",0x00000,"CSR"

;
; Driver install instructions for x64
;----------------------------------------------------------

[DriverInstallX64]
CopyFiles=DriverCopyFilesX64

[DriverCopyFilesX64]
nokiaccxx64.sys

[DriverInstallX64.Services]
Addservice=%ServiceNameX64%, 0x00000002, DriverServiceX64

[DriverServiceX64]
DisplayName    = %ServiceDisplayName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\%DriverBaseName%x64.sys
AddReg         = NokiaccxService.AddRegX64

[NokiaccxService.AddRegX64]
HKR,"Parameters","FDName",0x00000,"CSR"

;
; Strings section
;----------------------------------------------------------

[Strings]
Manufacturer="Nokia Corporation"
DriverBaseName="nokiaccx"
DeviceManagerCategory="Custom USB Devices"
NokiaBH907="Nokia Reaction Bluetooth Headset"
ServiceName="nokiaccx"
ServiceNameX64="nokiaccxx64"
ServiceDisplayName="Nokia Accessory USB Driver"
SourceDiskName="Nokia Corporation Installation Disk"

