System.Management.Automation.RuntimeException: Failed to detect Advanced Installer path.
How to reproduce:
- Go here: https://marketplace.visualstudio.com/it ... -BuildTask
- Click Install to install into your Team Services account.
- Add a "Advanced Installer" build task and point at your AIP file.
- Build is set to "DefaultBuild"
- Run the build.
To use the Advanced Installer Build Task plugin an installed version of Advanced Installer is required.
Does this mean that I need to have a custom agent with Advanced Installer installed?
Full log output:
2016-12-14T14:48:43.0850647Z ##[section]Starting: Build Advanced Installer package $/MyProject/MyProjectSetup/MyProjectSetup.aip
2016-12-14T14:48:43.0870637Z ==============================================================================
2016-12-14T14:48:43.0870637Z Task : Advanced Installer
2016-12-14T14:48:43.0870637Z Description : Tool for building installers.
2016-12-14T14:48:43.0870637Z Version : 1.1.0
2016-12-14T14:48:43.0870637Z Author : Caphyon
2016-12-14T14:48:43.0870637Z Help :
2016-12-14T14:48:43.0870637Z ==============================================================================
2016-12-14T14:48:44.1697720Z Preparing task execution handler.
2016-12-14T14:48:44.5827914Z Executing the powershell script: C:\a\_tasks\AdvancedInstaller_87e987f2-3e13-4d6e-9a3a-bb027f624d06\1.1.0\AdvinstTask.ps1
2016-12-14T14:48:45.5107959Z ##[error]System.Management.Automation.RuntimeException: Failed to detect Advanced Installer path. ---> System.Management.Automation.RuntimeException: Failed to detect Advanced Installer path.
2016-12-14T14:48:45.5107959Z --- End of inner exception stack trace ---
2016-12-14T14:48:45.5107959Z at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
2016-12-14T14:48:45.5107959Z at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
2016-12-14T14:48:45.5107959Z at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
2016-12-14T14:48:45.5107959Z at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
2016-12-14T14:48:45.5107959Z at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
2016-12-14T14:48:45.5107959Z at Microsoft.TeamFoundation.DistributedTask.Handlers.LegacyVSTSPowerShellHost.VSTSPowerShellHost.Main(String[] args)
2016-12-14T14:48:45.5217678Z ##[error]LegacyVSTSPowerShellHost.exe completed with return code: -1.
2016-12-14T14:48:45.5227686Z ##[section]Finishing: Build Advanced Installer package $/MyProject/MyProjectSetup/MyProjectSetup.aip
FOLLOW US
Get the latest news in Application Packaging