关于Windows平台的驱动安装问题

目前对于大量手机连接PC,存在诸多问题,连接不上,大部分原因是缺少改机型的驱动文件所致,故需要安装驱动,目前手动安装驱动,网络文章成千上万,不再赘述

码农使用程序安装驱动显得专业些,下面简单介绍下DPInst.exe进行驱动文件安装过程。

dpinst.exe -help得到帮助:

DPInst.exe: installs and uninstalls driver packages.
By default, the tools searches the current directory and tries to install
all driver packages found.

Usage: DPInst.exe [/U INF-file][/S | /Q][/LM][/P][/F][/SH][/SA][/A][/PATH Path][
/EL][/L LanguageID][/C][/D][/LogTitle Title][/SW][/? | /h | /help]

  /U path to INF file
            Uninstall a driver package (INF-file).
  /S | /Q   Silent (Quiet) mode. Suppresses the Device Installation
            Wizard and any dialogs popped-up by the operating system.
  /LM       Legacy mode. Accepts unsigned driver packages and packages with
            missing files. These packages won't install on the latest
            version of Windows.
  /P        Prompt if the driver package to be installed is not better
            than the current one.
  /F        Force install inf the driver package is not better than the
            current one.
  /SH       Scans hardware for matching devices and only copies and installs
            those drivers for which a device is present. Only valid for
            Plug and Play drivers.
  /SA       Suppress the Add/Remove Programs entry normally created for
            each driver package.
  /A        Install all or none.
  /PATH Path
            Search for driver packages under the given path.
  /EL       Enables all languages not explicitly listed in the XML file.
  /L LanguageID
            Tries to use the given language in all UI.
            Useful for localization tests.
  /SE       Suppress the EULA.
  /C        Dump logging output to attached Console (Windows XP and above).
  /D        Delete driver binaries on uninstall.
  /SW       Suppresses the Device Installation Wizard, the operating system
            might still pop-up user dialogs.
  /? | /h | /help
            Shows this help.

如果无重大选择,只需要使用参数/Path + filePath 进行有界面的安装操作,也可以选择默认安装/Q or /S等,具体的需要 具体分析参考以上help

你可能感兴趣的:(关于Windows平台的驱动安装问题)