;------------------------------------------------------------------------
; WBTPAN.inf
; YRT Bluetooth Personal Area Networking Installation Script
; For Windows 2000/XP/2003
;
; Copyright (c) 2005-2006, Yi Ruan Technology Corp.Ltd.,Beijing
; http://www.yiruan.com
;
;------------------------------------------------------------------------

[Version]
Signature="$Windows NT$"
Class=Net
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%WBTPAN.ProviderDesc%
DriverVer=6/26/2007,1.0.1.0
CatalogFile=WBTPAN.CAT

;------------------------------------------------------------------------

[SourceDisksNames]
1="Acme USB Network Driver Install Disk",,1

[SourceDisksFiles]
usb8023y.sys=1
rndismpy.sys=1

[DestinationDirs]
WBTPAN_CopyFiles_NT=12

;------------------------------------------------------------------------

[Manufacturer]
%WBTPAN.ProviderDesc%=YRT,NT.5.1

[YRT]
%WBTPAN.DeviceDesc%=WBTPAN, USB\VID_0458&PID_FF23

[YRT.NT.5.1]
%WBTPAN.DeviceDesc%=WBTPAN.NT.5.1, USB\VID_0458&PID_FF23

;------------------------------------------------------------------------

[ControlFlags]
ExcludeFromSelect=*

;------------------------------------------------------------------------

; Windows 2000 specific sections

[WBTPAN.NT]
Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
BusType         = 15
DriverVer       = 6/26/2007,1.0.1.0
AddReg          = WBTPAN_AddReg_NT, WBTPAN_AddReg_WIN2K
CopyFiles       = WBTPAN_CopyFiles_NT

; DO NOT MODIFY THE SERVICE NAME
[WBTPAN.NT.Services]
AddService = USB_RNDISY, 2, WBTPAN_ServiceInst_NT, WBTPAN_EventLog

[WBTPAN_CopyFiles_NT]
; no rename of files on Windows 2000, use the 'y' names as is
usb8023y.sys, , , 0 
rndismpy.sys, , , 0 

[WBTPAN_ServiceInst_NT]
DisplayName     = %WBTPAN.ServiceDesc%
ServiceType     = 1 
StartType       = 3 
ErrorControl    = 1 
ServiceBinary   = %12%\usb8023y.sys    
LoadOrderGroup  = NDIS
AddReg          = WBTPAN_WMI_AddReg_NT

[WBTPAN_WMI_AddReg_NT]
HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpy.sys"

;------------------------------------------------------------------------
; Windows XP specific sections

[WBTPAN.NT.5.1]
Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
BusType         = 15
DriverVer       = 6/26/2007,1.0.1.0
AddReg          = WBTPAN_AddReg_XP
include         = netrndis.inf
needs           = Usb_Rndis.ndi

; no copyfiles - the files are already in place

[WBTPAN.NT.5.1.Services]
include     = netrndis.inf
needs       = Usb_Rndis.ndi.Services

; Windows 2000 sections 

; DO NOT MODIFY ServiceName
[WBTPAN_AddReg_NT]
HKR, Ndi,               Service,        0, "USB_RNDISY"
HKR, Ndi\Interfaces,    UpperRange,     0, "ndis5" 
HKR, Ndi\Interfaces,    LowerRange,     0, "ethernet"

[WBTPAN_AddReg_WIN2K]
HKR, ,                  ReclaimRecv,    0x00010001, 1
HKR, NDI\params\NetworkAddress, ParamDesc,  0, %WBTPAN.NetworkAddress%
HKR, NDI\params\NetworkAddress, type,       0, "edit"
HKR, NDI\params\NetworkAddress, LimitText,  0, "12"
HKR, NDI\params\NetworkAddress, UpperCase,  0, "1"
HKR, NDI\params\NetworkAddress, default,    0, " "
HKR, NDI\params\NetworkAddress, optional,   0, "1"

[WBTPAN_EventLog]
AddReg = WBTPAN_EventLog_AddReg

[WBTPAN_EventLog_AddReg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

; An optional Property to demonstrate adding advanced properties on Windows XP 
[WBTPAN_AddReg_XP]
HKR, NDI\params\XPProperty, ParamDesc,  0, %WBTPAN.Property%
HKR, NDI\params\XPProperty, type,       0, "edit"
HKR, NDI\params\XPProperty, LimitText,  0, "12"
HKR, NDI\params\XPProperty, UpperCase,  0, "1"
HKR, NDI\params\XPProperty, default,    0, " "
HKR, NDI\params\XPProperty, optional,   0, "1"

;------------------------------------------------------------------------

[Strings]
WBTPAN.ProviderDesc="YRT"
WBTPAN.ServiceDesc="USB Remote NDIS Y Network Device Driver"
WBTPAN.DeviceDesc="YRT Bluetooth Personal Area Networking"
WBTPAN.Property="Property"
WBTPAN.NetworkAddress="Network Address"
