I feel like this is something I might just throw into a PowerShell in Intune and be done with it, but I feel like this is a very simple install and I am just missing something due to being new to PSADT and even newer to v4.
So, I have an installer that I can run in normal PowerShell via:
.\Install.exe --quiet --accept-eulas --prevent-reboot
However, when I try to do the same in PSADTv4, I have tried:
Start-ADTProcess -FilePath "Install.exe" -ArgumentList "--quiet --accept-eulas --prevent-reboot" -PassThru
Start-ADTProcess -FilePath "Install.exe" -ArgumentList @("--quiet", "--accept-eulas", "--prevent-reboot")
Start-ADTProcess -FilePath "$dirfiles\Install.exe" -ArgumentList "--quiet --accept-eulas --prevent-reboot"
and a handful of other things, and it does seem to at least start the install, but it always throws an error towards the end of the install. This is nearly a 3GB install, so it takes awhile and I can see it actually installing the software, but at the very end, it throws an error:


