Hello, does anyone now how to perform a silent install of a USB drive using dpinst64.exe? I've tried all the possible combination of switches but with no success...

P.S. I'm trying to install uTransfer Handscanner
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
Was this not working? It is posted by you
http://www.itninja.com/blog/view/dpinst-exe-silent-install-drivers

Answered 09/14/2014 by: jagadeish
Red Belt

Please log in to comment

Answers

0
Just download the USB driver from the vendor and run it and it will install automatically for you. If you want it to be completely silent, you have to extract the files and play around with it

Try this: dpinst64.exe -?.
Answered 09/02/2014 by: dj_xest
Fifth Degree Black Belt

Please log in to comment
0
First question:
Are the drivers signed?
This is very important because if they are not, they will not be imported - you shouldn't use unsigned drivers anyway.

Have you run DPINST manually with the drivers to see if the import works correctly - then plugged in the USB device?

Thats all I have to offer with the information you have provided.

`R.
Answered 09/02/2014 by: rileyz
Red Belt

  • 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
Please log in to comment
0

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=

.....................................................................................................................................................

Answered 09/02/2014 by: Utterly
Yellow Belt

  • 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
Please log in to comment
Answer this question or Comment on this question for clarity