/build/static/layout/Breadcrumb_cap_w.png

DPINST silent install

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

Answers (4)

Posted by: jagadeish 10 years ago
Red Belt
1
Was this not working? It is posted by you
http://www.itninja.com/blog/view/dpinst-exe-silent-install-drivers

Posted by: dj_xest 10 years ago
5th Degree Black Belt
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 -?.

Comments:
  • I will try this to, thank you for reply - EmanuelPopescu 10 years ago
Posted by: rileyz 10 years ago
Red Belt
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.

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
Posted by: anonymous_89149 10 years ago
Yellow Belt
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=

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


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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ