阅读:1799回复:0
XP和vista系统下printer driver的inf的区别
如下是我自己写的printer driver的inf文件,在XP下可以安装成功。但是在vista系统下失败,提示:Operation could not be completed(error 0x00000002).
[Version] Signature = "$Windows NT$" Class=Printer ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318} Provider=%GK% CatalogFile=d.cat DriverVer= 2/17/2009 [DestinationDirs] DefaultDestDir=66000 [SourceDisksNames] 0=%Desc_x860% [SourceDisksFiles] tty.gpd = 0 tty.ini = 0 ttyui.hlp = 0 TTY.DLL = 0 TTYUI.DLL = 0 TTYRES.dll = 0 [Manufacturer] %GK%=GK [GK] %dDesc% = DefaultInstall [DefaultInstall] CopyFiles=@TTY.GPD,@TTY.INI,@TTYUI.HLP,@TTYRES.DLL,OEMUNI,OEMUI DataSection=UNIDRV_DATA DataFile=TTY.GPD Include=NTPRINT.INF Needs=UNIDRV.OEM [OEMUNI] TTY.DLL [OEMUI] TTYUI.DLL [Strings] ; *******Localizable Strings******* GK= "G Desc_x860= "G 1394drivers" dDesc= "g" 后来我把如下 [SourceDisksFiles] tty.gpd = 0 tty.ini = 0 ttyui.hlp = 0 TTY.DLL = 0 TTYUI.DLL = 0 TTYRES.dll = 0 改成 [SourceDisksFiles] tty.gpd = 0 tty.ini = 0 ttyui.hlp = 0 TTY.DLL = 0,0x86 TTYUI.DLL = 0,0x86 TTYRES.dll = 0,0x86 就可以了。 请问XP和vista下的inf有什么区别?这是为什么呢? |
|