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

Copper Contributor

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
}
}
]
}

2 Replies
Hi,

Thank you for sharing. We are looking into this.
In the meantime, it would be helpful if you could give us some more context about it.
This issue has been fixed in the latest release of Package Support Framework. Please use the updated binaries. You can get it at https://www.nuget.org/packages/Microsoft.PackageSupportFramework