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

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
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
Answered 05/29/2008 by: spartacus
Black Belt

Please log in to comment
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.
Answered 05/29/2008 by: VBScab
Red Belt

Please log in to comment
0
at the top of the message boards is a great post on deployment of device drivers.
Answered 05/29/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
Bob,

What kind of device drivers are you trying to install?
Application name may be useful.
Answered 05/30/2008 by: AngelD
Red Belt

Please log in to comment
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
Answered 06/05/2008 by: blogbobb
Senior Yellow Belt

Please log in to comment
0
Bob,

Did you take a look at the DPInst.log?
What does your DPInst custom action look like?
Answered 06/05/2008 by: AngelD
Red Belt

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