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

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%MFGNAME%
DriverVer=01/01/2008,1.0.0.12
CatalogFile=hppaew04.cat 

;------------------------------------------------------------------------------
;  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
hppcew04.dll=1

hpfx64bulk.sys=1
hpfx64gen.sys=1
hppdew04_x64.dll=1
hppcp504.inf=1
hppdp504.inf=1

[SourceDisksNames]
1=%DiskName%,,,

[DeviceList]
%DESCR1%=DriverInstall,USB\VID_03f0&PID_3817&rev_0100&mi_01

;Windows x64
[DeviceList.NTamd64]
%DESCR1%=DriverInstall.NTAMD64,USB\VID_03f0&PID_3817&rev_0100&mi_01

;Windows Vista
[DeviceList.NT.6.0]
%DESCR1%=DriverInstall.NT.6.0,USB\VID_03f0&PID_3817&rev_0100&mi_01

;Windows Vista64
[DeviceList.NTAMD64.6.0]
%DESCR1%=DriverInstall.NTAMD64.6.0,USB\VID_03f0&PID_3817&rev_0100&mi_01

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

[DriverInstall]
CopyFiles=DriverCopyFiles

[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]
hppcew04.dll,,,2

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

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

[DriverInstall.NT.6.0]
CopyFiles=VistaDriverCopyFiles
CopyInf=hppcp504.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]
hppcew04.dll,,,2

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

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

[DriverInstall.NTAMD64]
CopyFiles=x64_DriverCopyFiles

[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]
hppdew04_x64.dll,,,2

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

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

[DriverInstall.NTAMD64.6.0]
CopyFiles=Vista64_DriverCopyFiles
CopyInf=hppdp504.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]
hppdew04_x64.dll,,,2

[Vista64CoinstAddReg]
HKR,,CoInstallers32,0x00010000,"hppdew04_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=hppapr04.dat
;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

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