Hi guys,

Though I have used dpinst.exe before to install driver files this time i am not able to..
DpInst doesn't seem to support silent switches. (/s or /q). When i run the wizard it takes a while to compile into pnf and will install the files. If i use Custom action to run dpinst with /lm /s switch it just installs the MSI but not INF file.

I have placed dpinst along with CAT file and INF file.

PS: Its a pdiport device driver.As per the cat file it is digitally signed by Portrait dispalys, Inc.

Can anyone help me out please?

Thanks,
Ash
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
http://msdn.microsoft.com/en-us/library/ms790806.aspx

I suspect that if you pass an invalid argument/switch DPInst will exit without executing.
Answered 11/04/2009 by: VBScab
Red Belt

Please log in to comment
0
I am able to install manually with DPInst /lm /s. I have set the same switches in the MSI. So not sure of the issue here..
Answered 11/04/2009 by: sumarchana
Orange Senior Belt

Please log in to comment
0
...check the sequencing of your CA - make sure it's sequenced as deffered in a system context, somewhere after InstallFiles and before InstallFinalize.

it just installs the MSI but not INF file - and if your MSI doesn't install your INF file in the first place, you need to start looking at your component/feature states etc as opposed to DPInst for now, because that file needs to be on the system before DPInst runs. You also need to check every other file used by the INF (SourceDisksFiles section in the INF file, the CAT etc) exists on the system too.
Answered 11/04/2009 by: captain_planet
Second Degree Brown Belt

Please log in to comment
0
To add some more, Application is called Colormunki, this is actually a setup.exe and at the end of the installation it extracts some exe along with the other files to tmp folder installs drivers and deletes quickly from there.(Also the certification related folders ). It is calling internally some of the exe's to install services too. (Kernel+win32).
Answered 11/04/2009 by: sumarchana
Orange Senior Belt

Please log in to comment
0
Yup, I have taken care of all these....
Answered 11/04/2009 by: sumarchana
Orange Senior Belt

Please log in to comment
0
Previously, in one of my application, I used dpinst.exe /F /SW /LM. It worked for me.
Answered 11/04/2009 by: Yaduveer
Orange Senior Belt

Please log in to comment
0
remember dpinst will need to exist in the same folder as your inf file
Answered 11/04/2009 by: cygan
Fifth Degree Brown Belt

Please log in to comment
0
ORIGINAL: Yaduveer

Previously, in one of my application, I used dpinst.exe /F /SW /LM. It worked for me.




used same command when I used dpinst and I did not have any problems
Answered 11/04/2009 by: cygan
Fifth Degree Brown Belt

Please log in to comment
0
Why dont you try to make the installation silent and wrap it..if possbile[;)]
Answered 11/05/2009 by: mekaywe
Brown Belt

Please log in to comment
0
Why dont you try to make the installation silent and wrap it..if possbile[;)]See post #1.

For 'Recursion', refer to section: Recursion.
Answered 11/05/2009 by: VBScab
Red Belt

Please log in to comment
0
I mean silent switch for setup.exe

Im not reffering to Dpinst here
Answered 11/05/2009 by: mekaywe
Brown Belt

Please log in to comment
0
If you're using InstallShield, you may use their Device Driver function and I'm sure they have if in Wise too.

And if you don't get the above you can create it yourself in your MSI something called DIFxApp

http://msdn.microsoft.com/en-us/library/ms790264.aspx

Using these eliminates the use of Custom Actions
Answered 11/10/2009 by: PackageExpert
Blue Belt

Please log in to comment
0
Sorry guys i had taken a while to reply back to the posts.

Though i was successful in installing drivers with DPInst i still have issues :-(
I have got the hardware with me now and when i coonect the device its still not finding drivers and coming up with new hardware found wizard. I can see the PNF's compiled in INf folder. When i see the device mgr i can still see the yellow warning.

Can anyone let me know if we still need to search for registry keys if missing? I m not sure of what am i missing here. I thought the DPinst would take care of the drivers and the related stuffs.
Please let me know your comments....
Answered 11/17/2009 by: sumarchana
Orange Senior Belt

Please log in to comment
0
DIFxApp is a relatively simple wrapper for DPInst.

Suma, you say " i was successful in installing drivers with DPInst" but you clearly weren't if you're still getting the prompt! :)

- Is the driver signed?
- Did the driver file actually get copied?
Answered 11/17/2009 by: VBScab
Red Belt

Please log in to comment
0
Can you please let me know how to conclude if the drivers are signed or unsigned?
Driver file you mean the .sys file? It is not getting copied to driver folder under system32. Basically i have 2 INF's. One is getting copied where the other is not.
Answered 11/17/2009 by: sumarchana
Orange Senior Belt

Please log in to comment
0
ORIGINAL: sumarchana
Can you please let me know how to conclude if the drivers are signed or unsigned?

Check the properties for the .CAT file.
Answered 11/17/2009 by: AngelD
Red Belt

Please log in to comment
0
Says Digital Signature OK.
Answered 11/18/2009 by: sumarchana
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity