DevOps build task fails on Azure hosted agent - Advanced Installer Community
shawn.baker
Posts: 4
Joined: Mon Jan 21, 2019 5:45 pm

DevOps build task fails on Azure hosted agent

I'm using the following AdvancedInstallerTool@1 and AdvancedInstaller@2 tasks in a DevOps YAML pipeline:

Code: Select all

  - task: AdvancedInstallerTool@1
    inputs:
      advinstVersion: 19.0
      advinstLicense: $(advinst-license)
    displayName: Install Advanced Installer

  - task: AdvancedInstaller@2
    inputs:
      advinstVersion: 19.0
      advinstLicense: $(advinst-license)
      aipPath: $(mcaDirectory)\Setup\Setup_x86.aip
      aipBuild: PerMachine;PerUser
    displayName: Build Installer

The install task works on both a local build agent and on an Azure hosted build agent.

The build task works on a local build agent but fails on an Azure hosted build agent with the following output:

Code: Select all

##[section]Starting: Build Installer
==============================================================================
Task         : Advanced Installer Build
Description  : Build setup packages using Advanced Installer.
Version      : 2.0.7
Author       : Caphyon
Help         : 
==============================================================================
Checking if a cached copy exists for this version...
Found tool in cache: advinst 19.0.0 x86
Cached copy of AdvancedInstaller exists. No need to install afresh. Cached tool location: C:\hostedtoolcache\windows\advinst\19.0.0\x86.
Registering Advanced Installer.
[command]C:\hostedtoolcache\windows\advinst\19.0.0\x86\bin\x86\AdvancedInstaller.com /RegisterCI f183ef2dc31fd33f9787117cf8f367f7
Prepending PATH environment variable with directory: C:\hostedtoolcache\windows\advinst\19.0.0\x86\bin\x86
[command]C:\hostedtoolcache\windows\advinst\19.0.0\x86\bin\x86\AdvancedInstaller.com /execute D:\a\1\s\canawupas\application\MCA\Setup\Setup_x86.aip D:\a\_temp\28968.aic
Required column [Property.Value] has empty value.
##[error]Failed to execute Advanced Installer task. Error: Required column [Property.Value] has empty value.
##[section]Finishing: Build Installer

My aip file is attached.

What does Error: Required column [Property.Value] has empty value. mean and how do I fix it?
And why does it only happen on an Azure hosted build agent?
Attachments
Setup_x86.aip
(183.32 KiB) Downloaded 222 times
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: DevOps build task fails on Azure hosted agent

Hello Shawn,

This is currently under investigation on our end.

Once I will have more details, I will followup on this thread.

Thank you for your patience!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: DevOps build task fails on Azure hosted agent

Hello Shawn,

After further testing on our end, we were not quite able to reproduce the issue you reported.

If possible, could you please give us more details about the agent you are running this on?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shawn.baker
Posts: 4
Joined: Mon Jan 21, 2019 5:45 pm

Re: DevOps build task fails on Azure hosted agent

I'm sorry, this turned out to be a bug in a previous step of my pipeline. It was trying to update the product code, and instead, leaving it blank.

That said, it would have been very helpful if the error message told me which property was empty, rather than just reporting a generic "some property is empty" message.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: DevOps build task fails on Azure hosted agent

Hello Shawn,

Thank you very much for the followup on this!

Glad to hear everything is working as expected now.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”