However, we found a problem when we moved from cloud-hosted to self-hosted agents, when we run build agents on our VMs. We use least privilege principle and didn't grant the agent account administrator permissions, though agent service account has full permissions on working directory. This resulted in failed "https://marketplace.visualstudio.com/it ... -BuildTask" which fails with this error:
Code: Select all
==============================================================================
Task : Advanced Installer Build
Description : Build setup packages using Advanced Installer.
Version : 3.0.0
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/downloads/22.5/advinst.msi
Downloading: https://www.advancedinstaller.com/downloads/22.5/advinst.msi
Extracting Advanced Installer
"C:\Windows\system32\msiexec.exe" /a "D:\a\_work\_temp\326a6673-5d4f-45da-b01d-b66d6bf1a2af" TARGETDIR="D:\a\_work\_temp\AdvancedInstaller\resources" /qn /l*v "D:\a\_work\_temp\AdvancedInstaller\advinst_install.log"
The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
##[error]Failed to extract Advanced Installer.Of course, we can cache the tool, but then we will have to repeat this process every time we upgrade to a new version. It would be nice if you could provide installer version which could be installed as part of DevOps pipeline without requiring administrators permissions.
FOLLOW US