gpt4 book ai didi

visual-studio - 错误1316。指定的帐户已经存在。 Visual Studio 2017 : Failed to install package. Return Code 1603

转载 作者:行者123 更新时间:2023-12-03 07:40:47 24 4
gpt4 key购买 nike

需要为学校安装Visual Studio,但遇到此错误和另一个错误。

Visual Studio fails to install "Microsoft.Net.CoreUWP,version=1.1.32" and "Win10SDK_10.0.16299,version=10.0.16299.0".

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Log for "Microsoft.Net.CoreUWP,version=1.1.32" :
Package 'Microsoft.Net.CoreUWP,version=1.1.32' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.Net.CoreUWP;PackageAction=Install;ReturnCode=1316
Details
MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Net.CoreUWP,version=1.1.32\netfx_NETCoreUWP.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL="7"
Return code: 1603
Return code details: Fatal error during installation.
Message Id: 1316
Message Details: The specified account already exists.

Log
C:\Users\Kaleb\AppData\Local\Temp\dd_setup_20180123192925_162_Microsoft.Net.CoreUWP.log
Impacted workloads
Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.27128.1)
Impacted components
Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26906.1)
Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.27005.2)
Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.27005.2)


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Log for "Win10SDK_10.0.16299,version=10.0.16299.0" :
Package 'Win10SDK_10.0.16299,version=10.0.16299.0' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Win10SDK_10.0.16299;PackageAction=Install;ReturnCode=1316
Details
Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NonInteractive -NoLogo -NoProfile -ExecutionPolicy Bypass -InputFormat None "$ErrorActionPreference="""Stop"""; $VerbosePreference="""Continue"""; $CeipSetting="""on"""; $ScriptPath="""C:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.16299,version=10.0.16299.0\WinSdkInstall.ps1"""; $SetupExe="""winsdksetup.exe"""; $SetupLogFolder="""windowssdk"""; $PackageId="""Win10SDK_10.0.16299"""; $LogFile="""C:\Users\Kaleb\AppData\Local\Temp\dd_setup_20180123192925_181_Win10SDK_10.0.16299.log"""; $SetupParameters="""/features OptionId.AvrfExternal OptionId.UWPManaged OptionId.WindowsSoftwareLogoToolkit OptionId.SigningTools OptionId.UWPLocalized OptionId.UWPCPP OptionId.DesktopCPPx64 OptionId.DesktopCPPx86 OptionID.DesktopCPPARM OptionID.DesktopCPPARM64 OptionId.MSIInstallTools /quiet /norestart"""; (gc $ScriptPath | out-string) | Invoke-Expression; if (!$?) { exit 1603 } elseif ($LastExitCode) { exit $LastExitCode }"
Return code: 1316
Return code details: The specified account already exists.
Log
C:\Users\Kaleb\AppData\Local\Temp\dd_setup_20180123192925_181_Win10SDK_10.0.16299.log
Impacted workloads
Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.27102.0)
Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.27128.1)
Impacted components
Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26906.1)
Universal Windows Platform tools for Cordova (Microsoft.VisualStudio.ComponentGroup.UWP.Cordova,version=15.0.27005.2)
Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.27005.2)
Visual C++ tools for CMake (Microsoft.VisualStudio.Component.VC.CMake.Project,version=15.0.27019.1)
Windows 10 SDK (10.0.16299.0) for Desktop C++ [x86 and x64] (Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop,version=15.0.27128.1)
Windows 10 SDK (10.0.16299.0) for UWP: C#, VB, JS (Microsoft.VisualStudio.Component.Windows10SDK.16299.UWP,version=15.0.27128.1)
Windows 10 SDK (10.0.16299.0) for UWP: C++ (Microsoft.VisualStudio.Component.Windows10SDK.16299.UWP.Native,version=15.0.27128.1)

最佳答案

更新:

this page中,有一些有关Error 1316. the specified account already exists的信息:

Are you installing with full administrative rights? To make certain that you are, right-click the installer and select Run as administrator.


The next most likely explanation is some bad registry entries:

Microsoft offers a tool to solve these sorts of install and uninstall problems; please see Fix problems that block programs from being installed or removed.

When the fix-it tool asks what you're trying to install, select "not listed" unless you're installing the exact same version that was previously installed. For example, both 7.5.0 and 7.5.1 would show up as 7.5 in the list in the fix-it tool, but they are different installers so you would select "not listed" if you're installing 7.5.1 over 7.5.0.



旧版本:

如果上述解决方案对您不起作用,请阅读以下部分:

根据您提供的日志,在这种情况下,似乎»Visual Studio安装程序的需要从您的计算机上卸载 netfx_NETCoreUWP.msiWin10SDK,但是它不能这样做,因此您可以帮助手动卸载它们(但要冒风险):
  • 关闭Visual Studio安装程序
  • 转到C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Net.CoreUWP,version=1.1.32
  • 右键单击netfx_NETCoreUWP.msi,然后选择“卸载”。


  • 对于第二个错误,我认为您应该从Programs and Features打开Control Panel并从那里卸载Microsoft Software Development Kit - Windows 10.0.16299
  • 再次运行Visual Studio安装程序,然后继续。.
  • 关于visual-studio - 错误1316。指定的帐户已经存在。 Visual Studio 2017 : Failed to install package. Return Code 1603,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48413329/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com