当存在DefaultInstall域时,直接右键安装
[DefaultInstall.NTx86]
CopyFiles = @USBPcap.sys
AddReg = USBPcap.AddReg
或者
RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 132 .USBPcap.inf'
[具体详见](https://docs.microsoft.com/en-us/windows-hardware/drivers/install/inf-defaultinstall-section)
当存在[Manufacturer]和CoInstallers域时,复制"C:Program Files (x86)Windows Kits10Toolsx64devcon.exe"至目标机器
"devcon.exe" install "xxx.inf" "RootUDEFX2"
其中RootUDEFX2是硬件id
与Manufacturer域如下配置硬件id相同
[Manufacturer]
%ManufacturerName%=Standard,NTamd64
[Standard.NTamd64]
%UDEFX2.DeviceDesc%=UDEFX2_Device, RootUDEFX2
出现如下结果就是安装成功
Device node created. Install is complete when drivers are installed...
Updating drivers for RootUDEFX2 from C:dldrvfxDebugUDEFX2.inf.
Drivers installed successfully.
最后
以上就是顺利树叶最近收集整理的关于inf文件驱动常用加载方法的全部内容,更多相关inf文件驱动常用加载方法内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复