From: Hugh on
We have a product that includes a service, utility files, and a filter driver
that runs exclusively on Vista. We have been installing it in a MSI package
using the DIFx 2.01 mechanism to install the driver. We wish to have a
combined 32-64 bit package. Since I can not use the same MSI mechanism for
both 32 and 64 bit drivers, I am trying to use code from the WDK (6001.18000)
to determine the platform type and launch the proper DPInst.exe to install
the driver. The code is to be put in a DLL and run deferred, in system
context. My problem is that while I can load the driver manually or
individually with the MSI, I can not get DPInst to either install or
uninstall the driver from the command line. I use the command line options /S
/F /SA /SE /C /D. The output is:

INFO: Option set: dumping log info to console.
INFO: Current working directory: 'C:\InstallShield 2008
Projects\DriverInstall
ation\driver\i386\fre'
INFO: Running on path 'C:\InstallShield 2008
Projects\DriverInstallation\drive
r\i386\fre'
INFO: No valid 'dpinst.xml' file provided.
INFO: Install option set: Running in quiet mode. Suppressing Wizard and OS
pop
ups.
INFO: Install option set: Suppressing EULA.
INFO: Install option set: Force install if driver is not better.
INFO: Install option set: Suppress Add or Remove Programs entries.
INFO: Install option set: uninstall will be set to delete driver binaries.
INFO: Found driver package: 'C:\InstallShield 2008
Projects\DriverInstallation
\driver\i386\fre\netsscf.inf'.
INFO: Preinstalling 'c:\installshield 2008
projects\driverinstallation\driver\
i386\fre\netsscf.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:\installshield 2008
projects\driverinstallat
ion\driver\i386\fre\netsscf.inf found. (Error code 0xE0000302.)
INFO: RETURN: DriverPackageGetPathW (0xE0000302)
INFO: ENTER: DriverPackageInstallW
ERROR: netsscf.inf: Driver package 'c:\installshield 2008
projects\driverinstal
lation\driver\i386\fre\netsscf.inf' has no CatalogFile entry.
INFO: RETURN: DriverPackageInstallW (0x800B0100)
INFO: Returning with code 0x80010000

The driver is still in development and will be WHQL certified for release,
but is not at this time.

Any suggestions would be appreciated.
Thanks,
Hugh