MSI exit code always 0

Got a problem you cannot solve? Try here.
SimonTheNerd
Posts: 8
Joined: Mon Jul 08, 2013 7:42 am

MSI exit code always 0

Postby SimonTheNerd » Tue Apr 01, 2014 7:09 am

Hi Support,

I had a look through your forums and found the thread below. Was this guys question ever answered/the feature he asked for implemented? I wasn't sure if it was correct etiquette to bump the posts or create a new one, so apologies if this is incorrect.

http://www.installaware.com/forum/viewtopic.php?f=2&t=9401&start=0

Long story short, I received a message from one of the guys from our deployment team asking if the MSI exit code will return a real error code?

"I found that when SCCM starts installation using command line “msiexec.exe /i appname.msi /qn” MSI installer finishes after a couple of seconds with exit code 0. But in fact installation is not completed and other installation processes are still running in background.

This will cause some problems with monitoring distribution because SCCM returns exit code provided by MSI installer which will be probably always 0 (success) even if installation fails.

Could you please check if it’s possible to fix so msiexec returns real exit/error code?"



Thanks again for your time, I wasn't sure where to look for this one.

SimonTheNerd

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: MSI exit code always 0

Postby FrancescoT » Tue Apr 01, 2014 11:56 am

Dear Simon,

The link you reported it is related to a different question.

unfortunately, (...instead) what your reported is a know issue and currently, it doesn't exist a possible workaround to use in your case.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

SimonTheNerd
Posts: 8
Joined: Mon Jul 08, 2013 7:42 am

Re: MSI exit code always 0

Postby SimonTheNerd » Wed Apr 02, 2014 3:16 am

Okay, well thanks for letting us know.

SimonTheNerd

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: MSI exit code always 0

Postby FrancescoT » Wed Apr 02, 2014 10:49 am

:D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 87 guests