;Hewlett-Packard LaserJet combined fax driver INF file for Windows 2000 and XP
;Copyright Hewlett-Packard 2006
;
; 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.6
CatalogFile.NT=hppafx08.cat

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

[DestinationDirs]
; By default, files will be copied to \windows\system.
DefaultDestDir=10,System32\Drivers
CoinstCopyFiles=11
x64CoinstCopyFiles=11
VistaCoinstCopyFiles=11
Vista64CoinstCopyFiles=11
FXFAXCHANNEL=11
FXFAXCHANNEL_on_64=16425

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

[SourceDisksFiles]
hpfxfax.sys=1
hpfxgen.sys=1
hppafx08.dll=1

hpfx64fax.sys=1
hpfx64gen.sys=1
hppafx08_x64.dll=1

fxfaxchannel.dll=1

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

[SourceDisksNames]
1=%DiskName%,,,

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

;WinXP
[DeviceList.NTx86.5.1]
%DESCR1%=DriverInstall,USB\VID_03f0&PID_4517&rev_0100&mi_03
%DESCR2%=DriverInstall,USB\VID_03f0&PID_4C17&rev_0100&mi_03

;Win2K
[DeviceList]
%DESCR1%=DriverInstall,USB\VID_03f0&PID_4517&rev_0100&mi_03
%DESCR2%=DriverInstall,USB\VID_03f0&PID_4C17&rev_0100&mi_03

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

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

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

[DriverInstall]
CopyFiles=DriverCopyFiles,FXFAXCHANNEL

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

[FXFAXCHANNEL]
fxfaxchannel.dll,,,0x00000020

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

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

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

[DriverInstall.CoInstallers]
CopyFiles=CoinstCopyFiles
AddReg=CoinstAddReg

[CoinstCopyFiles]
hppafx08.dll,,,2

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

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

[DriverInstall.NT.6.0]
CopyFiles=VistaDriverCopyFiles,FXFAXCHANNEL
CopyInf=hppcp608.inf,hppaew08.inf,hppasc08.inf,hppcps08.inf

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

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

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

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

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

[VistaCoinstCopyFiles]
hppafx08.dll,,,2

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

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

[FXFAXCHANNEL_on_64]
fxfaxchannel.dll,,,0x00000020

[x64DriverInstall]
CopyFiles=x64_DriverCopyFiles,FXFAXCHANNEL_on_64

[x64_DriverCopyFiles]

hpfx64fax.sys,,,2
hpfx64gen.sys,,,2

[x64DriverInstall.Services]
AddService=HPFXFAX,2,x64DriverService

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

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

[x64DriverInstall.CoInstallers]
CopyFiles=x64CoinstCopyFiles
AddReg=x64CoinstAddReg

[x64CoinstCopyFiles]
hppafx08_x64.dll,,,2

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

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

[DriverInstall.NTAMD64.6.0]
CopyFiles=Vista64_DriverCopyFiles,FXFAXCHANNEL_on_64
CopyInf=hppdp608.inf,hppaew08.inf,hppasc08.inf,hppdps08.inf

[Vista64_DriverCopyFiles]

hpfx64fax.sys,,,2
hpfx64gen.sys,,,2

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

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

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

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

[Vista64CoinstCopyFiles]
hppafx08_x64.dll,,,2

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



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

[HPFXFAX_AddReg]
;
; Give the class a descriptive name and an icon
;
HKR,,,,"HP PLS Fax"
HKR,,Icon,,"-20"
; HKR,,Exclusive,0x10001,1

[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 LaserJet M1522n MFP Fax"
DESCR2="HP LaserJet M1522nf MFP Fax"
FRIENDLYNAME="HP USB Fax Driver"

