【问题标题】:Package 'Win10SDK_10.0.15063.UWP,version=10.0.15063.19' failed to install包“Win10SDK_10.0.15063.UWP,version=10.0.15063.19”安装失败
【发布时间】:2018-01-14 08:31:49
【问题描述】:

尝试修改和安装 Visual Studio 2017 组件时出现以下错误。

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:\Users\kusal\AppData\Local\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:

【问题讨论】:

    标签: .net visual-studio xamarin uwp


    【解决方案1】:

    (1) 当下载的安装程序文件损坏或在安装过程中出错时会发生这种情况。

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

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

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-01-26
    • 2012-09-01
    • 2021-12-16
    • 2011-03-19
    • 2016-04-11
    • 2016-06-24
    相关资源
    最近更新 更多