Get exitcode for executable launched from a custom action in Installshield

I am working on an install shield basic msi project. Its patch package which gets installed over main product. I have created a custom action which installs .NET framework 4.5.2 on client machine. I would like to get exit code from this installation which I can use for further processing.

My custom action details are as seen below :

Screenshot of custom action
GrahamPemberyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vadim RappCommented:
See article "Custom Action Return Processing Options" at MSDN.

That said:

1. things like .Net framework should be installed as prerequisites, that's what prerequisites are for.

2. They should be installed before the main installation, if the product depends on them.

3. In fact, they better not be installed by the installation at all, which is what Microsoft is doing with their own products: if framework is required but not found, the user sees error message with instructions on how to obtain it. The main reason is that this allows to download the latest current version of the framework at the time, without the need to redistribute the main installation.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GrahamPemberyAuthor Commented:
Closing this thread
0
GrahamPemberyAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for GrahamPembery's comment #a41601671

for the following reason:

Outdated
0
Vadim RappCommented:
The question was fully answered. Accept ID: 40765333.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.