美文网首页
DpInst.exe 安装驱动

DpInst.exe 安装驱动

作者: wyrover | 来源:发表于2017-09-01 15:37 被阅读754次
    1. 在 WDK 里 DIFx 目录下找到 DpInst.exe
    2. 创建目录 C:\drivers 拷贝 Dpinst.exe 到此目录
    3. 创建 dpinst.xml 控制 Dpinst

    All possible settings can be found here: http://msdn.microsoft.com/en-us/library/ms791067.aspx
    An example can look like this:

    <?xml version="1.0" ?> 
      <dpinst>
    
    <suppressAddRemovePrograms/>
    
    <!-- The following search and subDirectory elements direct 
         DPInst to search all subdirectories (under the DPInst working directory) to locate driver 
         packages. --> 
        <search> 
          <subDirectory>*</subDirectory> 
        </search>
    
    <!-- The following language element localizes its child elements 
         for the English (Standard) language. The child elements 
         customize the text that appears on the DPInst wizard pages. --> 
        <language code="0x0409"> 
          <dpinstTitle>Device Driver Updater</dpinstTitle> 
          <welcomeTitle>Welcome to the Device Installer!</welcomeTitle> 
          <welcomeIntro>This wizard will walk you through updating the drivers for your device.</welcomeIntro> 
          <installHeaderTitle>Installing the software for your device...</installHeaderTitle> 
          <finishTitle>Congratulations! You finished installing your device drivers.</finishTitle> 
        </language>
    
        <scanHardware/>
    
    </dpinst>
    
    
    1. Create sub directories for drivers and place the driver files (.inf, .sys, cat, .dll, etc.) into these directories. My example looks like this:

      imageimage
    2. Copy the complete directory to an external storage drive or network location and execute DPInst.exe to install / update the drivers on that machine. This dialogue will be displayed and pressing “Next” will start the installation…

      imageimage

    Done.

    相关文章

      网友评论

          本文标题:DpInst.exe 安装驱动

          本文链接:https://www.haomeiwen.com/subject/gockjxtx.html