Marco28
Posts: 16
Joined: Fri Sep 15, 2017 6:14 am

Powershell Automation in Azure DevOps

Can you tell me if it is possible to run the PowerShell Automation scripts by only installing AI through the Azure Tools Task.
When I try this code

Code: Select all

$advinst = New-Object -ComObject AdvancedInstaller
I get the message 80040154 Class not registered

K/r,
Marco
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Powershell Automation in Azure DevOps

Hi Marco,

I'm not sure why that happens, but most likely you don't have an Advanced Installer build on your Azure DevOps.

Can you please follow all the steps from our article: Automation x2: How to automate Azure DevOps pipelines with Advanced Installer PowerShell automation

Please let me know if that helped you.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”