Questions tagged [dpinst]

Driver Package Installer (DPInst) is a component of Driver Install Frameworks (DIFx). It simplifies and customizes the installation of driver packages for devices that have not yet been installed in a computer

Driver Package Installer (DPInst) is a component of Driver Install Frameworks. It simplifies and customizes the installation of driver packages for devices that have not yet been installed in a computer. This type of installation is commonly known as a software-first installation. DPInst also automatically updates the drivers for any installed devices that are supported by the newly installed driver packages.

21 questions
4
votes
2 answers

How can I capture the console output of dpinst when running silently?

I've got a process (written in C#) that runs with administrative rights and invokes dpinst.exe to perform an automated driver installation. It writes its own custom dpinst.xml file to specify things like suppressing the EULA page, suppressing the…
soapergem
  • 9,263
  • 18
  • 96
  • 152
3
votes
1 answer

Can't seem to get Wix to install driver

I followed the tutorial here: http://www.codeproject.com/KB/library/driver-install-with-wix.aspx but it just doesn't seem to want to work - the DPInst exe never actually seems to run? All the files are being laid-down correctly - I even noticed that…
Joel Barsotti
  • 3,031
  • 7
  • 35
  • 59
3
votes
2 answers

Add NSIS script with electron builder to run DPInst.exe during install

I'm using electron-builder to create NSIS Windows installers for my electron app. During install I need to run the included DPInst.exe to make sure drivers get installed. I can tell electron-builder than I'm including a custom script: "nsis": { …
Tim
  • 7,746
  • 3
  • 49
  • 83
3
votes
1 answer

dpinst silent signed driver installation fails on windows 7

Trying to install my driver silently through dpinst (with /q) fails on windows 7 but works on both 8.1 and 10. The driver is signed and I have added my certificate to the trusted publishers list. This is the approach recommended here and in various…
Martin
  • 33
  • 1
  • 4
3
votes
1 answer

"DPInst.exe not supported on current OS"

I have an installer that installs the USB serial drivers from FTDI. However on some computers (all of them running Russian Windows XP so it may be some language issue) the installation fails. I have tried to repeat it using a clean Russian Windows…
liftarn
  • 429
  • 3
  • 21
2
votes
1 answer

dpinst fails to install driver silently

I use Inno Setup installer to install my Win32 application, it is installed mainly on Windows 10. There is a driver for some USB dongle (basically it is USB serial port) to be installed together with my app. The driver consists of files and…
Martin Dusek
  • 1,170
  • 3
  • 16
  • 41
2
votes
1 answer

how to create windows installation package for my .inf?

I have done the below steps: 1. built and compile my kernel driver which emulates tape device drivers. 2. created the needed .inf 3. created the needed .cat 4. signed the files 5. tested by manually "right click" -> install on the .inf file from…
2
votes
2 answers

'dpinst /silent' fails on Windows XP with signed (but not WHQL) drivers

Driver Package Installer (DPInst) with the "/s" (silent) flag fails to install a signed driver on Windows XP. The certificate is a valid one (an Authenticode certificate) but not a WHQL one. How can I fix this problem?
Ilya
  • 5,533
  • 2
  • 29
  • 57
1
vote
1 answer

How to automatically remove driver after crash?

I'm remote-debugging a Windows kernel-mode driver using WinDbg. The driver has issues in the initialization routine, leading to a bugcheck/crash when installing the device driver. When I detach the debugger, the target PC reboots and runs again into…
Daniel Pauli
  • 963
  • 1
  • 7
  • 8
1
vote
1 answer

Run Wix MSI installation in WinpE

I created an MSI using Wix. The msi contains a driver INF and Windows DPinst.exe. Now I am trying to run the msi in Winpe to update the driver. How can I create an msi that can run in Winpe environment using Wix? I used Wix V3
user4024419
1
vote
1 answer

How do I install drivers using Burn and DPInst after MSI installation?

I have a setup MSI for our application, and I also have signed FTDI drivers that need to be installed as well. I'd like for them to be installed with Burn rather than the WiX MSI to keep CustomActions out of the MSI (however, I've tried the CA route…
legacybass
  • 582
  • 1
  • 7
  • 20
1
vote
1 answer

DriverPackagePreinstall error with dpinst.exe

When trying to install a driver using Microsoft Driver Package Installer DPInst I got error 0xE0000247. I tried to check the error code with Visual Studio Lookup Tool but the tool doesn't know this error code. Also MSDN doesn't help here. How can I…
tommyk
  • 3,187
  • 7
  • 39
  • 61
1
vote
2 answers

How to get DPInst? Can't find it in WDK 8.1 install

I downloaded the latest WDK and have been looking everywhere for DPInst. Did they separate it into a different package for 8.1?
user1632018
  • 2,485
  • 10
  • 52
  • 87
1
vote
1 answer

Path not found by DPInst

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…
fredley
  • 32,953
  • 42
  • 145
  • 236
0
votes
1 answer

DriverPackageInstall tries to start to driver after install

I have a driver installing using DriverPackageInstall, this API tries to start to driver after install. I expect my driver should not try to start after install, it should start on next reboot. Any help will appreciated.
user3664223
  • 305
  • 3
  • 19
1
2