Error code 5100 when installing .NET framework as part of a ClickOnce application deployment via Visual Studio 2010

╄→гoц情女王★ 提交于 2019-12-05 00:13:25

On MSDN, there is a short list of .NET installer return codes:

  • 0: Installation completed successfully.
  • 1602: The user canceled installation.
  • 1603: A fatal error occurred during installation.
  • 1641: A restart is required to complete the installation. This message indicates success.
  • 3010: A restart is required to complete the installation. This message indicates success.
  • 5100: The user's computer does not meet system requirements.

So according to Microsoft, the 5100 return code is somehow related to system requirements.

On my system it was due to the fact that a previous (other) setup did require a reboot and I omitted that reboot. After the reboot, the .NET Framework 4 setup succeeded.

On another system it was due to the fact that my hard disk had not enough free space. Once I freed up some few GBs, the setup succeeded.

user2214479

I got the same message in the same situation because Windows Imaging Component (WIC) on Windows XP wasn't installed (wic_x86_enu.exe). This helped me.

VikramBose

The .NET 4.0 minimum requirement is 2 GB disk space for installation. Free up space in the installation drive and installing it will work fine.

WilfriedVS

I'm currently troubleshooting the same issue. We have the same problem with some of our customer's installers.

The reason I have come up with so far is:

"Not enough free space left on C: drive"

This is the reason for some of the 5100 errors, but I haven't found the cause of the others.

If you type: "net helpmsg 5100" in the command prompt, the output is "Asia". I have no idea what that means.

Joshua M

It can also happen when the machine has a newer version of Visual C installed than the one distributed in the package. It will need to run without checking pre-requisite components first.

This error appeared for me when I was trying to Install the Windows SDK. This error appeared because newer version of the Visual C++ 2010 Redistributable had been installed on my machine previously. I needed to uninstall both the x86 and x64 versions from my machine and then install the Windows SDK. My issue is described by MS here.

You may was to try uninstalling Visual C++ 2010 Redistributables from your machine.

This may or may not be related to your issue, but its worth giving it a shot. If anyone attempts this please add your results in the comments so that others can know results as well.

At this MSDN link https://msdn.microsoft.com/en-us/library/ee390831(v=vs.110).aspx it specifies the installer log location as %temp%\Microsoft .NET Framework 4.5*.html. I was looking for .NET 4.5 but the Other Versions link has the path for .NET 4.0.

Viewing that log gave me a detailed message on what to do next. In my case an update corresponding to a certain KB that had to be installed.

Error 5100 can mean .NET Framework 4.7 failed to install on Windows 10 because the first two builds of Windows 10 (build 10240 version 1507, and build 10586 version 1511) do not allow .NET Framework 4.7. They only allow up to .NET Framework 4.6.2. The only way to install .NET Framework 4.7 or later on Windows 10 is to upgrade your Windows 10 build version.

I do not know why it reports "Asia" as the text of the message. Just that Microsoft's error message handling is grossly deficient in all aspects.

This error could also be caused by OS patch requirement didn't meet. Try to install the program manually (look for the installation file from log) and run it manually.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!