Forum Discussion

Bubbleboy's avatar
Bubbleboy
Copper Contributor
Apr 05, 2022

PowerShell Fixup is not working when parameter "Wait for Script to Finish" is set to false in Config

Hello,

I am trying to configure PowerShell scripts to run before the application launch. Whenever I try updating 'WaitForScriptToFinish' value to 'false' in the config.json, PowerShell scripts are not running and also the target application is not getting launched.


Here is my config file:

{
"processes": [
{
"executable": "VFS\\ProgramFilesX86\\Logs\\LogApplication.exe",
"fixups": []
}
],
"applications": [
{
"id": "NewApplication1",
"startScript": {
"scriptExecutionMode": "-ExecutionPolicy RemoteSigned",
"scriptPath": "UserInput.ps1",
"showWindow": true,
"waitForScriptToFinish": false
}
}
]
}

Resources