# DPInst and DIfx usage

## DPInst and DIfx usage

### JY posted on Tuesday, January 12, 2010 10:03 AM

 Hi, I am posting this for the 3rd time. Somhow my posts are not showing up for whatever reason - please excuse. I have a requirement to install a device driver from my MFC application and have looked through some MSDN documention on usage of DPInst and DIFx framework, but I have not got a clear idea yet. 1. A basic question is if I have a driver file that I need to install what exactly are the steps to be followed? 2. Can I use ShellExecute(Ex) to launch DPInst? What other things are needed? TIA, JY

## For DPInst, all you need to do is create an XML configuration file, haveDPInst.

### Tim Roberts replied to JY on Wednesday, January 13, 2010 1:23 AM

 For DPInst, all you need to do is create an XML configuration file, have DPInst.exe in the same directory as the INF file and the XML file, and run DPInst. it is pretty darned easy. Take DPInst.exe, your DPInst.xml, your .inf, and your .sys. Have your installer copy that to a Program Files location, then launch DPInst. That's it. That will pre-install the driver. Yes, indeed. I call it from an NSIS install script. -- Tim Roberts, timr@probo.com Providenza & Boekelheide, Inc.

#### 如何安装inf类型驱动程序 inno

2013-06-20 15:41:25

#### DPInst.exe

2011-10-10 10:52:46

#### DPInst32+64

2013年06月20日 469KB 下载

#### 使用DpInst安装驱动程序

2016-09-25 21:33:43

#### DPinst - 微软提供的驱动安装工具

2012年08月31日 508KB 下载

#### dpinst32/64

2013年08月22日 473KB 下载

#### DPInst32.exe 与 DPInst64.exe

2011年09月02日 472KB 下载

#### dpinst_amd64

2015年05月23日 1MB 下载

#### 驱动精灵dpinst lunch

2012年12月11日 53KB 下载

#### 32位DPInst.exe

2014年05月14日 641KB 下载