简体   繁体   English

Visual Studio 2017安装失败并出现软件包安装错误

[英]Visual Studio 2017 installation fails with package install error

I am attempting to install visual studio 2017. I get an error after the installation "Setup Operation Failed" 我正在尝试安装Visual Studio2017。安装“安装操作失败”后出现错误

Below is the install output log. 以下是安装输出日志。

The log reports this step failed: 日志报告此步骤失败:

Package 'Microsoft.VisualStudio.WebDeploy.Msi,version=15.0.26430.16,chip=x64' failed to install.

Log: 日志:

The product failed to install the listed workloads and components due to one or more package failures.

Incomplete workloads
    .NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26323.1)
    ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26412.1)

Incomplete components
    ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26323.1)
    Web Deploy (Microsoft.VisualStudio.Component.WebDeploy,version=15.0.26208.0)
    Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,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.VisualStudio.WebDeploy.Msi,version=15.0.26430.16,chip=x64' failed to install.
    Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.WebDeploy.Msi;PackageAction=Install;ReturnCode=1720
    Impacted workloads
        .NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26323.1)
        ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26412.1)
    Impacted components
        ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26323.1)
        Web Deploy (Microsoft.VisualStudio.Component.WebDeploy,version=15.0.26208.0)
        Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0)
    Log
        C:\Users\jawierzb\AppData\Local\Temp\2\dd_setup_20170731130217_255_Microsoft.VisualStudio.WebDeploy.Msi.log
    Details
        MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.WebDeploy.Msi,version=15.0.26430.16,chip=x64\webdeploy_x64.msi, Properties:  REBOOT=ReallySuppress 
        Return code: 1720
        Return code details: There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. 

It references a detail log file which is too large to fit here but I am scanning it trying to find anything relevant. 它引用了一个详细的日志文件,该文件太大而无法容纳在这里,但我正在对其进行扫描,试图找到任何相关的文件。

The root cause of this issue turned out to be a windows problem. 导致此问题的根本原因是Windows问题。 The WMI repository was corrupted. WMI存储库已损坏。 I re-installed windows and the install succeeded. 我重新安装了Windows,安装成功。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM