I am trying to use Advanced Installer in an Azure Pipeline. I have installed the task extension "Advanced Installer Tool Installer" and added the following code to my "azure-pipelines.yml" configuration
Code: Select all
- task: AdvancedInstallerTool@1
displayName: 'Windows: Install Advanced Installer'
condition: eq(variables['agent.os'], 'Windows_NT')
When run on a non-Windows agent the task condition evaluates as "false" and the task is skipped. However "AdvancedInstallerTool" also has in implicit "post-job" task which does not respect the condition and will always run. Failing with the following error on non-Windows agents
Code: Select all
##[error]Only Windows systems are supported.
Please let me know if you need any further explanation.