cadull
Posts: 12
Joined: Thu Feb 27, 2020 11:09 pm

Unable to run advinst.exe on build server with version 22.9.1

On Windows Server 2016 with a self-hosted Azure Agent, advinst.exe from version 22.9.1, installed by task AdvancedInstallerTool@2, fails to execute with the following error dialog:

The program can't start because api-ms-win-core-apiquery-I2-1-0.dll
is missing from your computer. Try reinstalling the program to fix this
problem.

When run during the build pipeline, while registering Advanced Installer, this dialog prevents AdvancedInstaller.com from exiting and the task eventually times out.

Version 22.8 works fine.

Regards,
cadull
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to run advinst.exe on build server with version 22.9.1

Hello cadull,

This is indeed true and please note it is the intended behavior.
Screenshot_57.png
Screenshot_57.png (17.64 KiB) Viewed 406 times
Advanced Installer requirements
Screenshot_58.png
Screenshot_58.png (31.99 KiB) Viewed 406 times

The reason for that is that we have moved away from htmllayout, which was very old technology, to the newer WinUI which is only supported on newer versions of Windows (including the server ones).

As a workaround, please use the older version (22.8) if you still plan on using Windows Server 2016 as your build agent.

Thank you for your understanding!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cadull
Posts: 12
Joined: Thu Feb 27, 2020 11:09 pm

Re: Unable to run advinst.exe on build server with version 22.9.1

Thanks Catalin,

We expect to update the OS version sometime next year and using 22.8 should be ok until then.

Regards,
cadull
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to run advinst.exe on build server with version 22.9.1

Hello cadull,

You are always welcome! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”