/build/static/layout/Breadcrumb_cap_w.png

Installing Device drivers through MSI

Hi I want to install 2 device driver softwares along with my applcation.So i made an MST for the vanilla MSI and added DPinst.exe and these signed drivers through this MST . And added a custom action to execute the above exe in the action:'Execute Program from Installed files' , location after 'InstallServices' and sequence 'Execute defferred'
While installation of the MSI/MST it throws an error : 1722: Program run as part of setup did not finish as expected....

Eventhough the installation happened finely and the driver got installed :)

Is there any Idea to get rid of this error
or a better way to execute my exe in between the installation of MSI/MST?

Bob

0 Comments   [ + ] Show comments

Answers (6)

Posted by: spartacus 12 years ago
Black Belt
0
Following your installation, take a look in the file %windir%\DPInst.log. You may see in the log file that a reboot is needed to finalise the installation of the drivers. Should this be the case, then your custom action may be returning a status that is interpreted as an "error", so the simplest solution would be to alter the custom action to ignore the return status.

For any other reason then, as is often the case, creating a verbose log file of the MSI installation should reveal some clues.

Regards,

Spartacus
Posted by: anonymous_9363 12 years ago
Red Belt
0
In all probability, the install completes because you have set the Custom Action to ignore any error.

Take a verbose log of the install and check the command line being used. It's likely you have a typo in there or are trying to use a property in the CA and have failed to use the special CustomActionData property which you require in deferred CAs.
Posted by: jmcfadyen 12 years ago
5th Degree Black Belt
0
at the top of the message boards is a great post on deployment of device drivers.
Posted by: AngelD 12 years ago
Red Belt
0
Bob,

What kind of device drivers are you trying to install?
Application name may be useful.
Posted by: blogbobb 12 years ago
Senior Yellow Belt
0
Thanks for all the updates given.As Jmmadyen told I just gone through the post above and I got more insight on this and followed almost same in my MST.Thanks a Lot again

BTW AngelD, I was trying to add 2 PnP drivers using my MST.

Bob
Posted by: AngelD 12 years ago
Red Belt
0
Bob,

Did you take a look at the DPInst.log?
What does your DPInst custom action look like?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

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

Sign up! or login

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