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?
FOLLOW US
Get the latest news in Application Packaging