; Installation INF for the Cypress Generic USB Driver for Windows Vista
; Processor support for OS unknown platforms.
;

[Version]
Signature="$WINDOWS NT$"
Class=Printer
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
provider=%PRINTER_Provider%
CatalogFile=PrinterDrv.cat
DriverVer=10/17/2011,3.4.7.000
[SourceDisksNames]
1=%PRINTER_Install%,,,

[SourceDisksFiles]
PrinterDrv.sys = 1

[DestinationDirs]
PRINTER.Files.Ext = 10,System32\Drivers

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%PRINTER_Provider%=Device,NT,NTx86,NTamd64

;for all platforms
[Device]
%VID_7856&PID_0100.DeviceDesc%=PRINTER, USB\VID_7856&PID_0100
%VID_04B4&PID_8613.DeviceDesc%=PRINTER, USB\VID_04B4&PID_8613


;for windows 2000 non intel platforms
[Device.NT]
%VID_7856&PID_0100.DeviceDesc%=PRINTER, USB\VID_7856&PID_0100
%VID_04B4&PID_8613.DeviceDesc%=PRINTER, USB\VID_04B4&PID_8613


;for x86 platforms
[Device.NTx86]
%VID_7856&PID_0100.DeviceDesc%=PRINTER, USB\VID_7856&PID_0100
%VID_04B4&PID_8613.DeviceDesc%=PRINTER, USB\VID_04B4&PID_8613


;for x64 platforms
[Device.NTamd64]
%VID_7856&PID_0100.DeviceDesc%=PRINTER, USB\VID_7856&PID_0100
%VID_04B4&PID_8613.DeviceDesc%=PRINTER, USB\VID_04B4&PID_8613


[PRINTER]
CopyFiles=PRINTER.Files.Ext
AddReg=PRINTER.AddReg

[PRINTER.HW]
AddReg=PRINTER.AddReg.Guid

[PRINTER.Services]
Addservice = PRINTER,2,PRINTER.AddService

[PRINTER.NT]
CopyFiles=PRINTER.Files.Ext
AddReg=PRINTER.AddReg

[PRINTER.NT.HW]
AddReg=PRINTER.AddReg.Guid

[PRINTER.NT.Services]
Addservice = PRINTER,2,PRINTER.AddService


[PRINTER.NTx86]
CopyFiles=PRINTER.Files.Ext
AddReg=PRINTER.AddReg

[PRINTER.NTx86.HW]
AddReg=PRINTER.AddReg.Guid

[PRINTER.NTx86.Services]
Addservice = PRINTER,2,PRINTER.AddService

[PRINTER.NTamd64]
CopyFiles=PRINTER.Files.Ext
AddReg=PRINTER.AddReg

[PRINTER.NTamd64.HW]
AddReg=PRINTER.AddReg.Guid

[PRINTER.NTamd64.Services]
Addservice = PRINTER,2,PRINTER.AddService


[PRINTER.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PrinterDrv.sys
HKR,,DriverBase,,PrinterDrv.sys
HKR,"Parameters","MaximumTransferSize",0x10001,4096
HKR,"Parameters","DebugLevel",0x10001,2
HKR,,FriendlyName,,%PRINTER_Description%

[PRINTER.AddService]
DisplayName    = %PRINTER_Description%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\PrinterDrv.sys
AddReg         = PRINTER.AddReg
LoadOrderGroup = Base

[PRINTER.Files.Ext]
PrinterDrv.sys

[PRINTER.AddReg.Guid]
HKR,,DriverGUID,,%PRINTER.GUID%

[Strings]
PRINTER_Provider    = "USB-Printer"
PRINTER_Company     = "USB-Printer Controller"
PRINTER_Description = "USB-Printer Controller Driver"
PRINTER_DisplayName = "USB-Printer Controller Driver"
PRINTER_Install     = "USB-Printer Controller Driver Installation Disk"
VID_7856&PID_0100.DeviceDesc="USB-Printer Controller(3.4.7.0)"
VID_04B4&PID_8613.DeviceDesc="USB-Printer Controller(3.4.7.0)"
PRINTER.GUID="{AE18AA60-7F6A-11d4-97DD-00010229B959}"
PRINTER_Unused      = "."
