Visual Studio 安装路径变灰 [英] Visual studio installation path grayed out

查看:38
本文介绍了Visual Studio 安装路径变灰的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不得不重新格式化我的一个驱动器 (T:) 并更改其用途.我在上面安装了 Visual Studio 2015,在格式化之前卸载了它,现在驱动器有一个不同的字母(无法更改,安装了其他东西).我想再次安装 Visual Studio 2015,但安装在 C: 驱动器上.当我运行安装时,我得到这个:

T: 驱动器不存在了,我无法将安装路径更改为另一个驱动器.

我尝试了一些必须删除注册表项的解决方案,但没有成功,因为大多数解决方案都适用于旧版本的 Visual Studio.有没有办法改变路径?

解决方案

Run installer in command line (Admin Mode) 在文件夹中保留文件 vs_community_ENU.exe

并把这个命令

vs_community_ENU.exe/uninstall/force

然后把这个

vs_community_ENU/CustomInstallPath C:VisualStudio2015

<块引用>

NewDrive:VisualStudio2015

它对我有用

希望能帮到你

I had to reformat one of my drives (T:) and change its purpose. I had Visual studio 2015 installed on it, uninstalled it before formatting and now the drive has a different letter (can't change it, other things installed on it). I want to install visual studio 2015 again, but on the C: drive. When I run the installation, I get this:

The T: drive doesn't exist anymore, and I can't change the installation path to another drive.

I tried some solutions where I had to delete registry keys, but didn't succeed since most of the solutions were for older versions of visual studio. Is there a way to change the path?

解决方案

Run installer in command line (Admin Mode) In folder keep File vs_community_ENU.exe

and put this command

vs_community_ENU.exe /uninstall /force

Then put this

vs_community_ENU /CustomInstallPath C:VisualStudio2015

NewDrive:VisualStudio2015

it work for me

Hope this helps

这篇关于Visual Studio 安装路径变灰的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆