;-------------------------------------------------------------------------
; rfwarp.INF -- 
;
; Copyright(C) 2008 Beijing Rising Information Technology Co., Ltd. All Rights Reserved.
;-------------------------------------------------------------------------
[version]
Signature   = "$Windows NT$"
Class       = NetTrans
ClassGUID   = {4d36e975-e325-11ce-bfc1-08002be10318}
Provider    = %Rsft%
DriverVer   = 08/05/2008,21.0.0.0
CatalogFIle     = rfwarp.cat

[Manufacturer]
%Rsft%=RSFT,NTx86,NTamd64

[RSFT]
%RFWARP_Desc%=Install, RS_RFWARP

[RSFT.NTx86]
%RFWARP_Desc%=Install, RS_RFWARP

[RSFT.NTamd64]
%RFWARP_Desc%=Install, RS_RFWARP

;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0 ; Has no characterstic
CopyFiles=CpyFiles_Sys

;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR,Ndi,Service,,"RFWARP"
HKR,Ndi,HelpText,,%RFWARP_HelpText%
HKR, Ndi\Interfaces, UpperRange,, noupper
HKR,"Ndi\Interfaces","LowerRange",,"ndis5,ndis4"

;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
AddService=RFWARP,,RFWARP_Service_Inst

[RFWARP_Service_Inst]
DisplayName     = %RFWARP_Desc%
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 2 ;SERVICE_AUTO_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\rfwarp.sys
LoadOrderGroup  = "PNP_TDI"
AddReg          = AddReg_RFWARP_Service_Inst
Description     = %RFWARP_Desc%

[AddReg_RFWARP_Service_Inst]
HKLM,"System\CurrentControlSet\Services\RfwArp","TextModeFlags",%REG_DWORD%,0x0001
HKR,"Parameters","Test",,"Hello"

;-------------------------------------------------------------------------
; Support for removal of static registry settings
;-------------------------------------------------------------------------
[Install.Remove]
DelReg=Del_Static_Reg

[Install.Remove.Services]
DelService=RFWARP

[Del_Static_Reg]
HKLM,"System\CurrentControlSet\Services\RfwArp","TextModeFlags"

;-------------------------------------------------------------------------
; Declare Destination Directories for file copy/deletion
;-------------------------------------------------------------------------
[DestinationDirs]
CpyFiles_Sys    = 12    ; DIRID_DRIVERS

[SourceDisksNames]
;None 
[SourceDisksFiles]
;None 

;-------------------------------------------------------------------------
; Files to Copy/Delete - Referenced by Install and Remove sections above
;-------------------------------------------------------------------------
[CpyFiles_Sys]
rfwarp.sys,,,2

[Strings]
Rsft = "Beijing Rising Information Technology Co., Ltd."
RFWARP_Desc = "Rising RfwARP Driver"
RFWARP_HelpText = "Rising RfwARP Driver"
REG_DWORD = 0x10001




