We are using azure pipelines for building our installers. We have an Azure Agent installed in Windows Server for running pipelines. In this Windows Server we have multiple versions of Advanced Installer.
In Azure Pipelines task we have specified the Advanced Installer Version to use but it seems that the pipeline is always using the latest.
Code: Select all
- task: AdvancedInstaller@2
displayName: 'Create Installer'
inputs:
advinstVersion: '20.8'
advinstLicense: '$(AI.licenseKey)'
aipPath: 'Installer\ServiceInstaller.aip'
aipOutputFolder: '$(OUTPUT_DIR_ARTIFACTS)'
aipExtraCommands: |
SetProductCode -langid 1033
SetDigitalCertificateFile -file "C:\Program Files (x86)\Windows Kits\10\App Certification Kit\XXXXX.pfx"
SetVersion $(SwVersion.Service).$(BUILD_NUMBER)
Code: Select all
Starting: Create Installer
==============================================================================
Task : Advanced Installer Build
Description : Build setup packages using Advanced Installer.
Version : 2.0.11
Author : Caphyon
Help :
==============================================================================
Downloading: https://www.advancedinstaller.com/downloads/updates.ini
"C:\Program Files (x86)\Caphyon\Advanced Installer 21.0.1\bin\x86\AdvancedInstaller.com" /execute C:\vsts-agent-win-x64-2.217.2\_work\30\s\Installer\ServiceInstaller.aip C:\vsts-agent-win-x64-2.217.2\_work\_temp\1729.aic
SetOutputLocation -path "\\sic.sedecal.com\artifacts\babelhub" -buildname ""
SetProductCode -langid 1033
SetDigitalCertificateFile -file "C:\Program Files (x86)\Windows Kits\10\App Certification Kit\XXXXX.pfx"
SetVersion 1.0.2.38
Build
What could be the problem if the aip is generated by a different version than the one used to generate the installer? What could be the problem with this pipeline configuration?
With regards,