I have a working Deploy-Application.ps1 script that will run correctly when called from PowerShell. When I try to run the Deploy-Application.exe file, the app starts and subsequently stops within about five seconds. No logs are created, it’s like the app is starting up, has nothing to do and then stops.
This was working for me in v3.2.0, but I can’t seem to figure out what I’m doing wrong at this point. Any thoughts or ideas to point me in the right direction are appreciated. Thanks.
Are you deploying it through SCCM? Check the AppEnforce.log file if you are and see if there is an error message. If not, check the event log to see what the error message is. That might give a clue as to what is happening.
Jared,
I’ll need to see your script in order to begin diagnosing your issue. Please reply with a snippet of your deploy-application.ps1 and we’ll start from there.
Rob,
Setting the executionpolicy to Allsigned will force all clients to validate that the powershell scripts executed on them are signed by a recognized certificate in your environment. We do not sign our scripts, you would have to do that internally.