cancel
Showing results for 
Search instead for 
Did you mean: 
Superfreak3
Occasional contributor

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!
Labels (1)
0 Kudos
1 Reply
Superfreak3
Occasional contributor

Re: Kill Setup.exe from a failed Prerequisite...

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?
0 Kudos