阅读:2410回复:0
usbprinters 的安装文件*.inf修改问题?请高手指点!
各位,本人开发的USBPRINTERS目前正在进行安装工作,由于inf是按照相关的例子修改的,所以在我安装自己的打印机驱动时候,在安装过程进行到最后一步即:出现安装完毕界面. 但同时在界面上显示硬件无法指定相关文件的错误. 但是打印机可以正常工作.
还请高手们指点,是否我的inf安装文件指定的路径有问题. 安装文件内容如下: [Version] Signature = "$Windows NT$" Provider = %CorpName% Class = Printer ClassGUID = {4D36E979-E325-11CE-BFC1-08002BE10318} LayoutFile = layout.inf DriverVer=08/25/2004,3.8.19 [DestinationDirs] DefaultDestDir = 66000 [Manufacturer] %CorpName% = XXXXXXPrinters [XXXXXXPrinters] "POSTEK G-2108" = PPD200_Sec,XXXXXXPrintersXXXXXXF9B2 "POSTEK G-3106" = PPD300_Sec,XXXXXXPrintersXXXXXXC132 ; ; Install Sections ; [MONITOR_USB] usbmon.dll,,,16 [PPD200_Sec] CopyFiles = @PPD98.DRV,UNI,MONITOR_USB DataSection = UNI_DATA DriverFile = PPD98.DRV DataFile = PPD98.DRV PortMonitor="Microsoft USB Port Monitor",usbmon.dll [PPD300_Sec] CopyFiles = @PPD3d.DRV,UNI,MONITOR_USB DataSection = UNI_DATA DriverFile = PPD3d.DRV DataFile = PPD3d.DRV PortMonitor="Microsoft USB Port Monitor",usbmon.dll [PPD200_Sec.NT] CopyFiles = @PCPD2.DLL,RASDD_NT,MONITOR_USB DataFile = PCPD2.DLL DriverFile = RASDD.DLL ConfigFile = RASDDUI.DLL HelpFile = RASDDUI.HLP PortMonitor="Microsoft USB Port Monitor",usbmon.dll [PPD300_Sec.NT] CopyFiles = @PCPD3.DLL,RASDD_NT,MONITOR_USB DataFile = PCPD3.DLL DriverFile = RASDD.DLL ConfigFile = RASDDUI.DLL HelpFile = RASDDUI.HLP PortMonitor="Microsoft USB Port Monitor",usbmon.dll ; ; CopyFiles Sections ; [UNI] UNIDRV.DLL UNIDRV.HLP ICONLIB.DLL [RASDD_NT] RASDD.DLL RASDDUI.DLL RASDDUI.HLP ; ; Data Sections ; These sections contain data that is shared between devices ; [UNI_DATA] HelpFile=UNIDRV.HLP DefaultDataType=EMF [SourceDisksNames] 1="Printer Driver Installation Disk",, [SourceDisksNames.x86] 2="Printer Driver NT Installation Disk",,,\i386 [SourceDisksFiles] PPD98.DRV = 1 PPD3d.DRV = 1 UNIDRV.DLL = 1 UNIDRV.HLP = 1 ICONLIB.DLL = 1 PCPD2.DLL = 2 PCPD3.DLL = 2 RASDD.DLL = 2 RASDDUI.DLL = 2 RASDDUI.HLP = 2 USBMON.DLL = 1 ;USBPRINT.INF = 1 USBPRINT.SYS = 1 ; ; Localizable strings ; [Strings] CorpName="XXXXXXPrinters" 还忘大家多多帮助! |
|
最新喜欢:vblue1...
|