How do I deploy a .inf based driver?

前端 未结 2 746
无人及你
无人及你 2020-12-04 16:49

I would like to deploy a .inf based USB driver with my installer.

I guess the .inf needs to be placed in %SystemRoot%\\inf, but there is also a .cat (WH

2条回答
  •  情歌与酒
    2020-12-04 17:31

    You could try asking the shell to install it for you:

    %SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 YOUR_FILE.inf
    

    But I'm 100% sure there's a better way...

提交回复
热议问题