;
; WIDCOMM Bluetooth USB Device Installation Script
; for Windows 2000 and XP
;
; Copyright (c) 2000-2003, WIDCOMM Inc.
;

[Version]
signature="$WINDOWS NT$"
Class=BTW
ClassGUID={95C7A0A0-3094-11D7-A202-00508B9D7D5A}
Provider=%V_WIDCOMM%
CatalogFile=btwusb.cat
DriverVer=06/17/2003,1.4.2.8

[ControlFlags]
ExcludeFromSelect = USB\VID_044e&PID_3001
ExcludeFromSelect = USB\VID_049F&PID_0027
ExcludeFromSelect = USB\VID_04BF&PID_0309
ExcludeFromSelect = USB\VID_04BF&PID_030A
ExcludeFromSelect = USB\VID_04BF&PID_0310
ExcludeFromSelect = USB\VID_0A12&PID_0001
ExcludeFromSelect = USB\VID_0BDB&PID_1002  
ExcludeFromSelect = USB\VID_0BDB&PID_1000
ExcludeFromSelect = USB\VID_08EA&PID_ABBA
ExcludeFromSelect = USB\VID_0A5C&PID_200A
ExcludeFromSelect = USB\VID_0A5C&PID_2035
ExcludeFromSelect = USB\VID_0C10&PID_0000
ExcludeFromSelect = USB\VID_0B7A&PID_07D0
ExcludeFromSelect = USB\VID_055D&PID_0BB1
ExcludeFromSelect = USB\VID_413C&PID_8000
ExcludeFromSelect = USB\VID_1668&PID_0441
ExcludeFromSelect = USB\VID_0F4D&PID_1000  
ExcludeFromSelect = USB\VID_0DB0&PID_1967
ExcludeFromSelect = USB\VID_04BF&PID_0319
ExcludeFromSelect = USB\VID_04BF&PID_0317  
ExcludeFromSelect = USB\VID_04BF&PID_0318
ExcludeFromSelect = USB\VID_04BF&PID_0320
ExcludeFromSelect = USB\VID_045E&PID_007E
ExcludeFromSelect = USB\VID_0400&PID_0807
ExcludeFromSelect = USB\VID_0483&PID_5000
ExcludeFromSelect = USB\VID_0451&PID_1234
ExcludeFromSelect = USB\VID_0451&PID_ffff
ExcludeFromSelect = USB\VID_044e&PID_2014
ExcludeFromSelect = USB\VID_0D9A&PID_0001
ExcludeFromSelect = USB\VID_049F&PID_0086
ExcludeFromSelect = USB\VID_046D&PID_C707
ExcludeFromSelect = USB\VID_046D&PID_C708
ExcludeFromSelect = USB\VID_046D&PID_C709
ExcludeFromSelect = USB\VID_1668&PID_2441
ExcludeFromSelect = USB\VID_0FD1&PID_0001
ExcludeFromSelect = USB\VID_050D&PID_0083
ExcludeFromSelect = USB\VID_04AD&PID_2501
ExcludeFromSelect = USB\VID_0547&PID_0001
ExcludeFromSelect = USB\VID_0471&PID_0809
ExcludeFromSelect = USB\VID_11D9&PID_2600

ExcludeFromSelect = USB\VID_08EA&PID_ABBB
ExcludeFromSelect = USB\VID_0A12&PID_ffff
ExcludeFromSelect = USB\VID_04BF&PID_030B
ExcludeFromSelect = USB\VID_04BF&PID_030C
ExcludeFromSelect = USB\VID_04BF&PID_0311
ExcludeFromSelect = USB\VID_049F&PID_0036
ExcludeFromSelect = USB\VID_044e&PID_ffff
ExcludeFromSelect = USB\VID_413C&PID_8010
ExcludeFromSelect = USB\VID_1668&PID_1441
ExcludeFromSelect = USB\VID_0DB0&PID_ffff
ExcludeFromSelect = USB\VID_04BF&PID_0321
ExcludeFromSelect = USB\VID_1668&PID_3441
ExcludeFromSelect = USB\VID_0FD1&PID_ffff

[SourceDisksNames]
1 = %Source_Description%,,,

[SourceDisksFiles]
btwusb.sys = 1
frmupgr.sys = 1
btw_ci.dll = 1

[ClassInstall32]
AddReg=BTW.NT.AddReg
CopyFiles=BTW.NT.CopyFiles

[BTW.NT.AddReg]
HKR,,,0,%BTWClassName%
HKR,,Icon,,100
HKR,,Installer32,,"btw_ci.dll,BTWClassInstaller"

[BTW.NT.CopyFiles]
btw_ci.dll

[Manufacturer]
%V_WIDCOMM%=WIDCOMM

[WIDCOMM]
%ALPS.DeviceDesc%=BTWUSB,     USB\VID_044e&PID_3001  ; ALPS based VID&PID
%COMPAQ.DeviceDesc%=BTWUSB,   USB\VID_049F&PID_0027  ; COMPAQ CSR based VID&PID
%IBM.DeviceDesc%=BTWUSB,      USB\VID_04BF&PID_030A  ; IBM CSR based VID&PID
%TDK.DeviceDesc%=BTWUSB,      USB\VID_04BF&PID_0309  ; TDK CSR based VID&PID
%IBMBDC.DeviceDesc%=BTWUSB,   USB\VID_04BF&PID_0310  ; IBM BDC CSR based VID&PID
%TDK.DeviceDesc%=BTWUSB,      USB\VID_04BF&PID_0319  ; TDK USB ADAPTER
%TDK.DeviceDesc%=BTWUSB,      USB\VID_04BF&PID_0320  ; TDK CSR BC2 based VID&PID
%IBM.DeviceDesc%=BTWUSB,      USB\VID_04BF&PID_0317  ; ULTRAPORT
%IBMBDC.DeviceDesc%=BTWUSB,   USB\VID_04BF&PID_0318  ; BDC
%ERICMN.DeviceDesc%=BTWUSB,   USB\VID_0BDB&PID_1000  ; Ericsson Business Mobile Networks BV VID&PID
%ERICMP.DeviceDesc%=BTWUSB,   USB\VID_0BDB&PID_1002  ; Ericsson Multipoint VID&PID
%CSR.DeviceDesc%=BTWUSB,      USB\VID_0A12&PID_0001  ; CSR VID&PID
%ERICSSONUSB.DeviceDesc%=BTWUSB, USB\VID_08EA&PID_ABBA  ; Ericsson VID&PID
%BROADCOM.DeviceDesc%=BROADUSB, USB\VID_0A5C&PID_200A ; Broadcom VID&PID
%BROADCOM.DeviceDesc%=BROADUSB, USB\VID_0A5C&PID_2035 ; Broadcom VID&PID
%SAMSUNG.DeviceDesc%=BTWUSB,  USB\VID_055D&PID_0BB1  ; SAMSUNG BC02 external
%SIWAVE.DeviceDesc%=BTWUSB,   USB\VID_0C10&PID_0000  ; Silicon Wave VID&PID
%ZEEVO.DeviceDesc%=BTWUSB,    USB\VID_0B7A&PID_07D0  ; Zeevo VID&PID
%DELL.DeviceDesc%=SUSPENDUSB,    USB\VID_413C&PID_8000  ; Dell BC02 VID&PID
%IBMBM.DeviceDesc%=BTWUSB,    USB\VID_1668&PID_0441  ; IBM integrated BT Modem VID&PID
%IBMBM3.DeviceDesc%=BTWUSB,    USB\VID_1668&PID_2441  ; IBM Integrated Bluetooth III VID&PID
%MICROTUNE.DeviceDesc%=BTWUSB, USB\VID_0F4D&PID_1000 ; Microtune USB Bluetooth Device VID&PID
%MSI.DeviceDesc%=BTWUSB,      USB\VID_0DB0&PID_1967  ; MSI USB Device VID&PID
%MSFT.DeviceDesc%=BTWUSB,     USB\VID_045E&PID_007E  ; Microsoft
%NSCEVAL.DeviceDesc%=BTWUSB,  USB\VID_0400&PID_0807  ; National Semi Bluetooth board
%STM.DeviceDesc%=BTWUSB,      USB\VID_0483&PID_5000  ; STM VID&PID
%TI.DeviceDesc%=BTWUSB,       USB\VID_0451&PID_1234  ; TI VID&PID
%TI.DeviceDesc%=BTWUSB,       USB\VID_0451&PID_ffff  ; TI VID&PID
%SONY.DeviceDesc%=BTWUSB,     USB\VID_044e&PID_2014  ; SONY VID&PID
%FORMOSA.DeviceDesc%=BTWUSB,  USB\VID_0D9A&PID_0001  ; FORMOSA VID&PID
%BLUETHUMB.DeviceDesc%=SUSPENDUSB, USB\VID_049F&PID_0086 ; BLUETHUMB USB Device VID&PID
%LOGITECH.DeviceDesc%=BTWUSB,  USB\VID_046D&PID_C707  ; LOGITECH VID&PID
%LOGITECH.DeviceDesc%=BTWUSB,  USB\VID_046D&PID_C708  ; LOGITECH VID&PID
%LOGITECH.DeviceDesc%=BTWUSB,  USB\VID_046D&PID_C709  ; LOGITECH VID&PID
%GIANT.DeviceDesc%=BTWUSB,    USB\VID_0FD1&PID_0001  ; Giant VID&PID
%BELKIN.DeviceDesc%=BTWUSB,    USB\VID_050D&PID_0083	; Belkin  Vid&PID
%PANASONIC.DeviceDesc%=BTWUSB,	USB\VID_04AD&PID_2501 ; Panasoic VId&PID
%ICSI.DeviceDesc%=BTWUSB,      USB\VID_0547&PID_0001 ; ICSI USB Device VID&PID
%PHILIPS.DeviceDesc%=BTWUSB,  USB\VID_0471&PID_0809  ; Philips BluePearl VID&PID
%ITRONIX.DeviceDesc%=BTWUSB,	USB\VID_11D9&PID_2600 ; Itronix Bluetooth Device VId&PID

%CSRDFU.DeviceDesc%=DFUBTUSB,      USB\VID_0A12&PID_ffff  ; CSR DFU VID&PID
%ERICSSONUSBDFU.DeviceDesc%=DFUBTUSB, USB\VID_08EA&PID_ABBB  ; Ericsson VID&PID DFU
%TDKDFU.DeviceDesc%=DFUBTUSB,      USB\VID_04BF&PID_030B  ; TDK CSR VID&PID DFU
%TDKDFU.DeviceDesc%=DFUBTUSB,      USB\VID_04BF&PID_0321  ; TDK CSR VID&PID DFU
%IBMDFU.DeviceDesc%=DFUBTUSB,      USB\VID_04BF&PID_030C  ; IBM CSR VID&PID DFU
%IBMBDCDFU.DeviceDesc%=DFUBTUSB,   USB\VID_04BF&PID_0311  ; IBM BDC VID&PID DFU
%ALPSDFU.DeviceDesc%=DFUBTUSB,     USB\VID_044e&PID_ffff  ; ALPS DFU VID&PID
%DELLDFU.DeviceDesc%=DFUBTUSB,     USB\VID_413C&PID_8010  ; Dell BC02 VID&PID
%IBMBMDFU.DeviceDesc%=DFUBTUSB,    USB\VID_1668&PID_1441  ; IBM Integrated Bluetooth III VID&PID DFU
%IBMBMDFU3.DeviceDesc%=DFUBTUSB,    USB\VID_1668&PID_3441  ; IBM integrated BT Modem VID&PID DFU
%MSIDFU.DeviceDesc%=DFUBTUSB,      USB\VID_0DB0&PID_ffff  ; MSI USB Device VID&PID DFU
%BLUETHUMBDFU.DeviceDesc%=DFUBTUSB, USB\VID_049F&PID_0036  ; BLUETHUMB Device VID&PID DFU
%GiantDFU.DeviceDesc%=DFUBTUSB,  USB\VID_0FD1&PID_ffff  ; Giant DFU

;
; Functional Driver
;
[BTWUSB]
AddReg=BTWUSB.reg 
CopyFiles=BTWUSB.CopyFiles, BTWUSB.inf.CopyFiles

;
; Special sections for the Broadcom dongle
;
[BROADUSB]
AddReg=BTWUSB.reg
CopyFiles=BTWUSB.CopyFiles, BTWUSB.inf.CopyFiles

[BROADUSB.hw]
AddReg=BROADUSB.hw.reg

[BROADUSB.NT.hw]
AddReg=BROADUSB.hw.reg

[BROADUSB.NT]
AddReg=BTWUSB.reg
CopyFiles=BTWUSB.CopyFiles.NT, BTWUSB.inf.CopyFiles

[BROADUSB.NT.Services]
Addservice = BTWUSB, 0x00000002, BTWUSB.AddService

[BROADUSB.hw.reg]
HKR,,"RemoteWakeupDisabled",0x10001,1
HKR,,"IdleSuspendEnabled",0x10001,0

;
; Special sections for the Dell dongle
;
[SUSPENDUSB]
AddReg=BTWUSB.reg
CopyFiles=BTWUSB.CopyFiles, BTWUSB.inf.CopyFiles

[SUSPENDUSB.hw]
AddReg=SUSPENDUSB.hw.reg

[SUSPENDUSB.NT.hw]
AddReg=SUSPENDUSB.hw.reg

[SUSPENDUSB.NT]
AddReg=BTWUSB.reg
CopyFiles=BTWUSB.CopyFiles.NT, BTWUSB.inf.CopyFiles

[SUSPENDUSB.NT.Services]
Addservice = BTWUSB, 0x00000002, BTWUSB.AddService

[SUSPENDUSB.hw.reg]
HKR,,"IdleSuspendEnabled",0x10001,1

;
; Remainder of the standard sections
;
[BTWUSB.hw]
AddReg=BTWUSB.hw.reg

[BTWUSB.NT.hw]
AddReg=BTWUSB.hw.reg

[BTWUSB.NT]
AddReg=BTWUSB.reg 
CopyFiles=BTWUSB.CopyFiles.NT, BTWUSB.inf.CopyFiles

[BTWUSB.NT.Services]
Addservice = BTWUSB, 0x00000002, BTWUSB.AddService

[BTWUSB.hw.reg]
HKR,,"IdleSuspendEnabled",0x10001,0

[BTWUSB.AddService]
DisplayName    = %BTWUSB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\btwusb.sys
LoadOrderGroup = Base

[BTWUSB.reg]
HKR,,DevLoader,,"*ntkern"
HKR,,NTMPDriver,,btwusb.sys

[BTWUSB.CopyFiles]
btwusb.sys
frmupgr.sys

[BTWUSB.CopyFiles.NT]
btwusb.sys
frmupgr.sys

[BTWUSB.inf.CopyFiles]
;btwusb.inf

;
; Firmware Upgrade Driver
;
[DFUBTUSB]
AddReg=DFUBTUSB.reg 
CopyFiles=DFUBTUSB.CopyFiles, DFUBTUSB.inf.CopyFiles

[DFUBTUSB.NT]
AddReg=DFUBTUSB.reg 
CopyFiles=DFUBTUSB.CopyFiles.NT, DFUBTUSB.inf.CopyFiles

[DFUBTUSB.NT.Services]
Addservice = DFUBTUSB, 0x00000002, DFUBTUSB.AddService

[DFUBTUSB.AddService]
DisplayName    = %DFUBTUSB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\frmupgr.sys
LoadOrderGroup = Base

[DFUBTUSB.reg]
HKR,,DevLoader,,"*ntkern"
HKR,,NTMPDriver,,frmupgr.sys

[DFUBTUSB.CopyFiles]
;frmupgr.sys

[DFUBTUSB.CopyFiles.NT]
;frmupgr.sys

[DFUBTUSB.inf.CopyFiles]
;btwusb.inf

[DestinationDirs]
DefaultDestDir             =11
BTWUSB.CopyFiles           =11
BTWUSB.CopyFiles.NT        =12
BTWUSB.inf.CopyFiles       =10,INF
DFUBTUSB.CopyFiles         =11
DFUBTUSB.CopyFiles.NT      =12
DFUBTUSB.inf.CopyFiles     =10,INF
BTW.NT.CopyFiles           =11

[strings]
V_WIDCOMM="WIDCOMM"
BTWClassName="Bluetooth Devices"
Source_Description="WIDCOMM Installation Media"
ERICSSONUSB.DeviceDesc= "Ericsson USB Bluetooth Device"
CSR.DeviceDesc= "CSR USB Bluetooth Device"
CSRDFU.DeviceDesc= "CSR USB Bluetooth Device in DFU State"
DFUBTUSB.SvcDesc= "WIDCOMM USB Bluetooth Driver in DFU State"
BROADCOM.DeviceDesc= "Broadcom USB Bluetooth Device"
BTWUSB.SvcDesc= "WIDCOMM USB Bluetooth Driver"
ERICMN.DeviceDesc= " Ericsson BV USB Bluetooth Device"
ERICMP.DeviceDesc= "Ericsson USB Bluetooth Device 1.2"
IBM.DeviceDesc= " Bluetooth Ultraport Module from IBM"
TDK.DeviceDesc= "TDK Bluetooth USB Adaptor"
IBMBDC.DeviceDesc= "IBM Integrated Bluetooth"
COMPAQ.DeviceDesc= "Bluetooth Multiport Module by Compaq"
ALPS.DeviceDesc= "Alps Bluetooth Device"
ZEEVO.DeviceDesc= "Zeevo Bluetooth Device"
SIWAVE.DeviceDesc= "Silicon Wave Bluetooth Device"
ALPSDFU.DeviceDesc= "Alps Bluetooth Firmware Upgrade Device"
ERICSSONUSBDFU.DeviceDesc= "Ericsson USB Bluetooth Device in DFU State"
TDKDFU.DeviceDesc= "TDK Bluetooth USB Firmware Upgrade Device"
IBMDFU.DeviceDesc= "Bluetooth Ultraport Firmware Upgrade Device"
IBMBDCDFU.DeviceDesc= "IBM Integrated Bluetooth Firmware Upgrade Device"
SAMSUNG.DeviceDesc="Samsung Bluetooth Device"
DELL.DeviceDesc="Dell TrueMobile Bluetooth Module"
DELLDFU.DeviceDesc="Dell TrueMobile Bluetooth Module in Firmware Upgrade"
IBMBM.DeviceDesc="IBM Integrated Bluetooth II"
IBMBMDFU.DeviceDesc="IBM Integrated Bluetooth II Firmware Upgrade"
IBMBM3.DeviceDesc="IBM Integrated Bluetooth III"
IBMBMDFU3.DeviceDesc="IBM Integrated Bluetooth III Firmware Upgrade"
MICROTUNE.DeviceDesc="Microtune USB Bluetooth Device"
MSI.DeviceDesc="MSI USB Bluetooth Device"
MSIDFU.DeviceDesc="MSI USB Bluetooth Device Firmware Upgrade"
MSFT.DeviceDesc="Microsoft Bluetooth Device"
NSCEVAL.DeviceDesc="National Semiconductor Bluetooth Board"
STM.DeviceDesc="STMicroeletronics USB Bluetooth Device"
TI.DeviceDesc="TI Mistral Bluetooth Device"
SONY.DeviceDesc="Sony Bluetooth Device"
FORMOSA.DeviceDesc="Formosa Bluetooth Device"
LOGITECH.DeviceDesc="Bluetooth wireless hub"
BLUETHUMB.DeviceDesc="Bluetooth by hp"
BLUETHUMBDFU.DeviceDesc="Bluetooth by hp"
GIANT.DeviceDesc="GIANT Bluetooth Device"
GiantDFU.DeviceDesc="GIANT Bluetooth Device"
BELKIN.DeviceDesc="Belkin Bluetooth Device"
PANASONIC.DeviceDesc="Panasonic Bluetooth Device"
ICSI.DeviceDesc="ICSI Bluetooth USB Device"
PHILIPS.DeviceDesc="Philips BluePearl Bluetooth USB Device"
ITRONIX.DeviceDesc="Itronix Bluetooth Device"