阅读:1358回复:4
W2k的INF文件的问题!求救!
我的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\" |
|
最新喜欢:![]() |
沙发#
发布于:2002-08-02 12:49
少[InstallLauncher.NT]
|
|
|
板凳#
发布于:2002-08-02 13:18
tigerzd:
你好! 我试了几次,但还是我不知道该怎么加[InstallLauncher.NT], 你能详细的告诉我吗? 谢谢! |
|
地板#
发布于:2002-08-02 14:56
如果inf用于98那么就不是.NT的错误
ddk有一个inf生成工具好像是geninf.exe,用生成好的inf自己再稍微改一下就可以了 |
|
|
地下室#
发布于:2002-08-02 15:06
和[InstallLauncher]一样。
|
|
|