Visual Studio 2017 Pro修复无法完成 [英] Visual Studio 2017 Pro repair does not complete

查看:173
本文介绍了Visual Studio 2017 Pro修复无法完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试多次向控制面板运行修复功能,并且正在完成警告。我将上传日志。

安装出了问题。 

您可以通过以下方式解决软件包故障:

1.使用下面的搜索URL搜索每个软件包故障的解决方案
2.修改受影响的选项工作负载或组件,然后重试安装
3.从您的计算机中删除产品,然后重新安装

如果已在开发者社区中报告该问题,您可以找到解决方案或解决方法那里。如果未报告此问题,我们建议您创建一个新问题,以便其他开发人员能够找到解决方案或解决方法。您可以使用"提供反馈"在右上角的Visual Studio安装程序中创建新问题。按钮。

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

包'微软。 VisualStudio.IISExpress.Msi,版本= 15.0.26621.2,chip = x64'无法修复。
搜索URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.IISExpress.Msi;PackageAction=Repair;ReturnCode=1316
详情
MSI: C:\ProgramData \ Microsoft \ VisualStudio \Packages\Microsoft.VisualStudio.IISExpress.Msi,version = 15.0.26621.2,chip = x64 \iisexpress_x64_en-US.msi,属性:REBOOT = ReallySuppress REINSTALL = ALL REINSTALLMODE = QUOT; cmuse" IGNOREDEPENDENCIES = ALL
返回代码:1603
返回代码详情:安装过程中出现致命错误。
消息ID:1316
消息详细信息:指定的帐户已存在。

Log
C:\ Users \ adilakshmi.brahmamda \ AppData \ Local \Temp \dd_setup_20171030155526_280_Microsoft.VisualStudio.IISExpress.Msi.log
受影响的工作量
.NET桌面开发(Microsoft.VisualStudio.Workload.ManagedDesktop,版本= 15.0.26606.0)
ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,版本= 15.0.26724.1)
Azure开发(Microsoft.VisualStudio.Workload.Azure,version = 15.0.26711.1)
数据存储和处理(Microsoft.VisualStudio.Workload.Data,version = 15.0.26621.2)
Office / SharePoint开发( Microsoft.VisualStudio.Workload.Office,version = 15.0.26720.2)
Python开发(Microsoft.VisualStudio.Workload.Python,版本= 15.0.26606.0)
受影响的组件
ASP.NET和Web开发工具(Microsoft.VisualStudio.Component.Web,version = 15.0.26606.0)
ASP.NET和Web开发工具(Micr osoft.VisualStudio.ComponentGroup.Web,version = 15.0.26606.0)
Azure云服务核心工具(Microsoft.VisualStudio.Component.Azure.Waverton,版本= 15.0.26208.0)
Azure云服务工具(Microsoft .VisualStudio.ComponentGroup.Azure.CloudServices,version = 15.0.26504.0)
Azure Data Lake和Stream Analytics工具(Microsoft.Component.Azure.DataLake.Tools,version = 15.0.26730.0)
Azure开发先决条件(Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version = 15.0.26711.1)
Azure Resource Manager核心工具(Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version = 15.0.26504.0)
Azure资源管理器工具(Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version = 15.0.26711.1)
Cloud Explorer(Microsoft.VisualStudio.Component.CloudExplorer,version = 15.0.26711.1)
IIS Express( Microsoft.VisualStudio.Component.IISExpress,version = 15.0.26208.0)
Microsoft Azure WebJobs工具(Component.Microsoft.VisualStudio.Web.AzureFunctions,version = 15.0.26720.2)
Microsoft Azure WebJobs工具(Microsoft.VisualStudio.ComponentGroup.AzureFunctions,version = 15.0.26720.2)
Office Developer用于Visual Studio的工具(Microsoft.VisualStudio.Component.Sharepoint.Tools,version = 15.0.26606.0)
Windows Communication Foundation(Microsoft.VisualStudio.Component.Wcf.Tooling,version = 15.0.26606.0)
Windows Workflow Foundation(Microsoft.VisualStudio.Component.Workflow,version = 15.0.26606.0)

解决方案

您好LakshmiB,


感谢您在MSDN论坛上发帖。


根据您的日志,安装失败,VS安装程序可能已损坏。


对于此问题,请尝试按照以下步骤进行故障排除:


1。尝试删除以下已安装的文件夹:


%ProgramData%\ Microsoft &\\VisualStudio 并删除
'包'
文件夹和'设置' 


%ProgramFiles(x86)%\ Mesrosoft Visual Studio )并删除文件夹'2017'


2。使用  Visual
Studio卸载程序
多次执行干净卸载。


3。运行
修复它
用于解决阻止程序被安装或删除的问题的工具。


之后,确保Windows更新是最新的,清理%temp %文件夹并暂时禁用所有防病毒软件,重新启动计算机并再次以管理员身份重新运行VS 2017 RTM安装程序。


参考:
安装Visual Studio 2017


最好的问候,


I tried to run the repair function several times to the control panel and it is completing with warnings. I will upload the log.

Something went wrong with the install.

You can troubleshoot the package failures by:

    1. Search for solutions using the search URL below for each package failure
    2. Modify your selections for the affected workloads or components and then retry the installation
    3. Remove the product from your machine and then install again

If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.

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

Package 'Microsoft.VisualStudio.IISExpress.Msi,version=15.0.26621.2,chip=x64' failed to repair.
    Search URL
        https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.IISExpress.Msi;PackageAction=Repair;ReturnCode=1316
    Details
        MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.IISExpress.Msi,version=15.0.26621.2,chip=x64\iisexpress_x64_en-US.msi, Properties:  REBOOT=ReallySuppress  REINSTALL=ALL  REINSTALLMODE="cmuse" IGNOREDEPENDENCIES=ALL 
        Return code: 1603
        Return code details: Fatal error during installation.
        Message Id: 1316
        Message Details: The specified account already exists.

    Log
        C:\Users\adilakshmi.brahmamda\AppData\Local\Temp\dd_setup_20171030155526_280_Microsoft.VisualStudio.IISExpress.Msi.log
    Impacted workloads
        .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26606.0)
        ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26724.1)
        Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26711.1)
        Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.0.26621.2)
        Office/SharePoint development (Microsoft.VisualStudio.Workload.Office,version=15.0.26720.2)
        Python development (Microsoft.VisualStudio.Workload.Python,version=15.0.26606.0)
    Impacted components
        ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26606.0)
        ASP.NET and web development tools (Microsoft.VisualStudio.ComponentGroup.Web,version=15.0.26606.0)
        Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=15.0.26208.0)
        Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version=15.0.26504.0)
        Azure Data Lake and Stream Analytics Tools (Microsoft.Component.Azure.DataLake.Tools,version=15.0.26730.0)
        Azure development prerequisites (Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version=15.0.26711.1)
        Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=15.0.26504.0)
        Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=15.0.26711.1)
        Cloud Explorer (Microsoft.VisualStudio.Component.CloudExplorer,version=15.0.26711.1)
        IIS Express  (Microsoft.VisualStudio.Component.IISExpress,version=15.0.26208.0)
        Microsoft Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctions,version=15.0.26720.2)
        Microsoft Azure WebJobs Tools (Microsoft.VisualStudio.ComponentGroup.AzureFunctions,version=15.0.26720.2)
        Office Developer Tools for Visual Studio (Microsoft.VisualStudio.Component.Sharepoint.Tools,version=15.0.26606.0)
        Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26606.0)
        Windows Workflow Foundation (Microsoft.VisualStudio.Component.Workflow,version=15.0.26606.0)

解决方案

Hi LakshmiB,

Thank you for posting in MSDN forum.

According to your log, the installation was failed at first, the VS installer could be corrupted.

For this issue, please try with following steps to troubleshoot:

1. Try to delete the following installed folders:

%ProgramData%\Microsoft\VisualStudio and delete the ‘Packages’ folder and ‘Setup’ 

%ProgramFiles(x86)%\Microsoft Visual Studio) and delete the folder ‘2017’

2. Use Visual Studio Uninstaller for several times to do a clean uninstallation.

3. Run Fix it tool to fix problems that block programs from being installed or removed.

After that, make sure windows update is up-to-date, clean up the %temp% folder and temporarily disable any antivirus software, reboot the computer and re-run the VS 2017 RTM installer as administrator again.

Reference: Install Visual Studio 2017

Best Regards,


这篇关于Visual Studio 2017 Pro修复无法完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆