; AGMCRDRV.INF  -- Windows Setup File for the M1005 (Windows NT5 Series)
; Manufacturer:  Hewlett-Packard
; Copyright (c) 2006 Hewlett-Packard

[Version]
Signature="$Chicago$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
DriverVer=11/08/2005,5.18.2006.1
CatalogFile=agmcrdrv.cat
CatalogFile.NTx86=agmcrdrv.cat

[DestinationDirs]
; By default, files will be copied to \windows\system32.
DefaultDestDir              = 11
M1005_TWAIN.CopyFiles      = 10,"twain_32\agtwain"


[Manufacturer]
%Mfg%=Models, NTx86.5.1, NTx86.5.2

[Models]
%M1005.DeviceDesc%=M1005Install.NTx86,USB\VID_03F0&PID_3B17&MI_00

[Models.NTx86.5.1]
%M1005.DeviceDesc%=M1005Install_XP,USB\VID_03F0&PID_3B17&MI_00

[Models.NTx86.5.2]
%M1005.DeviceDesc%=M1005Install_2k3,USB\VID_03F0&PID_3B17&MI_00

[M1005Install]
Include=sti.inf
Needs=STI.USBSection, STI.MICRODRIVERSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0
Capabilities=0x30
Events=M1005.Events
DeviceData=M1005_WIA.DeviceData
AddReg=M1005_WIA.AddReg
CopyFiles=M1005.CopyFiles, M1005_TWAIN.CopyFiles, M1005_TWAINSupport.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
PortSelect="no"


[M1005Install.NTx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0
Capabilities=0x30
Events=M1005.Events
DeviceData=M1005_STI.DeviceData
AddReg=M1005_STI.AddReg
CopyFiles=M1005_TWAIN.CopyFiles, M1005_TWAINSupport.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
PortSelect="no"


[M1005Install_XP]
Include=sti.inf
Needs=STI.USBSection, STI.MICRODRIVERSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0
Capabilities=0x30
Events=M1005.Events
DeviceData=M1005_WIA.DeviceData
AddReg=M1005_WIA.AddReg
CopyFiles=M1005.CopyFiles, M1005_TWAIN.CopyFiles, M1005_TWAINSupport.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
PortSelect="no"

[M1005Install_2k3]
Include=sti.inf
Needs=STI.USBSection, STI.MICRODRIVERSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0
Capabilities=0x30
Events=M1005.Events
DeviceData=M1005_WIA.DeviceData
AddReg=M1005_WIA.AddReg
CopyFiles=M1005.CopyFiles, M1005_TWAIN.CopyFiles, M1005_TWAINSupport.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
PortSelect="no"

[M1005.Events]

[M1005Install.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[M1005Install.NTx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[M1005Install_XP.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[M1005Install_2k3.Services]
Include=sti.inf
Needs=STI.USBSection.Services
AddService=stisvc,,ClassInstall32.Service.stisvc

[ClassInstall32.Service.stisvc]
DisplayName=%WIA.SvcDisplayName%
Description=%WIA.SvcDesc%
ServiceType=0x00000020  ; This is SERVICE_WIN32_SHARE_PROCESS
StartType=0x00000003    ; This is SERVICE_AUTOMATIC
ErrorControl=0x00000001 ; This is SERVICE_ERROR_NORMAL
StartName="NT AUTHORITY\LocalService"
Dependencies=RpcSs, ShellHWDetection
ServiceBinary=%11%\svchost.exe -k imgsvc
AddReg = WiaSvc.AddReg

[WiaSvc.AddReg]
HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\wiaservc.dll"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost",imgsvc,0x00010000,"StiSvc"

[M1005_STI.DeviceData]
TwainDS="HP LaserJet M1005 MFP TWAIN"
InstallCLSID={9EE79F3E-707C-4280-8C22-00FEB9701E80}

[M1005_WIA.DeviceData]
TwainDS="HP LaserJet M1005 MFP TWAIN"
InstallCLSID={9EE79F3E-707C-4280-8C22-00FEB9701E80}
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
MicroDriver="AGMCRDRV.DLL"
Resolutions="75, 100, 150, 200, 300, 600, 1200"


[M1005_STI.AddReg]
HKR,,HardwareConfig,1,4
HKR,,CreateFileName,,AUTO       ; Added
HKR,,DevLoader,,*NTKERN         ; Added
HKR,,NTMPDriver,,"usbscan.sys"  ; Added
HKR,,USDClass,,"{BB6CF8E2-1511-40bd-91BA-80D43C53064E}" ; Added


[M1005_WIA.AddReg]
HKR,,HardwareConfig,1,4
HKR,,CreateFileName,,AUTO       ; Added
HKR,,DevLoader,,*NTKERN         ; Added
HKR,,NTMPDriver,,"usbscan.sys"  ; Added
HKR,,USDClass,,"{BB6CF8E2-1511-40bd-91BA-80D43C53064E}" ; Added
HKCR,CLSID\{BB6CF8E2-1511-40bd-91BA-80D43C53064E},,,"Hewlett-Packard USB WIA Microdriver"


[M1005.CopyFiles]
agmcrdrv.dll

[M1005_TWAIN.CopyFiles]
agtwain.ds

[M1005_TWAINSupport.CopyFiles]
LTCON13n.dll
LTDIS13n.dll
ltefx13n.dll
ltfil13n.dll
ltimg13n.dll
ltkrn13n.dll
Ltwvc13n.dll
lfcmp13n.dll
ltclr13n.dll
lteml13n.dll
ltrtn13n.dll
ltwnd13n.dll
lfpng13n.dll
ltpnt13n.dll
lfbmp13n.dll
lfiff13n.dll
lfjbg13n.dll
lftif13n.dll
ltcry13n.dll
ltdlg13n.dll
ltpdg13n.dll
lttw213n.dll
ltwen13n.dll


[SourceDisksNames]
1=%Location%,,,

[SourceDisksFiles]
agmcrdrv.dll    = 1,%LANGDIR%\Driver
agtwain.ds      = 1,%LANGDIR%\Driver
LTCON13n.dll    = 1,%LANGDIR%\Driver
LTDIS13n.dll    = 1,%LANGDIR%\Driver
ltefx13n.dll    = 1,%LANGDIR%\Driver
ltfil13n.dll    = 1,%LANGDIR%\Driver
ltimg13n.dll    = 1,%LANGDIR%\Driver
ltkrn13n.dll    = 1,%LANGDIR%\Driver
Ltwvc13n.dll    = 1,%LANGDIR%\Driver
ltclr13n.dll    = 1,%LANGDIR%\Driver
lteml13n.dll    = 1,%LANGDIR%\Driver
ltrtn13n.dll    = 1,%LANGDIR%\Driver
ltwnd13n.dll    = 1,%LANGDIR%\Driver
lfpng13n.dll    = 1,%LANGDIR%\Driver
ltpnt13n.dll    = 1,%LANGDIR%\Driver
lfiff13n.dll    = 1,%LANGDIR%\Driver
lfbmp13n.dll    = 1,%LANGDIR%\Driver
lfjbg13n.dll    = 1,%LANGDIR%\Driver
lftif13n.dll    = 1,%LANGDIR%\Driver
ltcry13n.dll    = 1,%LANGDIR%\Driver
ltdlg13n.dll    = 1,%LANGDIR%\Driver
ltpdg13n.dll    = 1,%LANGDIR%\Driver
lttw213n.dll    = 1,%LANGDIR%\Driver
ltwen13n.dll    = 1,%LANGDIR%\Driver
lfcmp13n.dll    = 1,%LANGDIR%\Driver


;-------------------------------------------------------------------------
; Localizable Strings
;-------------------------------------------------------------------------

[Strings]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "English"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; English

[Strings.0009]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "English"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Czech		 
			  
[Strings.0005]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Czech"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Danish

[Strings.0006]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Dansk"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; German

[Strings.0007]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Deutsch"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."
			  
; Spanish

[Strings.000a]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Espanol"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."
		  
; French

[Strings.000c]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Francais"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Italian

[Strings.0010]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Italiano"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Korean

[Strings.0012]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Korean"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Hungarian

[Strings.000e]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Magyar"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Dutch

[Strings.0013]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Nederlands"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Norwegian

[Strings.0014]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Norsk"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Polish

[Strings.0015]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Polski"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Portuguese

[Strings.0016]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Portuguese"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Russian

[Strings.0019]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Russian"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Chinese (Simplified)

[Strings.0804]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "SChinese"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

[Strings.1004]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "SChinese"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Finnish

[Strings.000b]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Suomi"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Swedish

[Strings.001d]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Svenska"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Chinese (Traditional)

[Strings.0404]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "TChinese"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

[Strings.0c04]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "TChinese"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

[Strings.1404]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "TChinese"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."

; Thai

[Strings.001e]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Thai"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."
 
; Turkish

[Strings.041f]
Msft    ="Hewlett-Packard"
Mfg     ="Hewlett-Packard"
Location="Install Source"
M1005.DeviceDesc="HP LaserJet M1005 MFP"
LANGDIR     = "Turkce"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."
