;****************************************************************************************
;
; Q7601Ux.inf
;
;   This installation script supports XP & later for the
;   Ralink UsbDumpr_MT7601 series Wireless LAN Card.
;
;   Copyright (c)2002 ~ 2012, Ralink Technology Corp., All Rights Reserved
;   All Rights Reserved.
;   Developed by RaLink Technology, Corp. -- http://www.ralinktech.com
;
;****************************************************************************************

[Version]
DriverVer=10/26/2012, 1.00.04.0000
Signature="$Chicago$"
Compatible=1
Class=Net
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
CatalogFile=Q7601Ux.CAT            ;;for WHQL certified


[ControlFlags]

;***********Ralink 802.11b board  ***********


[Manufacturer]
%V_Provider%=Adapters, NTamd64


[Adapters.NTamd64]
; DisplayName                Section                DeviceID
; -----------                -------                --------
%UsbDumpr_MT7601.DeviceDesc%   =UsbDumpr_MT7601.ndi,      USB\VID_148F&PID_7601

;*******************************************************************************************
; Windows 9X specific entries
;*******************************************************************************************

[UsbDumpr_MT7601.ndi]
AddReg=Common.reg, UsbDumpr_MT7601.ndi.reg
CopyFiles=win9x.CopyFiles


;*******************************************************************************************
; NT specific entries
;*******************************************************************************************

[UsbDumpr_MT7601.ndi.NT]
AddReg=Common.reg, UsbDumpr_MT7601.ndi.NT.reg
Characteristics=0x84              ; NCF_REMOVABLE | NCF_HAS_UI | NCF_PHYSICAL
BusType=5
CopyFiles=NT.CopyFiles

; NT services sections
[UsbDumpr_MT7601.ndi.NT.Services]
AddService=UsbDumpr_MT7601, 2, UsbDumpr_MT7601.Service, common.EventLog


[UsbDumpr_MT7601.ndi.reg]
HKR, ,                            NTMPDriver,      0, Q7601Ux.sys
HKR, Ndi,                         DeviceID,        0, "USB\VID_148F&PID_6370"

HKR, ,                            RunningWin9X,    0, "1"
HKR, ,                            DevLoader,       0, *ndis
HKR, ,                            DeviceVxDs,      0, Q7601Ux.sys
HKR, ,                            EnumPropPages,   0, "netdi.dll,EnumPropPages"

;
; NDIS Info
;
HKR, NDIS,                        LogDriverName,   0, "UsbDumpr_MT7601"
HKR, NDIS,                        MajorNdisVersion,1, 03
HKR, NDIS,                        MinorNdisVersion,1, 0A

HKR, ,                            BusType,         0, 5
HKR, NDI,                         CardType,        0, "PCI"

;
; Interfaces
;
HKR, Ndi\Interfaces,              DefUpper,        0, "ndis3"
HKR, Ndi\Interfaces,              DefLower,        0, "ethernet"
HKR, Ndi\Interfaces,              UpperRange,      0, "ndis3"
HKR, Ndi\Interfaces,              LowerRange,      0, "ethernet"

;
; Install sections
;HKR,Ndi\Install,ndis3,,"UsbDumpr_MT7601.install"


[win9x.CopyFiles]
Q7601Ux.sys ; Win9x Installation

;*******************************************************************************************
; common regs for NT and W9x
;*******************************************************************************************
HKR,"Parameters","MaximumTransferSize",0x10001,4096
HKR,"Parameters","DebugLevel",0x10001,2
HKR,"Parameters","BulkUsbEnable",0x10001,1


;*******************************************************************************************
; DestinationDirs
;*******************************************************************************************

[DestinationDirs]
NT.CopyFiles=12    ; system32\drivers subdirectory on NT
win9x.CopyFiles=11    ; system32 subdirectory on win9x

[NT.CopyFiles]
Q7601Ux.sys ; NT Installation

[SourceDisksNames]
1=%INSTALL_DISK_STR%,,,

[SourceDisksFiles] 
Q7601Ux.sys=1


;*******************************************************************************************
; NT specific
;*******************************************************************************************

[UsbDumpr_MT7601.ndi.NT.reg]
HKR, Ndi,                         Service,         0, "UsbDumpr_MT7601"
HKR, Ndi\Interfaces,              UpperRange,      0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,      0, "ethernet"

[UsbDumpr_MT7601.Service]
DisplayName=%UsbDumpr_MT7601.Service.DispName%
ServiceType=1                	;%SERVICE_KERNEL_DRIVER%
StartType=3                	;%SERVICE_AUTO_START%
ErrorControl=1                	;%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\Q7601Ux.sys
LoadOrderGroup=NDIS

[common.EventLog]
AddReg=common.AddEventLog.reg

[common.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000,"%%SystemRoot%%\System32\netevent.dll,%%SystemRoot%%\System32\drivers\Q7601Ux.sys"
HKR, , TypesSupported,   0x00010001, 7


;*******************************************************************************************
; Strings
;*******************************************************************************************

[strings]
Provider=			"Ralink"
V_Provider=			"Ralink Technology Corp."

UsbDumpr_MT7601.DeviceDesc=             "MT7601 QATest USB WDM Driver"

UsbDumpr_MT7601.Service.DispName=	"MT7601 QATest USB WDM Driver Service"
INSTALL_DISK_STR=		"MT7601 QATest Wireless LAN Installation Disk"
