; Copyright Hewlett-Packard 2005
; Installation file for HPFXBULK Driver


[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%MFGNAME%
DriverVer=11/10/2009,2.1.0.14
CatalogFile=hppaew13.cat 
; magic keyword {2EF864D9-AB08-4b78-A07D-047477FEC228}

;------------------------------------------------------------------------------
;  Standard INF sections
;------------------------------------------------------------------------------

[Manufacturer]
%MFGNAME%=DeviceList,NTAMD64,NT.6.0,NTAMD64.6.0

[DestinationDirs]
DefaultDestDir=10,System32\Drivers 
CoinstCopyFiles=11                 
x64CoinstCopyFiles=11
VistaCoinstCopyFiles=11
Vista64CoinstCopyFiles=11

[SourceDisksFiles]
hpfxbulk.sys=1
hpfxgen.sys=1
hppcew13.dll=1

hpfx64bulk.sys=1
hpfx64gen.sys=1
hppdew13_x64.dll=1

hppcp613.inf=1
hppdp613.inf=1

[SourceDisksNames]
1=%DiskName%,,,

;XP
[DeviceList]
%DESCR1%=DriverInstall,USB\VID_03f0&PID_5C17&REV_0001&MI_01

;Windows x64
[DeviceList.NTamd64]
%DESCR1%=DriverInstall.NTAMD64,USB\VID_03f0&PID_5C17&REV_0001&MI_01

;Windows Vista
[DeviceList.NT.6.0]
%DESCR1%=DriverInstall.NT.6.0,USB\VID_03f0&PID_5C17&REV_0001&MI_01

;Windows Vista64
[DeviceList.NTAMD64.6.0]
%DESCR1%=DriverInstall.NTAMD64.6.0,USB\VID_03f0&PID_5C17&REV_0001&MI_01

;------------------------------------------------------------------------------
;  Windows 2000, XP, and Server 2003 Sections
;------------------------------------------------------------------------------

[DriverInstall]
CopyFiles=DriverCopyFiles
CopyInf=hppcp613.inf

[DriverCopyFiles]
hpfxbulk.sys,,,2
hpfxgen.sys,,,2

[DriverInstall.Services]
AddService=HPFXBULK,2,DriverService

[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\hpfxbulk.sys
AddReg=DriverService_AddReg

[DriverService_AddReg]
HKR,,FriendlyName,,%FRIENDLYNAME%
HKR,"Parameters","MaximumTransferSize",0x10001,2048
HKR,"Parameters","DebugLevel",0x10001,2

[DriverInstall.CoInstallers]
CopyFiles=CoinstCopyFiles
AddReg=CoinstAddReg

[CoinstCopyFiles]
hppcew13.dll,,,2

[CoinstAddReg]
HKR,,CoInstallers32,0x00010000,"hppcew13.dll,CoSetup"

;------------------------------------------------------------------------------
;  Windows Vista Sections
;------------------------------------------------------------------------------

[DriverInstall.NT.6.0]
CopyFiles=VistaDriverCopyFiles
CopyInf=hppcp613.inf

[VistaDriverCopyFiles]
hpfxbulk.sys,,,2
hpfxgen.sys,,,2

[DriverInstall.NT.6.0.Services]
AddService=HPFXBULK,2,VistaDriverService

[VistaDriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\hpfxbulk.sys
AddReg=VistaDriverService_AddReg

[VistaDriverService_AddReg]
HKR,,FriendlyName,,%FRIENDLYNAME%
HKR,"Parameters","MaximumTransferSize",0x10001,2048
HKR,"Parameters","DebugLevel",0x10001,2

[DriverInstall.NT.6.0.CoInstallers]
CopyFiles=VistaCoinstCopyFiles
AddReg=VistaCoinstAddReg

[VistaCoinstCopyFiles]
hppcew13.dll,,,2

[VistaCoinstAddReg]
HKR,,CoInstallers32,0x00010000,"hppcew13.dll,CoSetup"

;------------------------------------------------------------------------------
;  Windows x64 Sections
;------------------------------------------------------------------------------

[DriverInstall.NTAMD64]
CopyFiles=x64_DriverCopyFiles
CopyInf=hppdp613.inf

[x64_DriverCopyFiles]
hpfx64bulk.sys,,,2
hpfx64gen.sys,,,2

[DriverInstall.NTAMD64.Services]
AddService=HPFXBULK,2,x64DriverService

[x64DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\hpfx64bulk.sys
AddReg=DriverService_AddReg

[DriverInstall.NTAMD64.CoInstallers]
CopyFiles=x64CoinstCopyFiles
AddReg=x64CoinstAddReg

[x64CoinstCopyFiles]
hppdew13_x64.dll,,,2

[x64CoinstAddReg]
HKR,,CoInstallers32,0x00010000,"hppdew13_x64.dll,CoSetup"

;------------------------------------------------------------------------------
;  Windows Vista64 Sections
;------------------------------------------------------------------------------

[DriverInstall.NTAMD64.6.0]
CopyFiles=Vista64_DriverCopyFiles
CopyInf=hppdp613.inf

[Vista64_DriverCopyFiles]
hpfx64bulk.sys,,,2
hpfx64gen.sys,,,2

[DriverInstall.NTAMD64.6.0.Services]
AddService=HPFXBULK,2,Vista64DriverService

[Vista64DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\hpfx64bulk.sys
AddReg=DriverService_AddReg

[DriverInstall.NTAMD64.6.0.CoInstallers]
CopyFiles=Vista64CoinstCopyFiles
AddReg=Vista64CoinstAddReg

[Vista64CoinstCopyFiles]
hppdew13_x64.dll,,,2

[Vista64CoinstAddReg]
HKR,,CoInstallers32,0x00010000,"hppdew13_x64.dll,CoSetup"


[ClassInstall32]
;
; Add the class GUID to SYSTEM\CCS\Control\Class
;
AddReg = HPFXBULK_AddReg

[HPFXBULK_AddReg]
;
; Give the class a descriptive name and an icon
;
HKR,,,,"HP FX Bulk"
HKR,,Icon,,"-20"

[SourceInfo]
; Used by the co-installer to figure out where the original media is located.
OriginalInfSourcePath = %1%

[InstallData]
DataFileName=hppapr13.dat
;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

[Strings]
MFGNAME="Hewlett-Packard"
DiskName="HP Printing Software"
DESCR1="HP EWS P2050 Series"
FRIENDLYNAME="HP USB EWS-FX Bulk Driver"

