setup vs2026 fail

CHENG GUO ZHU 0 Reputation points
2026-07-20T04:39:40.5266667+00:00

安装发生错误。

可以通过以下方法排查包故障:

1. 使用下面的搜索 URL 搜索每个包故障的解决方案

2. 修改对受影响工作负载或组件的选择,然后重试安装

3. 从计算机中删除产品,然后重新安装

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

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

未能安装包“Microsoft.VisualStudio.VsWebProtocolSelector.Msi,version=18.8.11829.241”。

搜索 URL

    https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.VsWebProtocolSelector.Msi;PackageAction=Install;ReturnCode=1714

详细信息

    MSI: d:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.VsWebProtocolSelector.Msi,version=18.8.11829.241\Microsoft.VisualStudio.VsWebProtocolSelector.Msi.msi,属性:  REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1  MSIFASTINSTALL="7"  VSEXTUI="1"  VSFOLDER="C:\Program Files (x86)\Microsoft Visual Studio\Shared" 

    返回代码: 1603

    返回代码详细信息: 安装时发生严重错误

    消息 ID: 1714

    消息详细信息: The older version of vs_vswebprotocolselectormsi cannot be removed.  Contact your technical support group.  

日志

    X:\Local\Temp\dd_setup_20260720121836_035_Microsoft.VisualStudio.VsWebProtocolSelector.Msi.log

受影响的工作负载

    Visual Studio 核心编辑器 (Microsoft.VisualStudio.Workload.CoreEditor,version=18.8.11829.241)

受影响的组件

    Visual Studio 核心编辑器 (Microsoft.VisualStudio.Component.CoreEditor,version=18.8.11901.359)

09D1FB42-9DB3-47f1-A2B3-129B4E647B07

Developer technologies | Visual Studio | Setup
0 comments No comments

1 answer

Sort by: Most helpful
  1. Varsha Dundigalla(INFOSYS LIMITED) 5,185 Reputation points Microsoft External Staff
    2026-07-20T09:08:05.63+00:00

    Thank you for sharing the error details.

    The error indicates that Visual Studio cannot remove an older version of the VsWebProtocolSelector component, which is blocking the installation.

    As a first step, please try the following:

    1. Open Visual Studio Installer and select Repair for the existing Visual Studio installation, if available.
    2. If the repair does not help, run the InstallCleanup.exe tool to remove incomplete or corrupted Visual Studio installation data.
    • Open an elevated Command Prompt.
      • Navigate to:
             C:\Program Files (x86)\Microsoft Visual Studio\Installer
        
        • Run:
             InstallCleanup.exe -f
        
        1. Restart the machine.
        2. Download the latest Visual Studio installer and try the installation again.

    If the issue still persists after these steps, please share the log file mentioned in the error:

    X:\Local\Temp\dd_setup_20260720121836_035_Microsoft.VisualStudio.VsWebProtocolSelector.Msi.log
    

    This will help identify why the older MSI package cannot be removed.

    Was this answer helpful?

    0 comments No comments

Your answer

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