Ralf,
I tried deleting the Network key, and it wasn’t recreated on reboot, and I
get the same results from the setupapi.log file.
Below is a slightly modified INF file.
Thank you for the suggestions,
Shaun
; Copyright (c) 2002 <…> Inc.
[version]
Signature = “$Windows NT$”
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider = %TheCompany%
CatalogFile = ndisdriver.cat
DriverVer = 10/3/2002, 1.0.0.2
[Manufacturer]
%TheCompany% = TheCompany
[TheCompany]
%TheDevice.DeviceDesc% = TheDevice.ndi, PCI\<…>
[ControlFlags]
ExcludeFromSelect = *
; Windows 2000 specific entry
[TheDevice.ndi.ntx86]
Characteristics = 0xa4
BusType = 5
AddReg = thedevice.reg
CopyFiles = TheDevice.CopyFiles
[TheDevice.ndi.ntx86.Services]
AddService = ndisdriver, 2, TheDevice.Service, common.EventLog
[thedevice.reg]
HKR, Ndi, Service, 0, “ndisdriver”
; use ndis5 as the upper bound because NT supports it
HKR, Ndi\Interfaces, UpperRange, 0, “ndis5”
HKR, Ndi\Interfaces, LowerRange, 0, “ethernet”
[TheDevice.Service]
DisplayName = %TheDevice.Service.DispName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\ndisdriver.sys
LoadOrderGroup = NDIS
[common.EventLog]
AddReg = common.AddEventLog.reg
[common.AddEventLog.reg]
HKR, EventMessageFile, 0x00020000,
%%SystemRoot%%\System32\netevent.dll;%%SystemRoot%%\System32\drivers\ndisdr
iver.sys
HKR, TypesSupported, 0x00010001, 7
[TheDevice.CopyFiles]
ndisdriver.sys,2
[SourceDisksNames]
1 = %DRIVER_DISK_1%
[SourceDisksFiles]
ndisdriver.sys = 1, ; on distribution disk 1
[DestinationDirs]
DefaultDestDir = 12
TheDevice.CopyFiles = 12
[Strings]
TheCompany = “The Company”
TheDevice.DeviceDesc = “The Device”
TheDevice.Service.DispName = “TheDevice”
DRIVER_DISK_1 = “TheDevice Driver Disk 1”
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ralf Buschmann
Sent: Friday, October 04, 2002 10:32 AM
To: NT Developers Interest List
Subject: [ntdev] Re: INF “system cannot find the file specified”
Shaun,
you wrote on Friday, October 4, 2002, 18:50:13:
SR> Device install finished with error Error 2: The system cannot find
SR> the file specified.
Post your INF file. Also, I’ve seen this once with a NDIS miniport
before and the reason was that the “Config” registry value in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network was
corrupted. Deleting this value and restarting the system cured it.
Ralf.
You are currently subscribed to ntdev as: xxxxx@tenpennies.com
To unsubscribe send a blank email to %%email.unsub%%