Code examples for using AppProcessesToClose in v4.1

I've been out of pocket for a week. Also, unable to get access to the pc where the deployment via Intune failed last week to retrieve the log file. Have been reading thru posts and see v4.1.4 is now available. Was looking thru posts and also the 4.1.4 fixes. Upon reviewing my Install command for this app in Intune, I wasn't specifying Interactive mode, therefore with this user-based deployment, I think it was defaulting to Silent install (like it should) and since the end users didn't have admin rights, it was failing to run. I just updated my Install command to the following:

Invoke-AppDeployToolkit.exe -DeploymentType Install -DeployMode Interactive

Wondering if that will resolve, or if I should just grab v4.1.4 to try.

The reason you were having the failures was because the curly braces you added to InstallName broke our logic. I eventually worked it out and fixed it for 4.1.4, so yeah maybe update and give it a run.

Thank you very much. I've downloaded 4.1.4 and going to give it a try.

So what is the correct syntax?
I don't want to add the "description" for every thing it has to be closed.
An example, with multiple app which are closed, would be of GREAT help in the "template".

The template already shows an example of Excel being specified by its process name: PSAppDeployToolkit/src/PSAppDeployToolkit/Frontend/v4/Invoke-AppDeployToolkit.ps1 at bddc3df4e5530e16c783c09053abca5b206ea41e · PSAppDeployToolkit/PSAppDeployToolkit · GitHub