2017-08-07 44 views
0

我在尝试修改Visual Studio 2017组件并安装时遇到以下错误。包'Win10SDK_10.0.15063.UWP,版本= 10.0.15063.19'未能安装

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

Incomplete workloads 
    Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26403.0) 
    Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0) 

Incomplete components 
    Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26412.1) 
    Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26403.0) 
    Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0) 
    Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS (Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP,version=15.0.26419.1) 

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 'Win10SDK_10.0.15063.UWP,version=10.0.15063.19' failed to install. 
    Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Win10SDK_10.0.15063.UWP;PackageAction=Install;ReturnCode=15605 
    Impacted workloads 
     Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26403.0) 
     Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0) 
    Impacted components 
     Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26412.1) 
     Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.26403.0) 
     Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0) 
     Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS (Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP,version=15.0.26419.1) 
    Log 
     C:\Users\kusal\AppData\Local\Temp\dd_setup_20170807105817_001_Win10SDK_10.0.15063.UWP.log 
    Details 
     Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NonInteractive -NoLogo -NoProfile -ExecutionPolicy Bypass -InputFormat None "$ErrorActionPreference="""Stop"""; $VerbosePreference="""Continue"""; $ScriptPath="""C:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.15063.UWP,version=10.0.15063.19\WinSdkInstall.ps1"""; $SetupExe="""winsdksetup.exe"""; $SetupLogFolder="""windowssdk"""; $PackageId="""Win10SDK_10.0.15063.UWP"""; $LogFile="""C:\Users\kusal\AppData\Local\Temp\dd_setup_20170807105817_001_Win10SDK_10.0.15063.UWP.log"""; $SetupParameters="""/features OptionId.AvrfExternal OptionId.UWPManaged OptionId.WindowsSoftwareLogoToolkit OptionId.SigningTools OptionId.UWPLocalized /quiet /norestart"""; (gc $ScriptPath | out-string) | Invoke-Expression; if (!$?) { exit 1603 } elseif ($LastExitCode) { exit $LastExitCode }" 
     Return code: 15605 
     Return code details: There was a problem downloading your product. 

错误日志在C:\用户\ kusal \应用程序数据\本地\ TEMP \ dd_setup_20170807105817_001_Win10SDK_10.0.15063.UWP.log:

Creating target folder C:\Users\kusal\AppData\Local\Temp\Win10SDK_10.0.15063.UWP_1205818002. 
Launching 'winsdksetup.exe' with arguments '/features OptionId.AvrfExternal OptionId.UWPManaged OptionId.WindowsSoftwareLogoToolkit OptionId.SigningTools OptionId.UWPLocalized /quiet /norestart /Log "C:\Users\kusal\AppData\Local\Temp\windowssdk\dd_setup_20170807105817_001_Win10SDK_10.0.15063.UWP.winsdksetup.log"'. 
Waiting for child process to terminate. 
Child process terminated with exit code 15605. 
Unknown exit code detected. Printing main log file: 

回答

0

(1)这种情况发生时所下载安装程序文件是损坏或在安装过程中发生错误。

您可以在安装/修改过程中跳过“Windows SDK”,并单独安装SDK。从 下载SDK https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

(2)您的防病毒防护或防火墙也可能阻止安装。禁用并检查。

+0

你可以请回答这一个:https://stackoverflow.com/questions/47723682/what-c​​omponents-i-need-to-create-vs-2017-offline-layout-for-uwp-development –