2017-08-07 80 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 –