Hey All.
First of, I know there are up to date versions of PSADT. However this is the one that is validated for our systems and due to the industry that I work in, we can only use validated tools etc.
Here's the issue. I have a large number of applications that do not have switches for silent installs. So we need to present user with the Installer GUI to provide input.
I have setup invoke-AppDeployToolkit.ps1 with the "Start-ADTprocess -FilePath "Alphafocus.exe"" under "mark Install".
I have Invoke-ServiceUI.ps1 and the ServiceUIx64.exe and ServiceUIx86.exe in the same folder as invoke-AppDeployToolkit.ps1.
Created the intunewin file using invoke-ServiceUI.ps1 as the setup file. I uploaded the intunewin file to intune, then set the install command to "%SystemRoot%\System32\WindowsPowerShell\v1.0\PowerShell.exe -ExecutionPolicy Bypass -NoProfile -File Invoke-ServiceUI.ps1 -DeploymentType Install -AllowRebootPassThru"
This runs as expected from powershell, however when I upload it to Intune, it fails to even start the ADT pre-install prompt, no logs generated in the Windows/logs/software.
I might have missed something in the setup and I am happy to share the ADT files and Intune Extension logs if that can help to shed light on this.