liqudsnake
驱动牛犊
驱动牛犊
  • 注册日期2007-05-07
  • 最后登录2008-05-26
  • 粉丝0
  • 关注0
  • 积分100分
  • 威望11点
  • 贡献值0点
  • 好评度10点
  • 原创分0分
  • 专家分0分
阅读:1731回复:2

驱动安装的问题,快崩溃了,大家帮帮忙!

楼主#
更多 发布于:2008-01-28 19:07

用driverstudio3.1生成pci9054驱动,安装失败,说“安装的时候出现了一个错误,系统找不到指定的文件”,inf文件我只改了设备类型和设备名称,其它的都没有变,为什么会装不了,这种情况经常出现,用Ezdriverinstall也是一样,而且我做的好几个版本的驱动都不能装,求大家帮我看看哪里有问题


;; PCI9054.inf

;; *********  PLEASE READ ***********
;; The wizard cannot create exact INF files for all buses and device types.
;; You may have to make changes to this file in order to get your device to
;; install. In particular, hardware IDs and logical configurations require
;; intervention.
;;
;; The Windows DDK documentation contains an excellent INF reference.

;--------- Version Section ---------------------------------------------------

[Version]
Signature="$CHICAGO$"

; If device fits one of the standard classes, use the name and GUID here,
; otherwise create your own device class and GUID as this example shows.

Class=PCI9054
ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b}
Provider=%ProviderName%


;--------- 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 = "Install Disk",Disk1

;[SourceDisksFiles]
PCI9054.sys = 1

;--------- ClassInstall/ClassInstall32 Section -------------------------------

; Not necessary if using a standard class

; 9X Style
[ClassInstall]
Addreg=Class_AddReg

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
PCI9054_Files_Driver = 10,System32\Drivers

;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]

; PCI hardware IDs use the form
;   PCI\VEN_aaaa&DEV_bbbb&SUBSYS_cccccccc&REV_dd
;
PCI9054=PCI9054_DDI, PCI\VEN_10b5&DEV_5406&SUBSYS_00000000&REV_00

;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 9X -----------------

; Experimentation has shown that DDInstall root names greater than 19 characters
; cause problems in Windows 98

[PCI9054_DDI]
CopyFiles=PCI9054_Files_Driver
AddReg=PCI9054_9X_AddReg

[PCI9054_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PCI9054.sys
HKR, "Parameters", "BreakOnEntry", 0x00010001, 0
; --------- Windows NT -----------------

[PCI9054_DDI.NT]
CopyFiles=PCI9054_Files_Driver
AddReg=PCI9054_NT_AddReg

[PCI9054_DDI.NT.Services]
Addservice = PCI9054, 0x00000002, PCI9054_AddService

[PCI9054_AddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\PCI9054.sys

[PCI9054_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\PCI9054\Parameters",\
    "BreakOnEntry", 0x00010001, 0



; --------- Files (common) -------------

[PCI9054_Files_Driver]
PCI9054.sys

;--------- Strings Section ---------------------------------------------------

[Strings]
ProviderName="overmind"
MfgName="IONOLAB"
DeviceDesc="PCI9054 CARD"
DeviceClassName="PCI9054"
SvcDesc="Demo"
zhoujiamurong
驱动小牛
驱动小牛
  • 注册日期2006-03-20
  • 最后登录2009-05-06
  • 粉丝4
  • 关注0
  • 积分1081分
  • 威望360点
  • 贡献值0点
  • 好评度215点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2008-03-07 13:58
PCI9054.sys這個文件要放在同一個目錄,你應該是沒有。
wzgodzhi
驱动牛犊
驱动牛犊
  • 注册日期2007-01-16
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分760分
  • 威望77点
  • 贡献值0点
  • 好评度76点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2008-03-08 16:16
ddddddd
游客

返回顶部