Thanks for getting in touch! This will not be possible as you intend, as setting output variables is a calamari feature. Invoking it from Octopus.Client is not possible. I may have a solution here though.
Is it possible to assess the condition for setting the output variable outside of the application you are installing? If so, I believe the easiest way to achieve this is to use some custom scripting in your step. You can use the custom script to check that the application has executed correctly or done what is needed, then as a result you can create the output variable to be evaluated on the next step as a variable run condition.
on 21 Aug, 2017 12:15 AM
Thanks for the response. I am able to achieve this my exiting my code with error code and in turn skipping the next step. I was trying to see if we can use the Output variables and achieve the same.