DPINST silent install
Answers (4)
Try this: dpinst64.exe -?.
Comments:
-
I will try this to, thank you for reply - EmanuelPopescu 10 years ago
Comments:
-
1 yes, the drivers are signed. the cat files are there.
2 yes I've tried to install them manually with dpinst with UI and it worked ok but when I apply /q or /s to make the install silent, nothing. Maybe the combinations that I made with the switches are not ok, I don't know exactly - EmanuelPopescu 10 years ago
Following is a script that worked for us. It was assigned via SCCM and would run whether or not the user was logged on. It was deployed to Win7(x64) computers. The driver files were extracted from a vendor supplied .zip file into a folder called drivers that is inside the folder containing this script and dpinst.exe.
We were not using dpinst64.exe perhaps try your install using the 32bit DPInst.exe instead?
..................................................................................................................................................................
@echo off
:: Install Kyocera TASKalfa 520i KX
:Prep
setlocal
REM User friendly Print Queue name
Set QuName="My Printer"
REM Port Name Network = \\servername\queue or local =USB001, USB002, LPT1, etc
set PortName="\\km4c665b\lp1"
Set DriverName="Kyocera TASKalfa 520i KX"
:: install drivers (works on any .inf file in the drivers folder)
drivers\DPInst.exe /Q /SE /SA /c
:: Create/Add printer queue
rundll32 printui.dll,PrintUIEntry /if /b %QuName% /u /r %PortName% /m %DriverName%
:eof
Set DvrName=
set PortName=
Set QuName=
.....................................................................................................................................................
Comments:
-
It does not work:(. The drivers are signed but it seems that they are not recognized and that is the problem with the silent install. I will try to install the silent with autoit - EmanuelPopescu 10 years ago