I wanted to automate the installation of Adobe Reader DC using an existing executable file (AcroRdrDC1501020060_en_US.exe) present in my local computer with a PowerShell script in non-interactive mode.
My current PowerShell script is:
Start-Process -FilePath "C:\newDir4\AcroRdrDC1501020060_en_US.exe" -ArgumentList "/sAll /rs /rps /msi /norestart /quiet EULA_ACCEPT=YES" -Verb RunAs
But I am facing issues when automating it through Azure DevOps pipeline on a hosted agent.
Issue: Pipeline task is successful
But the software is not installed on the agent.