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
- :
- Kill Setup.exe from a failed Prerequisite...
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
Jul 14, 2016
12:19 PM
Kill Setup.exe from a failed Prerequisite...
Hi there,
I have a little widget.exe that launches a windows forms app to check if a third party service is running. If so, the user is given the chance to stop the service. If they choose to not stop the service, I would like to return something from my .exe (c#) that would cause the bootstrap Setup.exe to close/stop/fail.
If the user chooses no, Environment.Exit(9).
I see in the Prerequisites setup that return codes for reboots are handled, but I don't see anything for handling failures or other error codes.
Hope this is possible!
I have a little widget.exe that launches a windows forms app to check if a third party service is running. If so, the user is given the chance to stop the service. If they choose to not stop the service, I would like to return something from my .exe (c#) that would cause the bootstrap Setup.exe to close/stop/fail.
If the user chooses no, Environment.Exit(9).
I see in the Prerequisites setup that return codes for reboots are handled, but I don't see anything for handling failures or other error codes.
Hope this is possible!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 14, 2016
01:14 PM
I may have worked around this a bit so I don't need to pass up an exit code.
Does anyone know how to pass the language selected for Setup.exe to a prerequisite?
Does anyone know how to pass the language selected for Setup.exe to a prerequisite?