mdes Posted April 14, 2004 Posted April 14, 2004 I install my printer during COMMAND.TXT which is callling a .BAT. the printer is well installed (I can use it to print), but when Windows start, the Printer Installation Wizard is always launched, asking me to install a new printer.My installation batch is:TITLE Installing PrinterREM From https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20040216090320/index_html?pp=1 REM Make sure the ports are created START /WAIT REGEDIT /S %systemdrive%\Install\PrinterHP895Cxi.reg ECHO Restart the spooler serviceNET STOP SPOOLERNET START SPOOLER rem ECHO Remove existing printers with the same name so we don't get copy after copyrem START /WAIT rundll32 printui.dll,PrintUIEntry /dl /n "HP DeskJet 895Cxi" /q ECHO Install HP DeskJet 895CxiSTART /WAIT rundll32 printui.dll,PrintUIEntry /if /b "HP DeskJet 895Cxi" /f "%SystemRoot%\inf\ntprint.inf" /r "USB001" /m "HP DeskJet 895Cxi" /Z REM Define it as defaultSTART /WAIT rundll32 printui.dll,PrintUIEntry /y /n "HP DeskJet 895Cxi" EXITand the file PrinterHP895Cxi.reg is an export of the changed registry values between before/after a successfull installation.Does anybody have an idea where is coming this prolem ? Or how to do not have this wizard launched ?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now