Hi everyone (first post). Glad such a place exists
I don’t know much about writing drivers but I was asked to write a driver installer for our driver (NDIS 5.0). I’ve found the famous ProtInstall sample and have modified it extensively creating a simple tool capable of doing an install or uninstall. And it was used often without problems until a few days/weeks ago when suddenly, on some computers, the installation started failing with 0x80070002 (“specified file was not found”). We have not changed anything in the driver/INFs/installer for years… The issue appears to be system-independent (we’ve seen it on Win7x64 and XPx86 with SP3). Has there been any change in Windows that affects this area recently?
I’ve tried uninstalling the driver completely (uninstall + search and destroy via regedit + files) which runs OK. But install is still impossible.
A bit about the driver/structure. It’s an NDIS 5.0 packet filter. It consists of one .SYS file which ‘hosts’ two services - the miniport service (one per network interface) and the filter service (one per machine). Each service has it’s own INF file based on the DDK passthru sample INFs.
The installer first installs the filter INF and later the miniport INF. Interestingly enough the problem affects only the miniport install (the filter installs OK).
Maybe someone has/has a similar issue?
I’ve tried a few tricks but nothing seems to work…
I could post the setupapi.log file, but I’m afraid it’s in Polish (we currently have that single XP_SP3 machine that has this problem)…
Best regards,
James