xiaoyan_yang121
驱动牛犊
驱动牛犊
  • 注册日期2002-06-25
  • 最后登录2005-06-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1358回复:4

W2k的INF文件的问题!求救!

楼主#
更多 发布于:2002-08-02 12:46
我的W2K的INF文件在安装时,出现下面的错误:
 “安装设备时,出现了一个错误:在INF中找不到所需的区域”
我不知是少了哪个区域,还是有哪个区域的内容写错了?
下面是我的INF文件,望各位给以指点,非常感激!
[Version]
Signature=\"$Chicago$\"
Class=Hotpci_GUID
ClassGUID={2D88B6F8-7BD6-4f79-A686-395BB974C77B}
Provider=%Sysbank%
DriverVer=08/02/2002,1.00.0.1
 
; Comments follow a semicolon
 
[DestinationDirs] ; Specify where files are copied to
DefaultDestDir=12 ; %windir%\\system32\\drivers
 
[Manufacturer]
%Sysbank%=MyMfgName ; call out a model section

[MyMfgName]  ; begin a Models section
; Our list of devices follows:
\"PCI Sysbank Hotpci\"=InstallLauncher,PCI\\VEN_1172&DEV_8901
 
[InstallLauncher] ; begin a DDInstall section
CopyFiles=CopyLaunchFiles ; call out a CopyFiles sec.
AddReg=LaunchRegSection ; call out an AddReg section

[CopyLaunchFiles] ; begin a CopyFiles section
Hotpci.sys

[LaunchRegSection] ; begin an AddReg section
; Provide a DWORD registry value of 0 for our device:
HKR,\"Parameters\",\"Coordinates\",FLG_ADDREG_TYPE_DWORD,0

[SourceDisksNames]
; This section is not really required because we have
; only two files and they probably fit on one disk.
1=\"Sysbank Hotpci Driver Files\"

[SourceDisksFiles]
; Similarly, since everything came from one disk,
; we don\'t really need this section either.
Hotpci.sys=1

[InstallLauncher.Services] ; DDInstall.Services sec.
AddService=Hotpci,2,LaunchService

; Setup the SCM registry entries so driver can start
[LaunchService]
DisplayName= \"Sysbank Hotpci Driver\"
ServiceType=1 ; driver
StartType=3 ; on-demand (manual)
ErrorControl=1 ; report errors
ServiceBinary=%12%\\Hotpci.sys ; path to driver

[Strings]
Sysbank=\"Sysbank Development Corporation\"

最新喜欢:

leeooleeoo
tigerzd
驱动老牛
驱动老牛
  • 注册日期2001-08-25
  • 最后登录2004-12-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-08-02 12:49
少[InstallLauncher.NT]
犯强汉者,虽远必诛! [img]http://www.driverdevelop.com/forum/upload/tigerzd/2002-12-13_sf10.JPG[/img]
xiaoyan_yang121
驱动牛犊
驱动牛犊
  • 注册日期2002-06-25
  • 最后登录2005-06-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-08-02 13:18
tigerzd:
  你好!
  我试了几次,但还是我不知道该怎么加[InstallLauncher.NT],
你能详细的告诉我吗?
谢谢!

caosuricheng
驱动中牛
驱动中牛
  • 注册日期2002-04-16
  • 最后登录2004-09-04
  • 粉丝0
  • 关注0
  • 积分-10分
  • 威望-1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2002-08-02 14:56
如果inf用于98那么就不是.NT的错误
ddk有一个inf生成工具好像是geninf.exe,用生成好的inf自己再稍微改一下就可以了
我是草肃日成 有人认识我吗?
tigerzd
驱动老牛
驱动老牛
  • 注册日期2001-08-25
  • 最后登录2004-12-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2002-08-02 15:06
和[InstallLauncher]一样。
犯强汉者,虽远必诛! [img]http://www.driverdevelop.com/forum/upload/tigerzd/2002-12-13_sf10.JPG[/img]
游客

返回顶部