Alex Rolley on 03 Nov, 2017 04:33 AM
Thanks for getting in touch!
For your first question, it depends on if you require any feedback from the interactive input. Octopus can't launch the exe natively, however once the package has been extracted you can call the exe via a Powershell script or a batch file. We have seen cases where you have to run the Tentacle process as a user account for this to work correctly. To do this you will need to stop the Tentacle service then launch Tentacle.exe manually (via c:\Program Files\Octopus Deploy\Tentacle\Tentacle.exe).
As for your second question, you were in the right neighbourhood. The variable that you need should be Octopus.Action[_name_].Output.Package.InstallationDirectoryPath, where _name_ needs to be replaced with the name of your deployment step.
I hope that helps, please let me know if you have any other questions,
Alex Rolley on 06 Nov, 2017 02:57 AM
That is correct, especially if you are waiting on that executable to finish before finishing the deployment. If you only need to launch the executable as part of your deployment that is possible using a script step within Octopus, although you may need to modify the user that the Tentacles is running as to allow the executable to launch correctly.