Visual Studio 2017 RC 安装错误 "The specified account already exists."

Visual Studio 2017 RC Install Error "The specified account already exists."

当我尝试安装 Visual Studio 2017 RC 时出现此错误:

[1764:001d][2016-11-20T10:14:21] Package 'Microsoft.Ancm.IISExpress.Msi,version=1.0.1967,chip=x64' failed to repair. MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Ancm.IISExpress.Msi,version=1.0.1967,chip=x64\ancm_iis_express_x64_en.msi, Properties:  REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1  ALLUSERS="1"  MSIFASTINSTALL="7"  REINSTALL=ALL  REINSTALLMODE="cmuse" IGNOREDEPENDENCIES=ALL , Return code: 1316, Details: The specified account already exists.

安装过程显示(设置失败)进度为 94%,但出现上述日志错误 谁能帮我解决这个问题?

这也发生在我身上,原因是 Visual Studio 2017 安装程序无法卸载现有的 IIS Express 包。试试这个:

  1. 退出 VS 2017 安装程序并转到此位置 "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Ancm.IISExpress.Msi,version=1.0.1967,chip=x64"

    1. 必须有一个名为 "ancm_iis_express_x64_en.msi" 的 .msi 文件。 运行 msi 并删除组件(必须有删除选项)。

    2. 完成后再次重新启动 VS 2017 安装程序,这一次您将解决此组件的问题。如果您遇到类似错误,请阅读错误信息,从 Packages 文件夹中跟踪包并卸载它。

请注意,卸载任何包都不会影响 VS 2015/2013 的现有包。

希望对您有所帮助。