V4 Silent Install via Intune Prompting to Install/Defer

I’ve recently converted all my applications to v4 from v3 and uploaded them all to Intune however they are now coming up and prompting to install or defer but I’m using the silent switch. Here is the install command I’m using:

%SystemRoot%\System32\WindowsPowerShell\v1.0\PowerShell.exe -ExecutionPolicy Bypass -NoProfile -File Invoke-ServiceUI.ps1 -DeploymentType Install -DeployMode Silent -AllowRebootPassThru

As you can see, I’m using Invoke-ServiceUI.ps1 along with ServiceUI_x64.exe, to have Intune display the install dialog. I want it to show the install is happening but want it to be non-interactive, unless a running application is detected that needs to be closed first… what could I be doing wrong here? Any suggestions? Any assistance will be much appreciated. Thanks

I believe I’ve found at least a workaround, but it will require me to repackage and redo all the Intune apps.

The Workaround:
Change “Interactive” to “Noninteractive” in both locations in invoke-serviceUI.ps1.

If anyone else has any other suggestions that wouldn’t require completely redoing all my Intune packages, please let me know. Thanks