缺少vc_runtimeminimum_x86.msi并且安装无效

时间:2017-04-20 07:26:45

标签: c++ visual-studio installation windows-installer visual-studio-2017

我目前正在完成Visual Studio 2017 Community Edition的安装过程,以便与C ++一起使用。在安装过程中途,我收到一条错误说明

  

“您尝试使用的功能位于不可用的网络资源上。单击”确定“再次尝试,或输入包含安装包” vc_runtimeMinimum_x86.msi '在下面的方框中。“

如果我点击取消,程序将继续,最后告诉我设置失败。它给了我这篇文章底部附带的错误日志。

此外,我已在Microsoft Visual Studio开发人员帮助论坛here上载了完整日志。

我希望能够在不重新安装操作系统的情况下解决此问题。到目前为止,我已经尝试/sfc scannow,通过Visual Studio安装程序进行修复,并重新安装C ++可再发行组件,但都无济于事。

非常感谢任何帮助。谢谢。

  

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.

5 个答案:

答案 0 :(得分:7)

转到“控制面板” - “程序和功能”,卸载Visual C ++ 2015重新分发项目。

之后,运行工具:https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed。以管理员身份重新运行VS 2017安装程序,然后单击“启动”旁边的图标并选择“修复”以修复VS 2017。

答案 1 :(得分:3)

在尝试安装最新的VS社区的Win 10 +的最新版本中,我也遇到了这个问题。当我进入这种状态时,事情似乎已经崩溃了。这是我所采取的最终成功的顺序:

  1. 在已安装的软件中,选择“下载所有软件包,然后安装”
  2. 尝试安装
  3. 查看弹出窗口
  4. 弹出窗口仍在,请转到此处:https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed并下载工具
  5. 打开该工具,然后在显示“您是否需要帮助来安装或卸载”的页面上选择“卸载”
  6. 在带有列表的下一页上,选择Microsoft Visual C ++ 2015(无论如何),然后单击“尝试卸载”旁边的
  7. 重复步骤5-6,直到列表中没有看到任何“ Microsoft Visual C ++ 2015”。请注意,弹出窗口仍在显示。
  8. 关闭弹出窗口
  9. 暂停安装并继续。
  10. 我没有再看到弹出窗口,它似乎已正确安装。

如果您在解决方案被标记为没有任何解决方案的一年后到这里,请尝试一下,看看它是否可以解决您的问题。

这是我尝试过的其他方法,但对我却不起作用。如果以上方法都不适合您,请尝试以下通过搜索收集的以下方法:

答案 2 :(得分:0)

尝试从此处安装所有内容:https://support.microsoft.com/ms-my/help/2977003/the-latest-supported-visual-c-downloads

不确定是否只需要安装x86版本或所有它们。建议您安装所有这些组件,但要记住卸载那些已有的组件。

答案 3 :(得分:0)

几天来我一直在寻找答案之后,这个Microsoft的工具(在这里有人提到过)为我工作:

https://support.microsoft.com/en-us/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed

您必须选择“我在卸载时遇到问题”并搜索“ C ++”组件(在您的情况下为2017组件)。

通常有“最小运行时”和“其他运行时”组件。使用此工具卸载了这两个工具后,我可以安装一个使用这些运行时的程序(例如Visual Studio),然后它将下载并安装缺少的功能,之后,一切对我来说都很完美。

答案 4 :(得分:-1)

对我来说,很容易解决这个问题。

  1. 使用Revo Uninstaller Pro卸载所有可视c ++
  2. 使用MPVCI工具。链接(https://www.majorgeeks.com/files/details/multipack_visual_c_installer.html
  3. 享受它。对我来说有效。