Azure · · 1 min read

How to fix "Wizard ended permaturely" when installing Azure PowerShell via MSI

Well this sounds like a straight forward task. Download the MSI package, run the installed and done. But there is one tiny obstacle that you may encounter

How to fix "Wizard ended permaturely" when installing Azure PowerShell via MSI

Well this sounds like a straight forward task. Download the MSI package from Github run the installer and done...

But there is one tiny obstacle thay you may encounter. This is the error message I received when clicking through the installer

Microsoft Azure PowerShell - May 2020 Setup Wizard ended prematurely because of an error. Your system has not been modified....

Hm okay, let's run the installer again and create a detailled log for further debugging hints.

msiexec /i C:\Temp\Az-Cmdlets-4.1.0.32917-x64.msi /l*v C:\Temp\Setup.txt

And indeed. Further down in the log I've found this:

SFXCA: Failed to get requested CLR info. Error code 0x80131700 SFXCA: Ensure that the proper version of the .NET Framework is installed, or that there is a matching supportedRuntime element in CustomAction.config. If you are binding to .NET 4 or greater add useLegacyV2RuntimeActivationPolicy=true to the element.

So long story short. You need to install .NET Framework 3.5 first and then re-run the setup.

cmd => control => Turn Windows features on or off => check ".NET Framework 3.5

That's it for today. Happy hacking 👾

Read next