;/***************************************************************************\
;|*                                                                           *|
;|*         Copyright 2001-2003 NVIDIA, Corporation.  All rights reserved.    *|
;|*                                                                           *|
;|*     THE INFORMATION CONTAINED HEREIN  IS PROPRIETARY AND CONFIDENTIAL     *|
;|*     TO NVIDIA, CORPORATION.   USE,  REPRODUCTION OR DISCLOSURE TO ANY     *|
;|*     THIRD PARTY IS SUBJECT TO WRITTEN PRE-APPROVAL BY NVIDIA, CORP.       *|
;|*                                                                           *|
;|*     THE INFORMATION CONTAINED HEREIN IS PROVIDED  "AS IS" WITHOUT         *|
;|*     EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING ALL IMPLIED        *|
;|*     WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A     *|
;|*     PARTICULAR PURPOSE.                                                   *|
;|*                                                                           *|
;\***************************************************************************/

[Version]
Signature="$WINDOWS NT$"
;Class=System
;ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Class=%Vendor_ClassName%
ClassGuid={1a3e09be-1e45-494b-9174-d7385b45bbf5}
Provider=%NVDA%
DriverVer = 01/29/2004, 4.1.6
CatalogFile=nvnetbus.cat

[ClassInstall32]
Addreg=Vendor_BusName_ClassReg

[Vendor_BusName_ClassReg]
HKR,,,,%Vendor_ClassName%
HKR,,Icon,,-19
HKR,,NoInstallClass,,1

[DestinationDirs]

; Dest Dir is \winnt\system32\drivers
DefaultDestDir = 12

; Dest dir for co-installer files is \winnt\system32
nvnetBus_Device_CoInstaller_CopyFiles = 11

[SourceDisksNames]
1 = %DiskId1%, nvnetbus.tag,,""

[SourceDisksFiles]
nvnetbus.sys  = 1,,
nvnrm.sys = 1,,
nvsnpu.sys = 1,,
bdco1.dll = 1,,
nvconrm.dll = 1,,

;*****************************************
; NVNETBus  Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard

[Standard]
; This is the REAL dev id.
; %nvnetbus.DeviceDesc%=nvnetBus_Device, PCI\VEN_10DE&DEV_0086
%nvnetbus.DeviceDesc%=nvnetBus_Device, PCI\VEN_10DE&DEV_008C
%nvnetbus.DeviceDesc%=nvnetBus_Device, PCI\VEN_10DE&DEV_00DF

[nvnetBus_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
nvnetbus.sys
nvnrm.sys
nvsnpu.sys


;-------------- Service installation
[nvnetBus_Device.NT.Services]
AddService = nvnetbus,%SPSVCINST_ASSOCSERVICE%, nvnetbus_Service_Inst

; -------------- nvnetbus driver install sections
[nvnetbus_Service_Inst]
DisplayName    = %nvnetbus.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\nvnetbus.sys
LoadOrderGroup = Extended Base


;-------------- Coinstaller installation

[nvnetBus_Device.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=nvnetBus_Device_CoInstaller_CopyFiles

[nvnetBus_Device_CoInstaller_CopyFiles]
bdco1.dll
nvconrm.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,		\
	"bdco1.dll,BDCoInstaller",	\
	"nvconrm.dll,NVCoInstaller"

HKR, Uninstall, Script,0,"nvnrm.nvu"
HKR, Uninstall, Name,0,"NVIDIA Ethernet Driver Components"
HKR, Uninstall, INFSrcDir, 0, %1% 
HKR, Uninstall, Uninstaller,0,"nvunrm.exe"

[BDCoInfo]
OriginalInfSourcePath = %1%


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
NVDA = "nVidia"
StdMfg = "NVIDIA"
DiskId1 = "NVIDIA Network Bus Installation Disk #1"
nvnetbus.DeviceDesc = "NVIDIA Network Bus Enumerator"
nvnetbus.SVCDESC = "NVIDIA Network Bus Enumerator"
Vendor_ClassName="NVIDIA Network Bus Enumerator"
