|
在安装.inf文件时,老提示"系统找不到指定的文件",我看到pcccom.sys已经被成功copy到windows/system32/drivers目录了,请问.inf有什么问题?
.inf文件如下:
;; Copyright (c) 2004 Sciencepark Corporation
;; USB-COM Driver
;--------- Version Section ---------------------------------------------------
[Version]
Signature="$WINDOWS NT$"
Provider=%PROVIDER_NAME%
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer=7/27/2004,1.0.0.3
;CatalogFiles=pcccom.cat
;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
[SourceDisksNames]
1=%DISK_NAME%,,
[SourceDisksFiles]
pcccom.sys=1,,
;--------- DestinationDirs Section -------------------------------------------
[DestinationDirs]
DefaultDestDir=12
Usbcom_Files_Driver=10,System32\Drivers
[Usbcom_Files_Driver]
pcccom.sys
;--------- Manufacturer and Models Sections ----------------------------------
[Manufacturer]
%PROVIDER_NAME%=Models
[Models]
%USBCOM%=USBCOM,USB\VID_04DA&PID_1530
[ControlFlags]
ExcludeFromSelect=*
;---------- DDInstall Sections -----------------------------------------------
[USBCOM.NT]
CopyFiles=Usbcom_Files_Driver
AddReg=UsbCom.AddReg, UsbCom.NT.AddReg
[USBCOM.NT.Services]
AddService=PCCCOM, 0x00000002, USBCOM_AddService
[USBCOM_AddService]
DisplayName = %USBCOM.SvcDesc%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\pcccom.sys
LoadOrderGroup = extended base
[UsbCom.AddReg]
HKR,,ConfigDialog,0,serialui.dll
HKR,,DeviceType, 1, 01
HKR,,EnumPropPages,0,"serialui.dll,EnumPropPages"
HKR,,PortSubClass,1,01
HKR,,DCB,1,1C,00,00,00,00,C2,01,00,15,20,00,00,00,00,0A,00,0A,00,08,00,00,11,13,00,00,00
HKR,,Properties, 1, 00,00,00,00, ff,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 01,00,00,00, 00,08,07,00, 00,DC,05,00
[UsbCom.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
;--------- Strings Section ---------------------------------------------------
[Strings]
PROVIDER_NAME = "SCIENCEPARK CORPORATION"
USBCOM = "USB ComPort Driver"
USBCOM.SvcDesc ="USB ComPort Driver"
DISK_NAME = "USB COM DRIVER DISK"
|
|