In our deployment process we use thrid party software to control mobile devices.
This software does not have an API or something.
So we have a tentacle, where this software is installed.
What we do is, we open the software with a specific file and press F7.
This can be scripted with powershell and the use of WASP.
When we import our powershell script into Octopus, it fails.
Reason being, a windows service (Tentacle.exe) does not have a context to open windows, so it cannot send F7 to the window.
When we stop the tentacle service and run Tentacle.exe from the command line, it works.
Is their a way to let a windows service open windows?
The powershell script is attached.
The tentacle also runs under a corperate account and not the default network service.
OpenApplication.ps1 (495 Bytes)