WyoDoug
Posts: 7
Joined: Fri Nov 20, 2015 2:39 am

Error with AzureDevOps (VSTS) Use AI not installing

Howdy,

I'm trying to get the Advanced installer agent tasks to install 15.6 and I keep receiving a failure when running the Use Advanced Installer action:

2019-01-15T17:37:47.2912392Z [command]C:\windows\system32\msiexec.exe /a C:\Agent\_work\_temp\a21cb342-d619-4d64-80fd-8ec11d8a6bb0 TARGETDIR=C:\Agent\_work\_temp\AdvancedInstaller\resources /qn /l*v C:\Agent\_work\_temp\AdvancedInstaller\advinst_install.log
2019-01-15T17:37:47.4175420Z T h e W i n d o w s I n s t a l l e r S e r v i c e c o u l d n o t b e a c c e s s e d . T h i s c a n o c c u r i f t h e W i n d o w s I n s t a l l e r i s n o t c o r r e c t l y i n s t a l l e d . C o n t a c t y o u r s u p p o r t p e r s o n n e l f o r a s s i s t a n c e .
2019-01-15T17:37:47.4175905Z

The corresponding log for the failed attempt reads:

=== Verbose logging started: 1/15/2019 17:28:17 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\windows\system32\msiexec.exe ===
MSI (c) (50:2C) [17:28:17:315]: Resetting cached policy values
MSI (c) (50:2C) [17:28:17:315]: Machine policy value 'Debug' is 0
MSI (c) (50:2C) [17:28:17:315]: ******* RunEngine:
******* Product: C:\Agent\_work\_temp\be145dad-0ca6-4e09-a284-2d6f01e57f3d
******* Action:
******* CommandLine: **********
MSI (c) (50:2C) [17:28:17:331]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (50:2C) [17:28:17:331]: Grabbed execution mutex.
MSI (c) (50:2C) [17:28:17:331]: Failed to connect to server. Error: 0x80070005

MSI (c) (50:2C) [17:28:17:331]: Note: 1: 2774 2: 0x80070005
1: 2774 2: 0x80070005
MSI (c) (50:2C) [17:28:17:331]: Failed to connect to server.
MSI (c) (50:2C) [17:28:17:331]: MainEngineThread is returning 1601
=== Verbose logging stopped: 1/15/2019 17:28:17 ===

Windows Installer appears to be installed properly and it appears to work as I installed several third-party libraries without issue. This is on a customer build agent using the 64-bit build agent.

Any idea as to what may be the cause of the problem?
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error with AzureDevOps (VSTS) Use AI not installing

Hello and welcome to our forums,

I am not so sure why this happens. Can you please try using the Hosted VS2017 Microsoft agent and let us know if this helped?
Capture.JPG
Capture.JPG (95.06 KiB) Viewed 2904 times
Otherwise can you please send us the full build log by email to support at advancedinstaller dot com and some screenshots with yuor build agent and build pipelines configuration?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
WyoDoug
Posts: 7
Joined: Fri Nov 20, 2015 2:39 am

Re: Error with AzureDevOps (VSTS) Use AI not installing

Sorry for the late response.

We cleared up a few issues without custom build machine and poof its working.

Thanks, for the help!
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error with AzureDevOps (VSTS) Use AI not installing

You are always welcome. I am glad to hear that.

Thank you for your follow up on this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”