Installing a driver(.inf) file from command line

后端 未结 3 442
野的像风
野的像风 2021-02-05 12:28

I am working in windows 8.1. I need to install a driver file(.inf file) from command line. Which command i need to use.? I know i have many other method for installing a .inf fi

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-05 12:42

    There are many variants ... and many complications with newer versions of Windows.

    But for starters, try something like this:

    rundll32.exe advpack.dll,LaunchINFSectionEx myinf.inf,,c:\temp\mydata.cab,36

    • http://www.msfn.org/board/topic/104891-how-can-i-install-a-inf-file-from-the-command-line/

    • http://msdn.microsoft.com/en-us/library/aa768006%28v=vs.85%29.aspx

    • Programmatic driver install via .inf causing reboot

    Note: beware older links that suggest "setupapi" instead of "advpack". You definitely want advpack.dll.

提交回复
热议问题