[Version]
Signature="$CHICAGO$"
Class=BsUSBKey
provider=%CMPY%  ;This string will be put in registry.
ClassGUID={36FC9E60-C465-11CF-8056-444553544016}
LayoutFile=layout.inf
DriverVer=04/12/2003,2.10.24.1

[ClassInstall]
Addreg=Class.AddReg

[ClassInstall32]
Addreg=Class32.AddReg

[Class.AddReg]
HKR,,,,%ClassDisplayName%
HKR,,Icon,,"-20"

[Class32.AddReg]
HKR,,,,%ClassDisplayName%
HKR,,Icon,,"-20"

[Manufacturer]
%MfgName%=BsUsbKeyManufacturer

[BsUsbKeyManufacturer]
%USB\VID_5041&PID_5000.DeviceDesc%=BsUsbKey.Dev, USB\VID_5041&PID_5000

[PreCopySection]
HKR,,NoSetupUI,,1

[DestinationDirs]
BsUsbKey.Files.Ext = 10,System32\Drivers
BsUsbKey.Files.Inf = 10,INF

[BsUsbKey.Dev]
CopyFiles=BsUsbKey.Files.Ext, BsUsbKey.Files.Inf
AddReg=BsUsbKey.AddReg

[BsUsbKey.Dev.NT]
CopyFiles=BsUsbKey.Files.Ext, BsUsbKey.Files.Inf
AddReg=BsUsbKey.AddReg

[BsUsbKey.Dev.NT.Services]
Addservice = BsUsbKey, 0x00000002, BsUsbKey.AddService

[BsUsbKey.AddService]
DisplayName    = %BsUsbKey.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\BUSBK210.sys
LoadOrderGroup = Base

[BsUsbKey.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BUSBK210.sys


[BsUsbKey.Files.Ext]
BUSBK210.sys

[BsUsbKey.Files.Inf]
BUSBK210.inf

[Strings]
CMPY="深圳市蜜蜂源计算机软件有限公司"
MfgName="深圳市蜜蜂源计算机软件有限公司"
USB\VID_5041&PID_5000.DeviceDesc="蜜蜂源 USB Key 2.10"
BsUsbKey.SvcDesc="BeeSource USB Key Driver"
ClassDisplayName="『蜜蜂源 USB Key』"