This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Get exit code from Custom Action which Invokes an Installation.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2015
08:25 AM
Get exit code from Custom Action which Invokes an Installation.
Hi
I would like to get exit code from an .exe based installation which is invoked from custom action.
Return processing : Asysnc ( No wait for completion )
In script execution : Deferred Execution in System Context.
Can somebody give example how to get the exit code. I have seen a lot of documentation on internet / forums but no clear example.
Thanks in advance
Amarjeet
I would like to get exit code from an .exe based installation which is invoked from custom action.
Return processing : Asysnc ( No wait for completion )
In script execution : Deferred Execution in System Context.
Can somebody give example how to get the exit code. I have seen a lot of documentation on internet / forums but no clear example.
Thanks in advance
Amarjeet
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2015
08:30 AM
Windows Installer doesn't support this. WiX QuietExecuteCA doesn't either. The only way I know how to do it is to write a custom action to act as an EXE wrapper to wait for the EXE to finish and get the exit code.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2015
08:32 AM
Hi Christopher,
Thanks for lightening update.
I am eager to know about this. Can you please explain in detail.
Amarjeet
Thanks for lightening update.
I am eager to know about this. Can you please explain in detail.
Amarjeet
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2015
05:42 AM
InstallScript LaunchApplication can get you the return code of the launched application in case of it's failure.
Refer to: Return Values section in the link
Refer to: Return Values section in the link