阅读:2980回复:7
[紧急]请帮忙看看inf文件问题
就ddk中的一个例子,然后我改了下。
原来的inf文件也不行,也改了一下。 可就是怎么改都有问题,请大虾们帮帮忙啊! 我在网上找了好久都没有相关的主题有解决问题的。 问题描述: 用DriverStudio带的EzDriverInstall安装后: Unknown Error: 0xe0000219 用“添加硬件向导”后: 安装设备时出现了一个错误。 由于没有为设备范例指定函数驱动程序,安装没有成功。 相关inf贴到二楼吧 |
|
|
沙发#
发布于:2011-05-19 08:22
[version]
Signature = "$Windows NT$" Class = NetTrans ClassGUID = {2A5B30B9-036E-4377-B260-70CC2D6D72C1} Provider = %Msft% DriverVer = 05/16/2011,5.00.2064 ;------------------------------------------------------------------------- ; Service installation support ;------------------------------------------------------------------------- [Manufacturer] %Msft%=MSFT,NTx86 [MSFT] %PACKET_Desc%=Install, MS_PACKET ;;;;;;;;;;;;;;;;;;;;;; [MSFT.NTx86] %PACKET_Desc%=Install, MS_PACKET ;;;;;;;;;;;;;;;;;;;;;; ;----- [Install] AddReg=Inst_Ndi Characteristics=0 ; Has no characterstic CopyFiles=CpyFiles_Sys CopyInf= packet.inf ;---- SourceDiskNames and SourceDiskFiles Section ----------------------- ; These sections identify source disks and files for installation. They are ; shown here as an example, but commented out. [SourceDisksNames] 1 = "C:\ndis\driver",Disk1,, [SourceDisksFiles] packet.sys = 1,objchk\i386, ;------------------------------------------------------------------------- ; Declare Destination Directories for file copy/deletion ;------------------------------------------------------------------------- [DestinationDirs] CpyFiles_Sys = 12 ; DIRID_DRIVERS ;------------------------------------------------------------------------- ; Installation Section ;------------------------------------------------------------------------- ;------------------------------------------------------------------------- ; Files to Copy/Delete - Referenced by Install and Remove sections above ;------------------------------------------------------------------------- [CpyFiles_Sys] packet.sys,,,2 ;------------------------------------------------------------------------- ; Ndi installation support ;------------------------------------------------------------------------- [Inst_Ndi] HKR,Ndi,Service,,"Packet" HKR,Ndi,HelpText,,%PACKET_HelpText% HKR,Ndi\Interfaces, UpperRange,, noupper HKR,"Ndi\Interfaces","LowerRange",,"ndis5,ndis4" [Install.Services] AddService=Packet,,PACKET_Service_Inst [Packet_Service_Inst] DisplayName = %PACKET_Desc% ServiceType = 1 ;SERVICE_KERNEL_DRIVER StartType = 3 ;SERVICE_AUTO_START ErrorControl = 1 ;SERVICE_ERROR_NORMAL ServiceBinary = %10%\System32\Drivers\packet.sys LoadOrderGroup = "PNP_TDI" AddReg = AddReg_PACKET_Service_Inst Description = %PACKET_Desc% [AddReg_PACKET_Service_Inst] HKLM,"System\CurrentControlSet\Services\Packet","TextModeFlags",%REG_DWORD%,0x0001 HKR,"Parameters","Test",,"Hello" ;------------------------------------------------------------------------- ; Support for removal of static registry settings ;------------------------------------------------------------------------- [Install.Remove] DelReg=Del_Static_Reg,packet.sys [Install.Remove.Services] DelService=Packet [Del_Static_Reg] HKLM,"System\CurrentControlSet\Services\Packet","TextModeFlags" [Strings] Msft = "Microsoft" PACKET_Desc = "DDK PACKET Protocol" PACKET_HelpText = "A non-routable protocol designed for use in small LANs." REG_DWORD = 0x10001 |
|
|
板凳#
发布于:2011-05-19 09:20
同问,我也是修改了名字。就加载不了驱动了。
手动添加后又出现不能执行的问题。不知道netsf.inf文件如何修改啊 |
|
地板#
发布于:2011-05-19 09:20
同问,我也是修改了名字。就加载不了驱动了。
手动添加后又出现不能执行的问题。不知道netsf.inf文件如何修改啊 |
|
地下室#
发布于:2011-05-19 09:43
回 3楼(台灯下的光) 的帖子
呵呵,同求高手解答 |
|
|
5楼#
发布于:2011-05-19 09:47
回 2楼(台灯下的光) 的帖子
你的驱动inf是自己写的吗? |
|
|
6楼#
发布于:2011-05-19 12:08
|
|
7楼#
发布于:2011-05-21 10:48
回 6楼(台灯下的光) 的帖子
照着《驱动开发详解》的inf改了下,能装上,但还是加载不了? |
|
|