marwa.elghali
Posts: 3
Joined: Wed Mar 18, 2026 4:31 pm

AdvancedInstaller@2 is failing with Advanced Installer Tool Installer extension v2.0.2

Hello,

Our Azure DevOps build pipelines utilize the task AdvancedInstaller@2.

As of today, all such pipelines are failing at this step with the below error message, even though we have not applied any changes on our side, and the pipelines were successful as of this morning.

##[error]Cannot read property 'ProductVersion' of undefined

I can see that the Advanced Installer Tool Installer extension we have in our pipelines has been updated yesterday to version 2.0.2.

For installation of Advanced Installer within the pipeline, we use the task AdvancedInstallerTool@1, without specifying any version, so it is retrieving the latest version (v 23.5.1 x86) and it is cached within our build agents.

The inputs to the AdvancedInstaller@2 task are:
aipPath: <path to our .aip file>
aipResetDigSign: true
aipExtraCommands: |
SetOutputLocation -buildname "SystemMode" -path "<path to build>"
SetOutputLocation -buildname "UserMode" -path "<path to build>"
SetVersion <semantic version of build>
SetProperty ARPCOMMENTS="<copyright text> Version:<build version>"
SetProductCode -langid 2057 -guid <product code>

Appreciate any assistance.
marwa.elghali
Posts: 3
Joined: Wed Mar 18, 2026 4:31 pm

Re: AdvancedInstaller@2 is failing with Advanced Installer Tool Installer extension v2.0.2

Issue seems to have gotten resolved on its own today.
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: AdvancedInstaller@2 is failing with Advanced Installer Tool Installer extension v2.0.2

Hello and welcome to our forums,

Indeed, we had some issues regarding this that are now fixed. :)

Let us know if there is anything else we can help you with and I will gladly assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
anthony.douaihy
Posts: 1
Joined: Fri Mar 20, 2026 11:56 am

Re: AdvancedInstaller@2 is failing with Advanced Installer Tool Installer extension v2.0.2

Hello,

We are still facing the same issue mentioned in the first post above, and it remains unresolved

Downloading: https://www.advancedinstaller.com/downloads/updates.ini
##[error]Cannot read property 'ProductVersion' of undefined

Waiting for your assistance
Last edited by anthony.douaihy on Fri Mar 20, 2026 12:05 pm, edited 1 time in total.
marwa.elghali
Posts: 3
Joined: Wed Mar 18, 2026 4:31 pm

Re: AdvancedInstaller@2 is failing with Advanced Installer Tool Installer extension v2.0.2

Issue persists on our side, using extension 2.0.2.

Appreciate any hints from anyone who has faced and resolved the issue.
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: AdvancedInstaller@2 is failing with Advanced Installer Tool Installer extension v2.0.2

Hello Marwa, Anthony,

I'm sorry to hear that it still hasn't worked.

Cna any of you share with me the following, by email at support at advancedinstaller dot com:

- a copy of the AIP file

- a copy of the build log

- a copy of the YAML file (only the part that involves Advanced Installer)

so I can further investigate this on our end?

We have tried to run some tests but were not able to reproduce the issue on our end, so most likely you have something configured differently on your end.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gbusscher
Posts: 2
Joined: Thu Apr 22, 2021 11:31 am

Re: AdvancedInstaller@2 is failing with Advanced Installer Tool Installer extension v2.0.2

Hi,

We are experiencing the same issue, also with version 2.02 of the AdvancedInstaller Tool.

This is the part of the yml we are using:

Code: Select all

- task: AdvancedInstaller@2
    displayName: 'Build Advanced Installer package Codex Installer.aip'
    inputs:
      aipPath: 'E:\installer\Codex Installer.aip'
      aipBuild: Build
      aipExtraCommands: |
        SetVersion $(AssemblyInfo.ProductVersion)
        SetAzureKeyVaultSecret $(SigningClientSecret)  
This is the error:

Starting: Build Advanced Installer package Codex Installer.aip
==============================================================================
Task : Advanced Installer Build
Description : Build setup packages using Advanced Installer.
Version : 2.0.5
Author : Caphyon
Help :
==============================================================================
Downloading: https://www.advancedinstaller.com/downloads/updates.ini
##[error]Cannot read property 'ProductVersion' of undefined
Finishing: Build Advanced Installer package Codex Installer.aip

Hopefully this will be fixed soon.

Best regards,

Gernant Busscher
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: AdvancedInstaller@2 is failing with Advanced Installer Tool Installer extension v2.0.2

Hello Gernant and welcome to our forums,

If possible, could you please also provide the build log? You can send it via email at support at advancedinstaller dot com.

We have tried multiple tests on our end but we are unfortunately not able to reproduce this. :(

The only thing I can think of is to double check the following variable: $(AssemblyInfo.ProductVersion) has a valid version that is compatible with the MSI standards (ProductVersion property).

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gbusscher
Posts: 2
Joined: Thu Apr 22, 2021 11:31 am

Re: AdvancedInstaller@2 is failing with Advanced Installer Tool Installer extension v2.0.2

Hi,

I don't think the problem lies in the Product Version parameter we pass to AdvancedInstaller, but in the AdvancedInstaller tool trying to find (or parse) the product version on https://www.advancedinstaller.com/downloads/updates.ini
The product version we are passing is: 6.7.0.0 and was working before the pipelines started to fail (as from Tuesday March 17th).

Here's the relevant piece of the build log, included is the step that retrieves the (our) product code from an assembly:

2026-03-24T14:42:28.5855482Z ##[section]Starting: Get AssemblyInfo from Codex.exe
2026-03-24T14:42:28.5880757Z ==============================================================================
2026-03-24T14:42:28.5881035Z Task : PowerShell
2026-03-24T14:42:28.5881181Z Description : Run a PowerShell script on Linux, macOS, or Windows
2026-03-24T14:42:28.5881378Z Version : 2.268.1
2026-03-24T14:42:28.5881539Z Author : Microsoft Corporation
2026-03-24T14:42:28.5881730Z Help : https://docs.microsoft.com/azure/devops ... powershell
2026-03-24T14:42:28.5881965Z ==============================================================================
2026-03-24T14:42:30.9161962Z Generating script.
2026-03-24T14:42:31.0034274Z Formatted command: . 'C:\Scripts\get-assemblyInfo.ps1' -Path E:\staging\Codex\Codex.exe
2026-03-24T14:42:31.0555158Z ========================== Starting Command Output ===========================
2026-03-24T14:42:31.0878716Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent\_work\_temp\71c131a9-b3f6-4cb0-b51f-e18fb72accff.ps1'"
2026-03-24T14:42:32.6265403Z Path: E:\staging\Codex\Codex.exe
2026-03-24T14:42:32.6279436Z Product version: 6.7.0.0
2026-03-24T14:42:32.7286294Z ##[section]Finishing: Get AssemblyInfo from Codex.exe
2026-03-24T14:42:32.7377763Z ##[section]Starting: Build Advanced Installer package Codex Installer.aip
2026-03-24T14:42:32.7416913Z ==============================================================================
2026-03-24T14:42:32.7417152Z Task : Advanced Installer Build
2026-03-24T14:42:32.7417344Z Description : Build setup packages using Advanced Installer.
2026-03-24T14:42:32.7417545Z Version : 2.0.5
2026-03-24T14:42:32.7417689Z Author : Caphyon
2026-03-24T14:42:32.7418692Z Help :
2026-03-24T14:42:32.7418842Z ==============================================================================
2026-03-24T14:42:36.3949350Z Downloading: https://www.advancedinstaller.com/downloads/updates.ini
2026-03-24T14:42:37.5088592Z ##[error]Cannot read property 'ProductVersion' of undefined
2026-03-24T14:42:37.5159536Z ##[section]Finishing: Build Advanced Installer package Codex Installer.aip
2026-03-24T14:42:37.5304799Z ##[section]Starting: Rename setup.msi to setup-20260324.3.msi
2026-03-24T14:42:37.5329533Z ==============================================================================
2026-03-24T14:42:37.5329833Z Task : PowerShell
2026-03-24T14:42:37.5329978Z Description : Run a PowerShell script on Linux, macOS, or Windows
2026-03-24T14:42:37.5330155Z Version : 2.268.1
2026-03-24T14:42:37.5330310Z Author : Microsoft Corporation
2026-03-24T14:42:37.5330485Z Help : https://docs.microsoft.com/azure/devops ... powershell
2026-03-24T14:42:37.5330731Z ==============================================================================

If you need further information, let me know (and also where I could find it).

Thanks,

Gernant

Return to “Common Problems”