Hi all,
I’m hoping you can assist me with this. I have an unsigned filter driver which has been in development for some time and I am working to include in my InstallShield 2009 installer. The IS installer uses Difx to install drivers.
I am using the WDK 6000.
I have been using an .inf to install and do my testing, but that .inf is causing all kinds of havoc when trying to use Difx. When I right-click the inf and hit install, the driver is installed and I’m able to load it using the filter manager.
Does anyone know what system application/api gets called when you right click on an .inf and select ‘install’ ?
In my test environment, I have moved the dpinst.exe onto the test environment, and I have begun to use the command line and try to figure out what’s going on.
Here’s the command I’m running:
dpinst /lm /c /a /path c:\
and Here’s the output I’m currently getting from it:
INFO: Option set: dumping log info to console.
INFO: Current working directory: 'C:'
INFO: Running on path 'c:'
INFO: No valid ‘dpinst.xml’ file provided.
INFO: Install option set: Running in quiet mode. Suppressing Wizard and OS popups.
INFO: Install option set: legacy mode on.
INFO: Found driver package: ‘c:\OsrDmk.inf’.
INFO: Preinstalling ‘c:\osrdmk.inf’ …
INFO: ENTER: DriverPackagePreinstallW
ERROR: Preinstall is not a supported operation for driver type 5
INFO: RETURN: DriverPackagePreinstallW (0x1)
INFO: ENTER: DriverPackageGetPathW
INFO: No driver store entry for c:\osrdmk.inf found. (Error code 0xE0000302.)
INFO: RETURN: DriverPackageGetPathW (0xE0000302)
INFO: ENTER: DriverPackageInstallW
INFO: Copied ‘osrdmk.inf’ to driver store…
INFO: Commiting queue…
WARNING:Skipping copy of file OsrDmk.sys. File is referenced in osrdmk.inf but not listed in section [SourceDisksFiles].
WARNING:Skipping copy of file Osrdmk.inf. File is referenced in osrdmk.inf but not listed in section [SourceDisksFiles].
WARNING:Skipping copy of file OsrDsManager.sys. File is referenced in osrdmk.inf but not listed in section [SourceDisksFiles].
WARNING:Skipping copy of file OsrDt.sys. File is referenced in osrdmk.inf but not listed in section [SourceDisksFiles].
ERROR: Could not get services associated with driver package.
ERROR: The driver installation failed. Attempting to undo system changes … (Error code 0x65B: Function failed during execution.)
INFO: Driver Store entry removed.
INFO: RETURN: DriverPackageInstallW (0x65B)
INFO: Returning with code 0x80010000
The 302 error returned is “ERROR_DRIVER_PACKAGE_NOT_IN_STORE”.
This really has me stumped, and I’m unsure where to progress from here. Any assistance is greatly appreciated.
Thanks in advance,
D