What I need is a way to launch a remote application and nothing more. I have an automated test run that functions fine remotely, but I need to launch the application as part of the deployment process rather than the test process. PSExec launches the application, but it maintains its connection to the process and never releases. This will cause my deployment to time out and then the test run fails due to the deployment failure. I created a second script to kill the PSExec process, but it never runs since the first script never finishes. When I manually use these two scripts I can make the entire Build-Deploy-Test process function with my intervention, but I cannot get them to function as part of the deployment process itself.
In addition to this problem, I have an issue with the credits, version info and copyright info being seen as invalid commands when the deployment process initiates the script and this is causing the deployment process to fail.
Is there some simpler tool that does nothing other than launch the application remotely? If not, is there a way to remove the credits, et al without breaking the PSExec file and some other way to close the PSExec process?