我之前安装过vs2010 2012版本,现在想安装2019版本,安装警告提示我旧版本文件有损坏或未删除干净

钰滢 张 0 Reputation points
2023-09-14T01:28:28.59+00:00

报错信息

安装出现问题。

可通过以下方式排查包故障问题:

    1. 使用以下搜索 URL 来搜索针对每个包故障的解决方案
    2. 针对受与影响的工作负荷或组件修改选项,然后重新尝试安装
    3. 从计算机上删除产品,然后再次安装

如果开发者社区上已报告了此问题,则可在此处找到解决方案或变通方法。如果未报告此问题,我们鼓励你创建新问题,以便其他开发者可以找到解决方案或变通方法。可使用“提供反馈”按钮从右上角的 Visual Studio 安装程序中创建新问题。

================================================================================

未能安装包“Microsoft.VisualCpp.Redist.14.Latest,version=14.29.30139,chip=x86”。
    搜索 URL
        https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14.Latest;PackageAction=Install;ReturnCode=1603
    详细信息
        已执行的命令: "D:\Download\Microsoft.VisualCpp.Redist.14.Latest,version=14.29.30139,chip=x86\VC_redist.x86.exe" /q /norestart /log "C:\Users\28381\AppData\Local\Temp\dd_setup_20230913223950_289_Microsoft.VisualCpp.Redist.14.Latest.log"
        返回代码: 1603
        返回代码详细信息: 安装时发生严重错误
    日志
        C:\Users\28381\AppData\Local\Temp\dd_setup_20230913223950_289_Microsoft.VisualCpp.Redist.14.Latest.log
    工作负荷受到影响
        使用 C++ 的桌面开发 (Microsoft.VisualStudio.Workload.NativeDesktop,version=16.11.31727.170)
    组件受到影响
        C++ 2019 可再发行程序包更新 (Microsoft.VisualStudio.Component.VC.Redist.14.Latest,version=16.5.29515.121)
        C++ 分析工具 (Microsoft.VisualStudio.Component.VC.DiagnosticTools,version=16.5.29515.121)
        C++ 核心桌面功能 (Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core,version=16.2.29012.281)
        MSVC v142 - VS 2019 C++ x64/x86 生成工具(最新) (Microsoft.VisualStudio.Component.VC.Tools.x86.x64,version=16.11.32406.258)
        用于 DirectX 的图形调试器和 GPU 探查器 (Microsoft.VisualStudio.Component.Graphics.Tools,version=16.0.28625.61)
        用于 Windows 的 C++ CMake 工具 (Microsoft.VisualStudio.Component.VC.CMake.Project,version=16.3.29103.31)

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,050 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
    2023-09-14T07:10:28.4533333+00:00

    Hi @钰滢 张, 

    Welcome to Microsoft Q&A! 

    It seems that the previous versions of Microsoft Visual C++ Redistributable block the installation. Please go to the Control Panel > Program and Features > uninstall the Microsoft Visual C++ Redistributable items. Meanwhile, please remove the following folder:

    %programdata%\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14.Latest,version=14.29.30139,chip=x86

    You can also use the troubleshooter tool to uninstall or install the relevant Microsoft Visual C++ Redistributable.

    Then, please re-open your VS Installer to repair your installation.

    Besides, you can try to manually install this package (vc_redist.x86.exe) from the page: Microsoft Visual C++ Redistributable latest supported downloads

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.