大佬教程收集整理的这篇文章主要介绍了无法在Windows 10 Professional中安装自定义inf. Windows使用OEM驱动程序覆盖它,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我的默认安装过程:
>从USB端口拔下设备
>加载新安装的Windows 10 Professional的快照
>右键单击,安装在.inf文件中
>插入设备
>查看设备管理器,看到使用Microsoft制造的标准USB串行设备驱动程序而不是我的驱动程序
如果我然后卸载它并重复步骤3-5,它有时允许我的自定义驱动程序坚持.
我被告知我的驱动程序安装在Windows 10企业版上,这让人感到困惑.
问题:我做错了什么?
我的inf文件:
;************************************************************ ; Windows USB CDC ACM Setup File ; Copyright (C) 2000 Microsoft Corporation ; Version v1.1,updated 17 April 2013 [Strings] DriverPackageDisplayName="Rinstrum USB serial Drivers" ManufacturerName="Rinstrum" servicename="USB RS-232 Emulation Driver" linux.gserial="Rinstrum USB Gadget serial" MFGNAME="Rinstrum" [DefaulTinstall] CopyINF=c500.inf [Version] DriverVer=03/02/2017,1.0.0.0 Signature=$Windows NT$ Class=Ports ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} Provider=%MFGNAME% CatalogFile=c500.cat DriverPackageDisplayName=%DriverPackageDisplayName% PnpLockdown=1 [Manufacturer] %MFGNAME%=Models,NTx86,NTamd64,NTarm [DesTinationDirs] DefaultDestDir=12 FakeModemCopyFileSection=12 [Models.NTx86] %linux.gserial%=DriverInstall,USB\VID_1FC9&PID_816A,USB\VID_1FC9&PID_816A&MI_00 [Models.NTamd64] %linux.gserial%=DriverInstall,USB\VID_1FC9&PID_816A&MI_00 [Models.NTarm] %linux.gserial%=DriverInstall,USB\VID_1FC9&PID_816A&MI_00 [DriverInstall] Include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection AddReg=DriverAddReg [DriverAddReg] HKR,DevLoader,*ntkern HKR,NTMPDriver,%DRIVERFILename%.sys HKR,EnumPropPages32,"MsPorts.dll,serialPortPropPageProvider" [DriverInstall.services] Include=mdmcpq.inf Addservice=usbser,0x2,Driverservice [Driverservice] DisplayName=%servicename% serviCEType=1 StartType=3 ErrorControl=1 serviceBinary=%12%\usbser.sys LoadOrderGroup=Base
更新:来自setupapi.dev.log的其他信息
>>> [Device Install (DiInstallDriver) - C:\Users\R&d\Desktop\c500.inf] >>> Section start 2017/02/03 17:17:58.321 cmd: "C:\Windows\System32\InfDefaulTinstall.exe" "C:\Users\R&d\Desktop\c500.inf" ndv: Flags: 0x00000000 ndv: INF path: C:\Users\R&d\Desktop\c500.inf inf: {SetupCopyOEMInf: C:\Users\R&d\Desktop\c500.inf} 17:17:58.337 inf: Copy style: 0x00000000 ! inf: Driver package is already in driver store inf: Driver Store Path: C:\Windows\System32\DriverStore\FileRepository\c500.inf_amd64_4fee793fb11027ac\c500.inf inf: Published Inf Path: C:\Windows\INF\oem4.inf inf: {SetupCopyOEMInf exit (0x00000000)} 17:17:58.368 <<< Section end 2017/02/03 17:17:58.399 <<< [Exit status: succesS]
更新:
setupapi.dev.log在尝试安装设备时出现以下错误
sig: success: File is signed in Authenticode(tm) catalog. sig: Error 0xe0000242: The publisher of an Authenticode(tm) signed catalog has not yet been established as trusted.
更新:
VBox guest添加安装程序设法在WIN10中安装我的inf文件.这是来源:
@L_772_21@
以上是大佬教程为你收集整理的无法在Windows 10 Professional中安装自定义inf. Windows使用OEM驱动程序覆盖它全部内容,希望文章能够帮你解决无法在Windows 10 Professional中安装自定义inf. Windows使用OEM驱动程序覆盖它所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。