/build/static/layout/Breadcrumb_cap_w.png

Dpinst failing to instal INf file

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

Answers (17)

Posted by: anonymous_9363 14 years ago
Red Belt
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.
Posted by: sumarchana 14 years ago
Orange Senior Belt
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..
Posted by: captain_planet 14 years ago
Black Belt
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.
Posted by: sumarchana 14 years ago
Orange Senior Belt
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).
Posted by: sumarchana 14 years ago
Orange Senior Belt
0
Yup, I have taken care of all these....
Posted by: Yaduveer 14 years ago
Orange Senior Belt
0
Previously, in one of my application, I used dpinst.exe /F /SW /LM. It worked for me.
Posted by: cygan 14 years ago
Fifth Degree Brown Belt
0
remember dpinst will need to exist in the same folder as your inf file
Posted by: cygan 14 years ago
Fifth Degree Brown Belt
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
Posted by: mekaywe 14 years ago
Brown Belt
0
Why dont you try to make the installation silent and wrap it..if possbile[;)]
Posted by: anonymous_9363 14 years ago
Red Belt
0
Why dont you try to make the installation silent and wrap it..if possbile[;)]See post #1.

For 'Recursion', refer to section: Recursion.
Posted by: mekaywe 14 years ago
Brown Belt
0
I mean silent switch for setup.exe

Im not reffering to Dpinst here
Posted by: PackageExpert 14 years ago
Blue Belt
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
Posted by: sumarchana 14 years ago
Orange Senior Belt
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....
Posted by: anonymous_9363 14 years ago
Red Belt
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?
Posted by: sumarchana 14 years ago
Orange Senior Belt
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.
Posted by: AngelD 14 years ago
Red Belt
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.
Posted by: sumarchana 14 years ago
Orange Senior Belt
0
Says Digital Signature OK.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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