阅读:822回复:1
DS生成的INF文件能直接用吗?
偶用DS2.7生成的INF文件,使用时总是出问题
需要做些什么修改呀?: ;; Finally.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 Win2K 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] ;Finally.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] Finally_Files_Driver = 10,System32\\Drivers ;--------- Manufacturer and Models Sections ---------------------------------- [Manufacturer] %MfgName%=Mfg0 [Mfg0] %DeviceDesc%=Finally_DDI, USB\\VID_08da&PID_ff01 ;---------- DDInstall Sections ----------------------------------------------- ; --------- Windows 9X ----------------- ; Experimentation has shown that DDInstall root names greater than 19 characters ; cause problems in Windows 98 [Finally_DDI] CopyFiles=Finally_Files_Driver AddReg=Finally_9X_AddReg [Finally_9X_AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,Finally.sys HKR, \"Parameters\", \"BreakOnEntry\", 0x00010001, 0 ; --------- Windows NT ----------------- [Finally_DDI.NT] CopyFiles=Finally_Files_Driver AddReg=Finally_NT_AddReg [Finally_DDI.NT.Services] Addservice = Finally, 0x00000002, Finally_AddService [Finally_AddService] DisplayName = %SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\\System32\\Drivers\\Finally.sys [Finally_NT_AddReg] HKLM, \"System\\CurrentControlSet\\Services\\Finally\\Parameters\",\\ \"BreakOnEntry\", 0x00010001, 0 ; --------- Files (common) ------------- [Finally_Files_Driver] Finally.sys ;--------- Strings Section --------------------------------------------------- [Strings] ProviderName=\"finally0\" MfgName=\"finally1\" DeviceDesc=\"finally2\" DeviceClassName=\"finally3\" SvcDesc=\"finally4\" |
|
|
沙发#
发布于:2002-11-13 09:54
封傥,
知道了! |
|
|