安装驱动时的一个问题 inf 文件 这个段落安装无效

whywhyyyz33 2009-05-25 09:53:04
什么段落无效呢?为什么无效呢?有效是什么有效的意思呢??
这是在安装jtag 烧写程序驱动时出现的问题 giveio.inf 这个文件的内容如下:


; giveio.inf
;
; Installation file (.inf) for the giveio device.
;
; (c) Copyright 2000
;

[Version]
Signature="$Windows NT$"
Provider=%%
ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318}
Class=Unknown
CatalogFile=giveio.cat
DriverVer=05/13/2000

[DestinationDirs]
DefaultDestDir = 12

;
; Driver information
;

[Manufacturer]
%% = .Mfg

[.Mfg]
%.DeviceDesc0% = giveio,


;
; General installation section
;

[giveio]

;
; File sections
;


;
; Service Installation
;

[giveio.Services]
AddService = giveio, 0x00000002 , giveio_Service_Inst, giveio_EventLog_Inst

[giveio_Service_Inst]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary = %12%\giveio.sys


[giveio_EventLog_Inst]
AddReg = giveio_EventLog_AddReg

[giveio_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\giveio.sys"
HKR,,TypesSupported,0x00010001,7




;
; Source file information
;

[SourceDisksNames.x86]
1 = %DiskId1%,,,""

[SourceDisksFiles]
; Files for disk Installation Disk #1 (Ports)
giveio.sys = 1,,


[Strings]

;
; Non-Localizable Strings
;

REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
SERVICEROOT = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

.DeviceDesc0 = "giveio"
DiskId1 = " Installation Disk #1 (Ports)"
= ""



期待回答 谢谢
...全文
747 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
xhqgff 2011-04-15
  • 打赏
  • 举报
回复
我也遇到这个问题还没解决呢,期待答案。。。
xhqgff 2011-04-15
  • 打赏
  • 举报
回复
我也遇到这个问题还没解决呢,期待答案。。。
whywhyyyz33 2009-05-26
  • 打赏
  • 举报
回复
说得仔细点是:
这个 INF 中的服务安装段落无效


请问 在上边这个inf文件中 哪个是安装服务段落??
whywhyyyz33 2009-05-26
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 needanothercoder 的回复:]
哥哥帮你顶
[/Quote]

谢谢你帮我顶
needanothercoder 2009-05-26
  • 打赏
  • 举报
回复
哥哥帮你顶
whywhyyyz33 2009-05-26
  • 打赏
  • 举报
回复
windows区里没人能回答么??

6,850

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧