2017-07-31 254 views
0

我试图安装Visual Studio 2017 我安装“失败的安装程序操作”后得到一个错误的Visual Studio 2017年安装失败,包安装错误

下面是安装输出日志。

日志报告这一步失败:

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

登录:

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. 

它引用了一个详细的日志文件,该文件是太大,无法在这里,但我扫描它试图找到任何有关。

+0

Pop打开日志文件并查看哪个软件包ID无法安装。它通常在日志结尾的最后几行。我总是用VS跑到这里(这是一个巨大的痛苦)。一旦找到ID,您可以在临时文件夹中找到该软件包,然后尝试手动安装它。 –

+0

运行MSI手动失败并出现错误。事件查看器提供了一些细节,我正在做一些调查,然后再报告 –

回答

0

这个问题的根本原因竟然是一个Windows问题。 WMI存储库已损坏。我重新安装了Windows,安装成功。

相关问题