Kopie von OEMSETUP.INF
上传用户:yuandong
上传日期:2022-08-08
资源大小:954k
文件大小:4k
源码类别:
Delphi控件源码
开发平台:
C++ Builder
- ;
- ; Sample combination printer INF for NT 4.0 and Win95.
- ;
- ; (This inf should work for both OS's, but not all sections apply to both.)
- ;
- ;
- [Version]
- Signature="$Windows NT$"
- Provider=%MS%
- LayoutFile=layout.inf
- PrintProcessor=Dumbproc,DUMBPROC.DLL
- ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
- Class=Printer
- [ClassInstall]
- AddReg=ClassAddReg
- DelReg=ClassDelReg
- [ClassDelReg]
- HKLM,"SystemCurrentControlSetServicesClassPrinter","NoUseClass"
- [ClassAddReg]
- HKR,,,,%CLASSNAME%
- HKR,,Installer,,MSPRINT.DLL
- HKR,,Icon,,-4
- HKR,,NoDisplayClass,,1
- [Environment]
- UpdateInis=Environment_Ini
- AddReg=Environment_Reg
- [Environment_Ini]
- win.ini,Ports,"LPT1.DOS=",
- win.ini,Ports,"LPT2.DOS=",
- win.ini,Ports,"LPT3.DOS=",
- win.ini,Ports,"LPT1.OS2=",
- win.ini,Ports,"LPT2.OS2=",
- win.ini,Ports,"LPT3.OS2=",
- win.ini,windows,"Spooler=",
- win.ini,windows,"DosPrint=",
- win.ini,windows,"DeviceNotSelectedTimeout=",
- win.ini,windows,"TransmissionRetryTimeout=",
- [Environment_Reg]
- HKLM,"SystemCurrentControlSetControlPrintEnvironmentsWindows 4.0","Directory",,"CHICAGO"
- HKLM,"SystemCurrentControlSetControlPrintEnvironmentsWindows 4.0Drivers",,,
- HKLM,"SystemCurrentControlSetControlPrintEnvironmentsWindows 4.0Print Processors",,,
- HKLM,"SystemCurrentControlSetControlPrintMonitors",,,
- HKLM,"SystemCurrentControlSetControlPrintPrinters",,,
- HKLM,"SystemCurrentControlSetControlPrintPrinters","StartOnBoot",1,01,00,00,00
- HKLM,"SystemCurrentControlSetControlPrintProviders",,,
- ;
- ; Manufacturer Sections
- ;
- ; This section lists all of the manufacturers that we will
- ; display in the Dialog box.
- ;
- [Manufacturer]
- "!OEM"
- ;
- ; Model Sections
- ;
- ; These sections correspond with an entry listed in the
- ; [Manufacturer] section above. The models will be displayed in the order
- ; that they appear here.
- ;
- [!OEM]
- "Dumb Driver" = DUMB.DLL
- ;
- ; Installer Sections
- ;
- ; These sections control file installation, and reference all files that
- ; need to be copied. The section name will be assumed to be the driver data
- ; file, unless there is an explicit DataFile section listed.
- ;
- ; Also note the ".NT" or ".WIN" notation. This is done to allow for a single INF to
- ; work on Win9x and WinNT. When this format is used, the DataFile must be declared explicitly.
- ; Win95 does not support this notation, so the old format is used.
- ; See the latest WinNT DDK for more info.
- ;
- [DUMB.DLL.NT]
- CopyFiles=@DUMB.DLL,RASDD_NT
- DataFile=DUMB.DLL
- DataSection=RASDD_DATA_NT
- [DUMB.DLL]
- CopyFiles=@DUMB.DLL,RASDD_Win
- DataSection=RASDD_DATA_Win
- ; Copy Sections
- ;
- ; Lists of files that are actually copied. These sections are referenced
- ; from the installer sections above. Only create a section if it contains
- ; two or more files (if we only copy a single file, identify it in the
- ; installer section, using the @filename notation) or if it's a color
- ; profile (since the DestinationDirs can only handle sections, and not
- ; individual files).
- ;
- [RASDD_NT]
- RASDD.DLL
- RASDDUI.DLL
- RASDDUI.HLP
- ;
- ; Data Sections
- ;
- ; These sections contain data that is shared between devices.
- ;
- [RASDD_DATA_NT]
- DriverFile=RASDD.DLL
- ConfigFile=RASDDUI.DLL
- HelpFile=RASDDUI.HLP
- ;
- ; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
- ; (depending on which environment drivers are getting installed)
- ;
- [DestinationDirs]
- DefaultDestDir=66000
- ;
- ; diskid = description,tagfile,unused,subdir
- ;
- [SourceDisksNames]
- 4 = %Floppy%,,,""
- ;
- ; filename_on_source = diskid,subdir,size,checksum,spare,spare
- ; extra fields are nt-specific
- ; bootmediaord,targetdirectory,upgradedisposition,textmodedisposition,targetname
- ;
- [SourceDisksFiles]
- DUMB.DLL = 4,,,,,,,11,3
- ;
- ; Localizable Strings
- ;
- [Strings]
- MS="Microsoft"
- Floppy="OEM Printer Disk"
- CLASSNAME="Printer"
- PJL_MONITOR="PJL Language Monitor,PJLMON.DLL"
- PS_MONITOR="PostScript Language Monitor,PSMON.DLL"