; lxbausb.inf
; USB Installer INF for Printers
;
; Copyright(C), Lexmark International, Inc. 1998-2001

[Version]
Signature="$CHICAGO$"
Class=USBPrinting
ClassGUID={398E2A94-4989-4bfd-A8A9-60F4C5A7C002}
Provider="Lexmark"

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir=11
Usb_CopyFiles=10,system32\drivers
INF_Files=17

[SourceDisksNames]
1=%InstDisk%,,,""

[SourceDisksFiles]
usbprint.sys=1
lxbainst.drv=1
lxbainst.dll=1
usbmon.dll=1
lxbapr.inf=1
lexusb.inf=1
lexusbin.exe=1


[Manufacturer]
%MfgName%=Lexmark

[Lexmark]
;remote wakeup version
%USB\VID_043D&PID_0065.DeviceDesc%=UsbInst, USB\Vid_043d&Pid_0065&MI_01

;
; Installer Sections
;

[UsbInst]
AddReg=Usb_AddReg,Hwd1.Reg
CopyFiles=Usb_CopyFiles, PrinterDriverFiles, INF_Files

[Hwd1.Reg]
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce",hwd1,,"%01%\lxbahwd1.exe /F%01%\lxbahwd1.ini /SPrintUSB"


[Usb_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbprint.sys
HKLM,"\System\CurrentControlSet\Control\InstalledFiles","lxbainst.drv",0x01,0b,00
HKLM,"\System\CurrentControlSet\Control\InstalledFiles","lxbainst.dll",0x01,0b,00
HKLM,"\System\CurrentControlSet\Control\InstalledFiles","usbmon.dll",0x01,0b,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce",Lexusbin,,"%11%\lexusbin.exe EnumPorts"
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce",AddMon,,"rundll32 lxbainst.dll,AddUSBMON Lexmark X5100 Series"


;
; Important : Do not copy if usbprint.sys if file already exists
; This file for Windows 98 only, Millennium already
; has file on the system.
; 0x00000010 (COPYFLG_NO_OVERWRITE)
;
[Usb_CopyFiles]
usbprint.sys,,,16



[INF_Files]
lexusb.inf
lxbapr.inf

[PrinterDriverFiles]
lexusbin.exe
lxbainst.drv
lxbainst.dll
usbmon.dll,,,16


[Strings]
InstDisk="Printer CD"
MfgName="Lexmark"
DeviceClassName="USB Printers"
USB\VID_043D&PID_0065.DeviceDesc="InkJet Color Printer"
Model="LXBA"



