阅读:2704回复:0
写了一个虚拟MODEM,安装有问题,帮看下INF文件
为什么用INF文件安装完后,设备参数项里没有PortName,AttachedTo项也没有值,这是为什么啊.
关于配置方面的我删除掉了,太长了 [Version] Signature="$WINDOWS NT$" Class=Modem ClassGUID={4D36E96D-E325-11CE-BFC1-08002BE10318} Provider=%Mfg% DriverVer=05/18/2009,1.04.02 CatalogFile=muxvmodem.cat [DestinationDirs] DefaultDestDir = 12 [Manufacturer] "Virtual Modem Types" = Generic [ControlFlags] ExcludeFromSelect=* [Generic] "Virtual Modem" = ModemX, COM\LEADCORE_MUXVMODEM&MODEM_01 [ModemX.NT] CopyFiles = ModemX.NT.Copy AddReg = All, MfgAddReg, ModemX.AddReg, INTERNAL [ModemX.NT.HW] AddReg = ModemX.NT.HW.AddReg [ModemX.NT.Copy] muxvmodem.sys [ModemX.NT.HW.AddReg] HKR, , "LowerFilters", 0x00010000, LEADCORE_MUXVMODEM_SERVICE [ModemX.NT.Services] AddService = LEADCORE_MUXVMODEM_SERVICE, 0x00000000, MUXVMODEM_SERVICE_INST [MUXVMODEM_SERVICE_INST] DisplayName = "LEADCORE_MUXVMODEM_SERVICE" ServiceType = 1 StartType = 3 ErrorControl = 1 ServiceBinary = %12%\muxvmodem.sys LoadOrderGroup = Extended Base [MUXVMODEM_LOGGING_INST] AddReg = MUXVMODEM_LOGGING_INST_ADDREG [MUXVMODEM_LOGGING_INST_ADDREG] HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\muxvmodem.sys" HKR,,TypesSupported,0x00010001,7 [SourceDisksNames] 1 = %COMPANY_NAME%"_"%PRODUCT_NAME%"_DRIVER",,,"" [SourceDisksFiles] muxvmodem.sys = 1,, [Strings] mfg ="KernelSword" COMPANY_NAME ="KernelSword" PRODUCT_NAME ="VMODEM" CLASS_NAME ="VMODEM" [All] ;;;省略 [ModemX.AddReg] ;;;省略 [INTERNAL] ;;;省略 [EXTERNAL] ;;;省略 [MfgAddReg] ;;;省略 |
|
|