Before I dive into testing different scenarios, if I wanted to pass the parameters to deploy-application.exe whe using serviceui.exe, what would the syntax be? Using the below for install did not work. When I took all of the parameters off then it worked.
ServiceUI.exe Deploy-Application.exe -DeploymentType Install -DeployMode Interactive -AllowRebootPassThru $false
ServiceUI.exe Deploy-Application.exe -DeploymentType Install -DeployMode Interactive -AllowRebootPassThru $false