2012-10-15 96 views
2

我想報名的老司機日立,使得USB閃存驅動器顯示爲固定磁盤 (當你有快速,大拇指驅動器非常有用)inf2cat 10年9月22日錯誤

驅動程序本身工作正常,但我不斷得到同樣的錯誤,當設法得到它簽署:

錯誤:

22.9.10: cfadisk.sys in [cfadisk_copyfiles] is missing from [SourceDisksFiles] section in 
\cfadisk.inf; driver may not sign correctly until this is resolved. 

22.9.10: disk.sys in [gendisk_copyfiles] is missing from [SourceDisksFiles] section in 
cfadisk.inf; driver may not sign correctly until this is resolved. 

這是我的.inf文件:

[Version] 
Signature="$Windows NT$" 
Class=DiskDrive 
ClassGuid={4D36E967-E325-11CE-BFC1-08002BE10318} 
Provider=%HGST% 
DriverVer=10/14/2012,9.9.9.9 
CatalogFile=cfadisk.cat 

[Manufacturer] 
%HGST% = cfadisk_device,ntAMD64 

[DestinationDirs] 
cfadisk_copyfiles=12 ; %SystemRoot%\system32\drivers 
gendisk_copyfiles=12 ; %SystemRoot%\system32\drivers 

[cfadisk_copyfiles] 
cfadisk.sys 

[gendisk_copyfiles] 
disk.sys 

[cfadisk_device] 
%Microdrive_devdesc% = cfadisk_install,USBSTOR\Disk&Ven_SanDisk&Prod_Extreme&Rev_0001 

[cfadisk_device.NTamd64] 
%Microdrive_devdesc% = cfadisk_install,USBSTOR\Disk&Ven_SanDisk&Prod_Extreme&Rev_0001 

[cfadisk_addreg] 
HKR,,"LowerFilters",0x00010008,"cfadisk" 

[cfadisk_install] 
CopyFiles=cfadisk_copyfiles,gendisk_copyfiles 

[cfadisk_install.HW] 
AddReg=cfadisk_addreg 

[cfadisk_install.Services] 
AddService=disk,2,gendisk_ServiceInstallSection 
AddService=cfadisk,,cfadisk_ServiceInstallSection 

[gendisk_ServiceInstallSection] 
DisplayName = "Disk Driver" 
ServiceType = 1 
StartType  = 0 
ErrorControl = 1 
ServiceBinary = %12%\disk.sys 
LoadOrderGroup = SCSI Class 

[cfadisk_ServiceInstallSection] 
DisplayName = "CompactFlash Filter Driver" 
ServiceType = 1 
StartType  = 3 
ErrorControl = 1 
ServiceBinary = %12%\cfadisk.sys 
LoadOrderGroup = Pnp Filter 

; ----------------------- 

[Strings] 
HGST = "Hitachi" 
Microdrive_devdesc = "SanDisk Extreme" 

我使用本教程爲參考點: http://www.deploymentresearch.com/Blog/tabid/62/EntryId/63/Sign-your-unsigned-drivers-Damn-It.aspx

cfadisk.inf和sys可以在這裏下載: 鏈接是在第一篇文章的開頭

http://hardforum.com/showthread.php?t=1655684

任何幫助將是很大的讚賞的

編輯:

我只是用這個.inf文件chkinf工具 這裏是輸出:

C:\DriversCert\SanDisk\cfadisk.inf: FAILED 
NTLOG REPORT-------------- 
Total Lines:   62 | 
Total Errors:   1 | 
Total Warnings:  4 | 
-------------------------- 
Line 0: ERROR: (E22.1.1003) Section [SourceDisksNames] not defined. 
Line 0: WARNING: (W22.1.2212) No Copyright information found. 
Line 0: WARNING: (W22.1.2111) [SourceDisksFiles] section not defined - full CopyFiles checking not done. 
Line 17: WARNING: (W22.1.2112) File "cfadisk.sys" is not listed in the [SourceDisksFiles]. 
Line 20: WARNING: (W22.1.2112) File "disk.sys" is not listed in the [SourceDisksFiles]. 

我真的沒有程序設計師,所以我真的不明白這一切意味着。

奇怪的是,司機沒有工作,我只是無法得到我簽名。

謝謝!

最好的問候,

沃爾特

+0

管理找到相同的驅動程序的另一個版本,不會使inf2cat出現問題。 如果有人有興趣使用這個驅動程序,你可以在這裏找到它: http://forums.mydigitallife.info/archive/index.php/t-29248.html?s=b1eaf8f6e01ce3049673242ef83cdb4e 我仍然有一個問題,簽署司機,但我會打開另一個線程。 謝謝! 最好的問候, 沃爾特 – user1747430

回答

1

這意味着,部分路段被錯過。在你的情況下,他們是[SourceDisksFiles][SourceDisksNames] 在這種特定的情況下,你只是要補充:

[SourceDisksFiles]
cfadisk.sys = 1
disk.sys = 1

[SourceDisksNames]
1 = %DiskName%, ,

,並在添加一條記錄到[String]節底部:

DiskName="Disk Drive"

相關問題