Nevermind, I was able to figure it out. ExecuteFile="PowerShell.exe" ExecuteParameters="-NoExit -noprofile -executionpolicy unrestricted -file Deploy-Application.ps1"
I created a compressed exe with 7za and LZMA but it is giving me the error "The system cannot find the file specified". I am trying to execute a powershell script. I have tried many ways, how can I kick off a PowerShell script using LZMA's command to run? Currently I have: $CommandToRun ="powershell -NoExit -noprofile -executionpolicy unrestricted -file %%T\Deploy-Application.ps1"
I created a compressed exe with 7za and LZMA but it is giving me the error "The system cannot find the file specified". I am trying to execute a powershell script. I have tried many ways, how can I kick off a PowerShell script using LZMA's command to run? Currently I have: $CommandToRun ="powershell -NoExit -noprofile -executionpolicy unrestricted -file %%T\Deploy-Application.ps1"