Hello,

I have a request to have an MSI exit without error if certain launch conditions are not met. I am told that the reason for this is that it will hang machines when deployed by GPO (per machine install) This has not been fully tested.

The qn switch will not work for this deployment.

Is there a way to have the MSI install fail and quietly exit?
Do I have to create a custom action? Any leads on a custom action for such a thing?

Help!

tia
Stuntman
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
stuntman, if you have /qn it will silently fail. If it is done with UI it'll pop a message when you terminate. I don't think you can have something in full UI that'll fail silently. Is that what you're asking?
Answered 06/27/2007 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
Yes, I want the MSI to fail silently with the /qr switch (reduced UI).

Even if msiexec.exe is not specifically designed to fail installs silently; I suspect that there is a creative way to do this through a CustomAction.

Stuntman
Answered 06/27/2007 by: Stuntman
Senior Yellow Belt

Please log in to comment
0
Hi Stuntman,
a machine GPO install does silently fail, if it is authored well. However, you will of course get entries to the event log and the MSI log file (if turned on).
And you really should log the failing install (the log goes to the 'windows\temp' directory.
Things like this are often caused by poorly designed custom actions or missing rollback CA's.
Please log the beast, search for the breaking sequence and post the lines above it here on the board.
Regards, Nick
Answered 06/28/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
type 19 custom action will terminate an install
Answered 06/28/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
thanks guys. The package was Crystal Reports XI. The package is still not perfect but it it useable for basic deployment. I'm working on it.

stuntman
Answered 06/30/2007 by: Stuntman
Senior Yellow Belt

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