- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
