I'm installing a driver using WiX with DPInst, as per this tutorial. It works fine on Windows 7, but I'm trying it on Windows XP, and I get an error dialog popping up saying:
ERROR: Path 'C:\Program Files\My Driver\package\driver.inf' not found
after which it prints a long usage message.
If I navigate to C:\Program Files\My Driver\package\driver.inf
before I close the dialog, the file is there, at that location. In the InstallExecuteSequence
, InstallDriver
is set to happen Before InstallServices
. What's going wrong?
Note: I've tried running DPInst from the command line, and I get the same error.
Also, I've tried moving DPInst into the same directory as the .inf
and tried running it without the /PATH
argument. Strangely, I still get the same error (that is, it gives the exact path to the .inf
that it "can't find". This is very strange indeed.