; Copyright Hewlett-Packard 2005
; Installation file for HPFXBULK Driver
;
; Magic Keyword for scrubber
; {CA8734B2-3056-4335-8499-A824524C9F72}
;

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%MFGNAME%
DriverVer=11/05/2009,1.0.0.15
CatalogFile=hppaew08.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
hppcew08.dll=1

hpfx64bulk.sys=1
hpfx64gen.sys=1
hppdew08_x64.dll=1

hppcp608.inf=1
hppdp608.inf=1
hppasc08.inf=1
hppcps08.inf=1
hppdps08.inf=1
hppafx08.inf=1

[SourceDisksNames]
1=%DiskName%,,,

[DeviceList]
%DESCR1%=DriverInstall,USB\VID_03f0&PID_4517&rev_0100&mi_02
%DESCR3%=DriverInstall,USB\VID_03f0&PID_4C17&rev_0100&mi_02

;WinAMD64
[DeviceList.NTamd64]
%DESCR1%=x64DriverInstall,USB\VID_03f0&PID_4517&rev_0100&mi_02
%DESCR3%=x64DriverInstall,USB\VID_03f0&PID_4C17&rev_0100&mi_02

;Windows Vista
[DeviceList.NT.6.0]
%DESCR1%=DriverInstall.NT.6.0,USB\VID_03f0&PID_4517&rev_0100&mi_02
%DESCR3%=DriverInstall.NT.6.0,USB\VID_03f0&PID_4C17&rev_0100&mi_02

;Windows Vista64
[DeviceList.NTAMD64.6.0]
%DESCR1%=DriverInstall.NTAMD64.6.0,USB\VID_03f0&PID_4517&rev_0100&mi_02
%DESCR3%=DriverInstall.NTAMD64.6.0,USB\VID_03f0&PID_4C17&rev_0100&mi_02

;------------------------------------------------------------------------------
;  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]
hppcew08.dll,,,2

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

;------------------------------------------------------------------------------
;  Windows Vista Section
;------------------------------------------------------------------------------

[DriverInstall.NT.6.0]
CopyFiles=VistaDriverCopyFiles
CopyInf=hppcp608.inf,hppasc08.inf,hppcps08.inf,hppafx08.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]
hppcew08.dll,,,2

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

;------------------------------------------------------------------------------
;  Windows extended (amd) 64 Sections
;------------------------------------------------------------------------------

[x64DriverInstall.NTamd64]
CopyFiles=x64_DriverCopyFiles

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

[x64DriverInstall.NTamd64.Services]
AddService=HPFXBULK,2,x64DriverService

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

; same as nt section below
; [DriverService_AddReg]
; HKR,,FriendlyName,,%FRIENDLYNAME%
; HKR,"Parameters","MaximumTransferSize",0x10001,2048
; HKR,"Parameters","DebugLevel",0x10001,2

[x64DriverInstall.NTamd64.CoInstallers]
CopyFiles=x64CoinstCopyFiles
AddReg=x64CoinstAddReg

[x64CoinstCopyFiles]
hppdew08_x64.dll,,,2

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

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

[DriverInstall.NTAMD64.6.0]
CopyFiles=Vista64_DriverCopyFiles
CopyInf=hppdp608.inf,hppasc08.inf,hppdps08.inf,hppafx08.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

; same as nt section below
; [DriverService_AddReg]
; HKR,,FriendlyName,,%FRIENDLYNAME%
; HKR,"Parameters","MaximumTransferSize",0x10001,2048
; HKR,"Parameters","DebugLevel",0x10001,2

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

[Vista64CoinstCopyFiles]
hppdew08_x64.dll,,,2

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

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

