2017-02-03 285 views
1

是其上嘗試安裝Microsoft Visual Studio 2017 RC每當我試圖通過安裝該程序,中途出現問題,程序上寫着:安裝 - 的Visual Studio 2017年RC

「該產品未能將 到期的工作負載和組件安裝到一個或多個程序包故障。「

有無論如何我可以解決這個問題或繞過嗎?我不能簡單地安裝Visual Studio。下面是返回的命令列表。我該如何解決?我已經嘗試卸載所有東西,我似乎無法找到任何東西

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.26127.0) 
    .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26127.0) 
    ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26127.0) 
    Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26109.1) 
    Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.0.26127.0) 
    Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26109.1) 
    Game development with C++ (Microsoft.VisualStudio.Workload.NativeGame,version=15.0.26127.0) 
    Mobile development with .NET (Preview) (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26127.3) 
    Mobile development with JavaScript (Microsoft.VisualStudio.Workload.WebCrossPlat,version=15.0.26109.1) 
    Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26109.1) 
    Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26109.1) 

Incomplete components 
    .NET Core runtime (Microsoft.Component.NetFX.Core.Runtime,version=15.0.26109.1) 
    .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=15.0.26109.1) 
    .NET Portable Library targeting pack (Microsoft.VisualStudio.Component.PortableLibrary,version=15.0.26109.1) 
    ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26127.0) 
    Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=15.0.26109.1) 
    Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version=15.0.26004.1) 
    Azure Data Lake Tools (Microsoft.Component.Azure.DataLake.Tools,version=15.0.26109.1) 
    Azure development prerequisites (Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version=15.0.26109.1) 
    Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=15.0.26109.1) 
    Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=15.0.26109.1) 
    Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26004.1) 
    Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=15.0.26109.1) 
    Redgate SQL Search (Component.Redgate.SQLSearch,version=15.0.26127.0) 
    SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.0.26109.1) 
    Universal Windows Platform tools (2.0) (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26127.0) 
    Universal Windows Platform tools for Cordova (2.0) (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26109.1) 
    Universal Windows Platform tools for Xamarin (2.0) (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26109.1) 
    Visual Studio extension development prerequisites (Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites,version=15.0.26004.1) 
    Windows 10 SDK (10.0.14393.0) (Microsoft.VisualStudio.Component.Windows10SDK.14393,version=15.0.26127.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.PortableLibrary.TargetingPack.Msi.Resources,version=15.0.26109.1,language=en-US' failed to install. 
    Search URL: aka(DOT - Need 10 Reputations)ms/VSSetupErrorReports?q=PackageId=Microsoft.PortableLibrary.TargetingPack.Msi.Resources;PackageAction=Install;ReturnCode=1714 
    Impacted workloads 
     .NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26127.0) 
     .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26127.0) 
     ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26127.0) 
     Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26109.1) 
     Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.0.26127.0) 
     Mobile development with .NET (Preview) (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26127.3) 
     Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26109.1) 
     Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26109.1) 
    Impacted components 
     .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=15.0.26109.1) 
     .NET Portable Library targeting pack (Microsoft.VisualStudio.Component.PortableLibrary,version=15.0.26109.1) 
     ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26127.0) 
     Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=15.0.26109.1) 
     Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version=15.0.26004.1) 
     Azure Data Lake Tools (Microsoft.Component.Azure.DataLake.Tools,version=15.0.26109.1) 
     Azure development prerequisites (Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version=15.0.26109.1) 
     Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=15.0.26109.1) 
     Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=15.0.26109.1) 
     Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26004.1) 
     Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=15.0.26109.1) 
     Redgate SQL Search (Component.Redgate.SQLSearch,version=15.0.26127.0) 
     SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.0.26109.1) 
     Universal Windows Platform tools (2.0) (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26127.0) 
     Visual Studio extension development prerequisites (Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites,version=15.0.26004.1) 
    Log 
     C:\Users\Vishwadeep Singh.VishwadeepSingh\AppData\Local\Temp\dd_setup_20170201205921_131_Microsoft.PortableLibrary.TargetingPack.Msi.Resources.log 
    Details 
     MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.PortableLibrary.TargetingPack.Msi.Resources,version=15.0.26109.1,language=en-US\portablelibrary_dtplp_sfx.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL="7" VSEXTUI="1" EXTUI="1" 
     Return code: 1714 
     Return code details: The older version of Microsoft Portable Library Multi-Targeting Pack Language Pack - enu cannot be removed. Contact your technical support group. 

Package 'Microsoft.Net.CoreSDK.50,version=1.0.23907' failed to install. 
    Search URL: aka(DOT - Need 10 Reputations)ms/VSSetupErrorReports?q=PackageId=Microsoft.Net.CoreSDK.50;PackageAction=Install;ReturnCode=1714 
    Impacted workloads 
     .NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26127.0) 
     .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26127.0) 
     ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26127.0) 
     Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26109.1) 
     Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.0.26127.0) 
     Mobile development with .NET (Preview) (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26127.3) 
     Mobile development with JavaScript (Microsoft.VisualStudio.Workload.WebCrossPlat,version=15.0.26109.1) 
     Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26109.1) 
     Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26109.1) 
    Impacted components 
     .NET Core runtime (Microsoft.Component.NetFX.Core.Runtime,version=15.0.26109.1) 
     .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=15.0.26109.1) 
     .NET Portable Library targeting pack (Microsoft.VisualStudio.Component.PortableLibrary,version=15.0.26109.1) 
     ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26127.0) 
     Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=15.0.26109.1) 
     Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version=15.0.26004.1) 
     Azure Data Lake Tools (Microsoft.Component.Azure.DataLake.Tools,version=15.0.26109.1) 
     Azure development prerequisites (Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version=15.0.26109.1) 
     Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=15.0.26109.1) 
     Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=15.0.26109.1) 
     Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26004.1) 
     Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=15.0.26109.1) 
     Redgate SQL Search (Component.Redgate.SQLSearch,version=15.0.26127.0) 
     SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.0.26109.1) 
     Universal Windows Platform tools (2.0) (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26127.0) 
     Universal Windows Platform tools for Cordova (2.0) (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26109.1) 
     Visual Studio extension development prerequisites (Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites,version=15.0.26004.1) 
    Log 
     C:\Users\Vishwadeep Singh.VishwadeepSingh\AppData\Local\Temp\dd_setup_20170201205921_132_Microsoft.Net.CoreSDK.50.log 
    Details 
     MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Net.CoreSDK.50,version=1.0.23907\netfx_NETCoreSDK.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL="7" 
     Return code: 1714 
     Return code details: The older version of Microsoft NetStandard SDK cannot be removed. Contact your technical support group. 

Package 'Win10SDK_10.0.14393.795,version=10.0.14393.79500' failed to install. 
    Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Win10SDK_10.0.14393.795;PackageAction=Install;ReturnCode=-2147023293 
    Impacted workloads 
     Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26109.1) 
     Game development with C++ (Microsoft.VisualStudio.Workload.NativeGame,version=15.0.26127.0) 
     Mobile development with .NET (Preview) (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26127.3) 
     Mobile development with JavaScript (Microsoft.VisualStudio.Workload.WebCrossPlat,version=15.0.26109.1) 
     Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26109.1) 
    Impacted components 
     Universal Windows Platform tools (2.0) (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26127.0) 
     Universal Windows Platform tools for Cordova (2.0) (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26109.1) 
     Universal Windows Platform tools for Xamarin (2.0) (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26109.1) 
     Windows 10 SDK (10.0.14393.0) (Microsoft.VisualStudio.Component.Windows10SDK.14393,version=15.0.26127.0) 
    Log 
     C:\Users\Vishwadeep Singh.VishwadeepSingh\AppData\Local\Temp\dd_setup_20170201205921_164_Win10SDK_10.0.14393.795.log 
    Details 
     Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.14393.795,version=10.0.14393.79500\WinSdkInstall.ps1""" -SetupExe sdksetup.exe -SetupLogFolder standalonesdk -PackageId Win10SDK_10.0.14393.795 -LogFile """C:\Users\Vishwadeep Singh.VishwadeepSingh\AppData\Local\Temp\dd_setup_20170201205921_164_Win10SDK_10.0.14393.795.log""" -SetupParameters """/features OptionId.WindowsSoftwareDevelopmentKit OptionId.WindowsSoftwareLogoToolkit OptionId.NetFxSoftwareDevelopmentKit /quiet /norestart"""; exit $LastExitCode" 
     Return code: -2147023293 
     Return code details: Fatal error during installation. 
+0

進入控制面板 - 程序和功能,右鍵點擊「 Microsoft Visual Studio 2017「,然後選擇」卸載「,然後刪除安裝文件夾:%ProgramData%\ Microsoft \ VisualStudio \ Packages和%ProgramFiles(x86)%\ Microsoft Visual Studio \ 2017。重新啓動計算機並下載疑難解答工具:https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed以運行它。以管理員身份重新運行VS 2017安裝程序進行安裝。 –

+0

同時,在下次全新安裝之前,請確保windows update是最新的,暫時禁用防病毒軟件,清理%temp%文件夾並以管理員身份重新運行VS 2017。如果安裝仍然失敗,請使用http://aka.ms/vscollect收集安裝日誌,您將在%temp%文件夾下找到vslogs.zip,將其上傳到https://onedrive.live.com/並共享鏈接。 –

+0

@ Sara-MSFT我和VS 2017有類似的問題,你的指示不起作用。這是在推動人們的堅果。我的Windows 10是最新的。 –

回答

1

這仍然是RTM安裝程序的問題。這些線給您的相關信息:

C:\ ProgramData \微軟\ VisualStudio的\包\ Microsoft.PortableLibrary.TargetingPack.Msi.Resources,版本= 15.0.26109.1,語言= EN-US \ portablelibrary_dtplp_sfx.msi ,屬性:重新啓動= REALLYSUPPRESS ARPSYSTEMCOMPONENT = 1 MSIFASTINSTALL = 「7」 VSEXTUI = 「1」 EXTUI = 「1」

返回代碼:1714點

返回代碼的詳細信息:舊版本的Microsoft可移植庫多目標的Pack Language Pack - enu無法刪除。請聯繫您的技術支持組

C:\ ProgramData \微軟\ VisualStudio的\包\ Microsoft.Net.CoreSDK.50,版本= 1.0.23907 \ netfx_NETCoreSDK.msi,屬性:重新啓動= REALLYSUPPRESS ARPSYSTEMCOMPONENT = 1個MSIFASTINSTALL = 「7」

返回代碼:1714點

返回代碼的詳細信息:老版本的Microsoft NetStandard SDK不能被刪除。請聯繫您的技術支持小組。

爲什麼會出現這種情況有很多種原因,但我最懷疑的是刪除了相關的MSI,或許是爲了釋放像CCleaner這樣的磁盤空間。最簡單的方法是通過Windows安裝程序清理工具 - 微軟以其無限的智慧決定不再分發(因爲'格式化和重新安裝'是一個更好的解決方案)。幸運的是,仍然反映了存在如通過MajorGeeks:

http://www.majorgeeks.com/files/details/windows_installer_cleanup_utility.html

安裝並運行該工具來獲取所有與Windows安裝程序註冊的包的列表,像這樣:

enter image description here

選擇阻止您的VS安裝進行和刪除的軟件包。現在您可以自由嘗試再次安裝,並查看您接下來會遇到的其他問題。

當您完成後,不要忘記感謝微軟澄清創新的新方法,使開發人員的生活更加困難:

enter image description here

+0

謝謝,開始失去這個安裝病人! – Flinkman

相關問題