阅读:1772回复:1
『求助』DriverStudio->EzDrvInstaller使用问题:“No driver selected!”
前天第一次学用DriverWizard建立了一个很简单的样例Sample2
在EzDrvInstaller中File->Open\"..../Sample2/sys/Sample2.inf\", Hardware框显示*Sample2, 点击“Start Driver”按钮,出现要求搜寻Sample2.sys的对话框,安装后可正常调试。 但是昨天又进行同样的操作时,在点击“Start Driver”按钮后, 显示“No driver selected!” 请问各位大侠,这是怎么回事? 附注: Sample2工程位置:d:\\DDK\\Sample2\\Sample2.dsw DriverStudio安装位置:C:\\Program Files\\Compuware\\DriverStudio 文件Sample2.inf内容: ;; Sample2.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=\"$Windows 95$\" Provider=%ProviderName% ; 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=NewDeviceClass ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b} ;--------- 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] ;Sample2.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] Sample2_Files_Driver = 10,System32\\Drivers ;--------- Manufacturer and Models Sections ---------------------------------- [Manufacturer] %MfgName%=Mfg0 [Mfg0] %DeviceDesc%=Sample2_DDI, *Sample2 ;---------- DDInstall Sections ----------------------------------------------- ; --------- Windows 9X ----------------- ; Experimentation has shown that DDInstall root names greater than 19 characters ; cause problems in Windows 98 [Sample2_DDI] CopyFiles=Sample2_Files_Driver AddReg=Sample2_9X_AddReg [Sample2_9X_AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,Sample2.sys HKR, \"Parameters\", \"BreakOnEntry\", 0x00010001, 0 ; --------- Windows NT ----------------- [Sample2_DDI.NT] CopyFiles=Sample2_Files_Driver AddReg=Sample2_NT_AddReg [Sample2_DDI.NT.Services] Addservice = Sample2, 0x00000002, Sample2_AddService [Sample2_AddService] DisplayName = %SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\\System32\\Drivers\\Sample2.sys [Sample2_NT_AddReg] HKLM, \"System\\CurrentControlSet\\Services\\Sample2\\Parameters\",\\ \"BreakOnEntry\", 0x00010001, 0 ; --------- Files (common) ------------- [Sample2_Files_Driver] Sample2.sys ;--------- Strings Section --------------------------------------------------- [Strings] ProviderName=\"Your Company Name here\" MfgName=\"Name of HW Manufacturer here\" DeviceDesc=\"Sample2 Driver\" DeviceClassName=\"Description of Sample2 Device class here\" SvcDesc=\"Description of Sample2 NT service here\" [编辑 - 4/13/04 by IanJiang] |
|
沙发#
发布于:2007-09-02 16:13
Re:『求助』DriverStudio->EzDrvInstaller使用问题:“No driver selected!”
你找到原因了吗? |
|