Visual Studio 2017安装

Visual Studio 2017安装

问题描述:

我无法安装Visual Studio 2017.它开始安装然后停止 

I am unable to install visual studio 2017. It starts installing then stops 

如果选择不同,我会使用不同的文件名..

with different selection , i get different file names in use..

嗨talat,

Hi talat,

感谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

>>  返回代码详细信息:进程无法访问文件'C:\Program Files\VS \Common7 \IDE \ Private_Asmblyments \ System.Composition.AttributedModel.dll'因为它正由另一个进程使用。

在设置过程中进程,终止其他正在运行的应用程序,并以管理员身份运行安装程序。 该错误表示多个程序包无法加载和安装。在这种情况下,您可以尝试删除安装失败的
的现有VS 2017,如下所示:

During the setup process, kill other running application, and run the installer as administrator.The error indicates that several packages failed to load and install. In this situation, you can try to remove the existing VS 2017 that install failed before as below:

1。转到控制面板 - 程序和功能,如果有"Microsoft Visual Studio 2017",右键单击它并选择"卸载"

1. Go to Control Panel—Programs and Features, if there has ‘Microsoft Visual Studio 2017’, right click it and choose ‘Uninstall’

2。尝试删除以下已安装的文件夹:(您可以在进行任何修改之前备份这些文件夹,以防我们需要回滚)

2. Try to delete the following installed folders: (you can back up those folders before any modification, in case we need to roll back)

3. 转到文件夹: %ProgramData%\ Microsoft /\\VisualStudio
并删除'套餐'文件夹和'设置'
文件夹,如果有的话。

3. Go to the folder: %ProgramData%\Microsoft\VisualStudio and delete the ‘Packages’ folder and ‘Setup’ folder if there has.

4。转到Visual Studio安装文件夹(通常在 %ProgramFiles(x86)%\ Microsoft Visual Studio 下)并删除文件夹'2017'

4. Go to the Visual Studio installation folder (normally under %ProgramFiles(x86)%\Microsoft Visual Studio) and delete the folder ‘2017’

之后,确保Windows更新是最新的,清理%temp%文件夹并暂时禁用任何防病毒软件,重新启动计算机并重新运行VS 2017  RTM安装程序再次作为管理员。

After that, make sure windows update is up-to-date, clean up the %temp% folder and temporarily disable any antivirus software, reboot the computer and re-run the VS 2017 RTM installer as administrator again.

最好的问候,