;------------------------------------------------------------------------
; This is the Setup information file to install ROCKEY4
;
; Copyright (c) 2003 Feitian Technologies CO., Ltd.
;
;-------------------------------------------------------------------------


[Version]
Signature="$WINDOWS NT$"
Class=USB
CLASSGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%OEM%;
DriverVer=03/30/2007,5.0.4.0212
CatalogFile=Rockey4.cat

[DestinationDirs]
DefaultDestDir = 12
CoInstaller_CopyFiles = 11; System Dir( system32 on NT )

[Manufacturer]
%StdMfg%=Standard

[Standard]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%RockeyUSB.DeviceDes%=RockUsb_Device, USB\VID_096E&PID_0001 
%Rockey.DeviceDesc%=ROCKEYNT, RockeyBus\Rockey



;*****************************************
; RockeyUSb  Install Section
;*****************************************
[RockUsb_Device.NT]
CopyFiles=RockUSb_Dir

[RockUSb_Dir]
Rockey4USB.sys

;-------------- Service installation
[RockUsb_Device.NT.Services]
AddService = Rockey_USB,%SPSVCINST_ASSOCSERVICE%,RockeyUSB_Service_Inst

; -------------- RockeyUsb driver install sections
[RockeyUSB_Service_Inst]
DisplayName    = %RockeyUSB.SVCDESC%
Description    = %RockeyUSB.DESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\Rockey4USB.sys
LoadOrderGroup = Extended Base

;*****************************************
; RockeyLPT  Install Section
;*****************************************

[ROCKEYNT.NT]
CopyFiles=ROCKEYNT_CopyFiles

[ROCKEYNT_CopyFiles]
Rockey4.sys


;-------------- Rockey Service installation
[ROCKEYNT.NT.Services]
AddService = ROCKEYNT,%SPSVCINST_ASSOCSERVICE%,RockeyReader_Service_Inst

; -------------- Rockey driver install sections
[RockeyReader_Service_Inst]
DisplayName    = %Rockey.SVCDESC%
Description    = %Rockey.DESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\Rockey4.sys
LoadOrderGroup = Extended Base


;*****************************************
; RockeyCoinstall  Install Section
;*****************************************

[RockUsb_Device.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
Ry4CoInst.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"Ry4CoInst.dll,RockCoInstaller"

;-----------------Source system files
[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
Rockey4USB.sys  = 1,,
Rockey4.sys  	= 1,,
Ry4CoInst.dll   = 1,,


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
OEM = "OEM"
StdMfg = "(Standard system devices)"

DiskId1 = "ROCKEY4 Installation Disk #1"

Rockey.DeviceDesc = "Feitian ROCKEY4"
RockeyUSB.DeviceDes = "Feitian ROCKEY4 USB"

RockeyUSB.SVCDESC = "Feitian ROCKEY4 USB Service"
RockeyUSB.DESC    = "Feitian ROCKEY4 USB Device"

Rockey.SVCDESC = "Feitian ROCKEY4 Device Service"
Rockey.DESC    = "Feitian ROCKEY4 Device "