I am attempting to run builds via DevOps Server 2020 pipelines. Essentially doing what you have in the guide here:
https://www.advancedinstaller.com/azure-devops-pipeline-powershell-automation.html
However, when attempting to run New-Object -ComObject AdvancedInstaller I receive the following error:
New-Object : Retrieving the COM class factory for component with CLSID {4D3B04E6-E766-4A9F-8129-D119FEF08A7F} failed due to the following error: 800700c1  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1).
I I install the full product on the build server, the command executes and I am able to continue.
This is using 18.4