Missing vc_runtimeminimum_x86.msi and installation won't work

105,632

Solution 1

Go to Control Panel--Programs and Features, uninstall the Visual C++ 2015 Redistribute items.

After that, run the tool: https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed. Re-run the VS 2017 installer as administrator, then click the icon besides 'Launch' and choose 'Repair' to repair the VS 2017.

Solution 2

I ran into this problem as well on a recent build of Win 10 + trying to install latest VS Community. When I entered this state, things appeared to be super broken. Here's the sequence of events that I took which finally worked:

  1. In the installed, select to "download all packages and then install"
  2. Attempt installation
  3. See the popup
  4. With the popup still up, go here: https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed and download the tool
  5. Open the tool and then select "Uninstall" on the page it says "do you need help installing or uninstalling"
  6. On the next page with the list, select Microsoft Visual C++ 2015 (whatever) and hit next to "Try Uninstall"
  7. Repeat steps 5 - 6 until I didn't see any "Microsoft Visual C++ 2015" left in the list. Note that the popup is still showing.
  8. Close the popup
  9. Pause the install and Resume it.
  10. I didn't see the pop up again and it appears to have installed correctly.

If you're coming here a year after the solution was marked without any resolution, try that and see if it works around the issue for you.

Here are some other things I tried which didn't work for me. If the above didn't work for you, maybe try some of the following which I collected through some searching:

Share:
105,632

Related videos on Youtube

Khatrimm
Author by

Khatrimm

Updated on July 25, 2022

Comments

  • Khatrimm
    Khatrimm almost 2 years

    I'm currently going through the installation process for Visual Studio 2017 Community Edition to use with C++. Halfway through installation, I get an error stating

    "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package 'vc_runtimeMinimum_x86.msi' in the box below."

    If I hit cancel, the procedure continues and at the end tells me that the setup has failed. It gives me the error logs attached at the bottom of this post.

    Also, I have uploaded the complete logs on the Microsoft Visual Studio developer help forum here.

    I'd like to be able to solve this problem without having to do a re-installation of the OS. So far, I've tried /sfc scannow, repairing through the Visual Studio Installer, and reinstalling the C++ redistributables, but all too no avail.

    Any help would be greatly appreciated. Thank you.

    The product failed to install the listed workloads and components due to one or more package failures. Incomplete workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26403.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0) Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26208.0) Incomplete components C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=15.0.26208.0) C++ profiling tools (Microsoft.VisualStudio.Component.VC.DiagnosticTools,version=15.0.26208.0) Graphics debugger and GPU profiler for DirectX (Microsoft.VisualStudio.Component.Graphics.Tools,version=15.0.26208.0) JavaScript and TypeScript language support (Microsoft.VisualStudio.Component.JavaScript.TypeScript,version=15.0.26208.0) Profiling tools (Microsoft.VisualStudio.Component.DiagnosticTools,version=15.0.26208.0) Static analysis tools (Microsoft.VisualStudio.Component.Static.Analysis.Tools,version=15.0.26208.0) Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26403.0) Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26403.0) Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0) VC++ 2017 v141 toolset (x86,x64) (Microsoft.VisualStudio.Component.VC.Tools.x86.x64,version=15.0.26208.0) Visual Studio extension development prerequisites (Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites,version=15.0.26208.0) Visual Studio SDK (Microsoft.VisualStudio.Component.VSSDK,version=15.0.26208.0) You can search for solutions using the information below, modify your selections for the above workloads and components and retry the installation, or remove the product from your machine. Following is a collection of individual package failures that led to the incomplete workloads and components above. To search for existing reports of these specific problems, please copy and paste the URL from each package failure into a web browser. If the issue has already been reported, you can find solutions or workarounds there. If the issue has not been reported, you can create a new issue where other people will be able to find solutions or workarounds. Package 'Microsoft.VisualCpp.Redist.14,version=14.10.25008,chip=x86' failed to install. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14;PackageAction=Install;ReturnCode=1603 Impacted workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26403.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0) Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26208.0) Impacted components C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=15.0.26208.0) C++ profiling tools (Microsoft.VisualStudio.Component.VC.DiagnosticTools,version=15.0.26208.0) Graphics debugger and GPU profiler for DirectX (Microsoft.VisualStudio.Component.Graphics.Tools,version=15.0.26208.0) JavaScript and TypeScript language support (Microsoft.VisualStudio.Component.JavaScript.TypeScript,version=15.0.26208.0) Profiling tools (Microsoft.VisualStudio.Component.DiagnosticTools,version=15.0.26208.0) Static analysis tools (Microsoft.VisualStudio.Component.Static.Analysis.Tools,version=15.0.26208.0) Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26403.0) Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26403.0) Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0) VC++ 2017 v141 toolset (x86,x64) (Microsoft.VisualStudio.Component.VC.Tools.x86.x64,version=15.0.26208.0) Visual Studio extension development prerequisites (Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites,version=15.0.26208.0) Visual Studio SDK (Microsoft.VisualStudio.Component.VSSDK,version=15.0.26208.0) Log C:\Users\Owner\AppData\Local\Temp\dd_setup_20170412231725_117_Microsoft.VisualCpp.Redist.14.log Details Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.10.25008,chip=x86\VC_redist.x86.exe" /q /norestart /log "C:\Users\Owner\AppData\Local\Temp\dd_setup_20170412231725_117_Microsoft.VisualCpp.Redist.14.log" Return code: 1603 Return code details: Fatal error during installation.

  • Clive Galway
    Clive Galway about 6 years
    Downvoted, as you make zero mention of WHAT TO DO with this tool. Also, this tool seems kind of stupid. If you click "Install" (Which purports to help you tring to install something), it appears to show a list of already installed programs. Not sure how useful that is if the problem is that you cannot install it. I even tried running the tool WHILE the problem installer was running (As the problem VS version shows in add/remove programs at this point), but the tool still did not show it in the list. So as a tool to help you install a selected program, it seems utterly useless.
  • Clive Galway
    Clive Galway about 6 years
    Sorry, typo, I meant the problem VC version shows in Add/Remove programs while it's installer is running and displaying the dialog. i.imgur.com/oYqbwRZ.png
  • Anton Menshov
    Anton Menshov almost 5 years
    Welcome to Stack Overflow! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
  • The Great Java
    The Great Java almost 4 years
    To others still coming here years later, Visual C++ redistributable files are shared for 2015, 2017, and 2019. You will need to clean up all three when installing 2019.
  • Eskel
    Eskel over 3 years
    Since the download link is dead, here are some working mirror links: m.majorgeeks.com/files/details/…
  • ssamko
    ssamko over 3 years
    Thanks ! Works also for C++ 2015-2019 !
  • Phan Đức Bình
    Phan Đức Bình about 3 years
    Work for me too. I had to remove all the Microsoft Visual C++ something as well.