Archiv Server-Windows 15.877 Themen, 54.317 Beiträge

Druckertreiberinstallation ohne Wizard?

steppenfuchs / 2 Antworten / Baumansicht Nickles

Hallo allerseits,

ich möchte über eine *.INF-Datei einen Druckertreiber über den Aufruf der "setupapi" in einem eigenen Installer einbinden (d.h. OHNE den Wizard!). Leider habe ich keine Info über die genaue Struktur der *.INF. Hinweise wären super.

Danke im Voraus und auf bald ...
steppenfuchs.

Grossadministrator steppenfuchs „Druckertreiberinstallation ohne Wizard?“
Optionen

Nachfolgend die inf eines HP990. mit ein paar Kommentaren (##...) von mir. Ist wohl nicht ganz trivial.

[Version]
Signature=$Windows 95$ ##einfach
Class="USB hpcpv1" ##sollte man schon wissen
ClassGUID={227CA39C-085B-11d5-873C-0010830182CB} ##auhauahauaha ???
Provider=%sHP% ##einfach
CatalogFile=hpz990b.cat ##einfach
DriverVer=09/19/2001,4.3.0.0 ##läppsch
; deskjet990_infid_9x_200007120052

[Manufacturer]
%sHP%=Hewlett-Packard

[Hewlett-Packard]
%sdeskjet990C.DeviceDesc%=HP_USBPrint,USB\VID_03F0&PID_3304 ##was meinen die damit???

;------------------------------------------------------------------
; Class Installation and Configuration
;------------------------------------------------------------------

[ClassInstall]
AddReg=HP_USBPrint_Install.AddReg ##hä???
CopyFiles=HP_USBPrint_Install.CopyFiles ##Ägypten?

[HP_USBPrint_Install.CopyFiles]
hpzuci02.dll ##wie meinen?

[HP_USBPrint_Install.AddReg]
HKR,,,,%sHP_USBPrint.SvcDesc%
HKR,,Installer,,hpzuci02.dll
HKR,,Icon,,-20

;------------------------------------------------------------------
; Driver Installation and Configuration
;------------------------------------------------------------------

[HP_USBPrint]
AddReg=HP_USBPrint.AddReg,HP_USBPrint_Setup.AddReg
CopyFiles=HP_USBPrint.CopyFiles,HP_USBPrint_Protocol.CopyFiles,HP_USBPrint_User.CopyFiles,HP_USBPrint_Utility.CopyFiles

[HP_USBPrint.AddReg]
HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,hpzusb00.sys
HKR,,HPUsbIrpTimeout,65537,1E,0,0,0

[HP_USBPrint_Setup.AddReg]
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",ExecFile,0,hpzcin05.exe
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",UtilFile,0,hpziou01.dll
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",USBFile,0,hpzusb00.sys
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",IONFile,0,hpzion00.sys
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",PMFile,0,hpzpom04.dll
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",SetupExecFile,0,hpzglu04.exe
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",SetupParameters,0,"-v printerdriver=hp deskjet 990c series -v product=990C"
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",GUID,0,{227CA39C-085B-11d5-873C-0010830182CB}
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",ProductID,0,VID_03F0&PID_3304
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",AltRootPath,0,"Software\Hewlett-Packard\HPZ\Glue"
HKLM,"Software\Hewlett-Packard\HPIO\deskjet 990c",AltRootPathValue,0,PreloadPath

[HP_USBPrint.CopyFiles]
hpzusb00.sys

[HP_USBPrint_Protocol.CopyFiles]
hpzion00.sys

[HP_USBPrint_Utility.CopyFiles]
hpziou01.dll

[HP_USBPrint_User.CopyFiles]
hpzpom04.dll
hpzcin05.exe

;------------------------------------------------------------------
; Device Installation and Configuration
;------------------------------------------------------------------

[HP_USBPrint.HW]
AddReg=HP_USBPrint.AddReg.HW

[HP_USBPrint.AddReg.HW]
HKR,,UpperFilters,0,hpzion00.sys
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters",LogLevel,65537,0
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters",LogToFile,65537,0
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\ConnectionType",Hpzusb00.sys,65537,2
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",EnableSafeMode,65537,0
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",DefaultDataLinkChannel,65537,0
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",PacketizedDataLinkChannel,65537,77
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",ProtocolTimeout,65537,180000
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",DefaultPathChannel,65537,2
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",NondefaultPathChannel,65537,1
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",PollingInterval,65537,500
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",SynchronizeProtocol,65537,02,00,4e,00
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",PingBeforeRead,65537,0
HKLM,"System\CurrentControlSet\Services\Hpzion00\Parameters\StaticDeviceConfig\DeskJet 990C",ProtocolFlags,65537,4

;------------------------------------------------------------------
; Miscellaneous
;------------------------------------------------------------------

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir=11
HP_USBPrint.CopyFiles=10,system32\drivers
HP_USBPrint_Protocol.CopyFiles=10,system32\drivers
HP_USBPrint_Utility.CopyFiles=11,vmm32

[PreCopySection]
HKR,,NoSetupUI,,1

[SourceDisksNames]
1=%sDisk1%,,

[SourceDisksFiles]
hpzusb00.sys=1
hpzion00.sys=1
hpzpom04.dll=1
hpziou01.dll=1
hpzcin05.exe=1
hpzuci02.dll=1

[Strings]
sHP ="Hewlett-Packard"
sdeskjet990C.DeviceDesc ="deskjet 990c"
sHP_USBPrint.SvcDesc ="usb hp color printers v1.0"
sDisk1 ="hp deskjet 990c series disk 1"

GarfTermy steppenfuchs „Druckertreiberinstallation ohne Wizard?“
Optionen

alternativen?

wininstall LE - ist auf jeder w2k server cd enthalten

damit kannst du snapshots vom system vor und nach der treiberinstallation machen. es wird ein msi file generiert - das kannst du auf jedem rechner mit gleichem betriebssystem installieren. ...zb über eine gpo.

spart zumindest ´ne menge kleinarbeit.

;-)