We integrated the advanced installer into azure devops pipeline to create exe packages those are working good till few days back. From last day onwards all the builds are failing in the packaging stage. I am guessing it is expecting some input but no idea what it was.
Any help will be greatly appreciated.
Pipeline Code,
Code: Select all
- task: AzureCLI@2
inputs:
azureSubscription: 'Azure DevOps'
scriptType: 'pscore'
scriptLocation: 'inlineScript'
inlineScript: |
# set environment variable for current process
$env:AZURE_DEVOPS_EXT_PAT = $env:SYSTEM_ACCESSTOKEN
$currentDate = "$([System.DateTime]::Now.ToString("yyyy-MMM-dd"))"
AdvancedInstaller.com /edit .\Agent.aip /SetVersion $(WINDOWS_VERSION)
AdvancedInstaller.com /edit .\Agent.aip /SetProperty RELEASE_DATE=$(currentDate)
AdvancedInstaller.com /build '.\Agent.aip'
displayName: "Advanced Installer Build"
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
Build Package TaskInstall Advanced Installer Tool Task
Starting: AdvancedInstallerTool
==============================================================================
Task : Advanced Installer Tool Installer
Description : Acquires a specific version of Advanced Installer from internet or the tools cache and adds it to the PATH. Use this task to install Advanced Installer for subsequent tasks
Version : 2.0.1
Author : Caphyon
Help :
==============================================================================
Downloading: https://www.advancedinstaller.com/downloads/updates.ini
Checking if a cached copy exists for this version...
Cache does not contains this Advanced Installer version. Will be downloaded and installed.
Downloading Advanced Installer. URL: https://www.advancedinstaller.com/downl ... dvinst.msi
Downloading: https://www.advancedinstaller.com/downl ... dvinst.msi
Extracting Advanced Installer
"C:\Windows\system32\msiexec.exe" /a "D:\a\_temp\3aee4f52-88e7-4ee3-82ec-c3b29a3550da" TARGETDIR="D:\a\_temp\AdvancedInstaller\resources" /qn /l*v "D:\a\_temp\AdvancedInstaller\advinst_install.log"
Caching Advanced Installer tool.
Caching tool: advinst 23.1.0 x86
Successfully cached Advanced Installer tool. Version 23.1
Registering Advanced Installer.
C:\hostedtoolcache\windows\advinst\23.1.0\x86\bin\x86\AdvancedInstaller.com /RegisterCI ***
Starting Advanced Installer COM server.
C:\hostedtoolcache\windows\advinst\23.1.0\x86\bin\x86\AdvancedInstaller.com /REGSERVER
Prepending PATH environment variable with directory: C:\hostedtoolcache\windows\advinst\23.1.0\x86\bin\x86
Finishing: AdvancedInstallerTool
[ DefaultBuild ]
Building package: D:\a\1\s\AxAgent_v13.2.exe
Prepare build
Detecting MSI incompatible resources
Preparing files
!--- It stuck here for almost 50 mins ---!
##[error]The Operation will be canceled. The next steps may not contain expected logs.
Trusted Signing requires minimum Trusted Signing Client Tools 1.0.0 installed. Trusted Signing Client Tools will be downloaded and installed automatically.
##[error]The operation was canceled.
Finishing: Advanced Installer Build