更改默认程序目录时安装Visual Studio时出现问题. [英] Problem installing Visual studio when having changed the default program directory.

查看:99
本文介绍了更改默认程序目录时安装Visual Studio时出现问题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近有一台新计算机,其硬盘速度较慢,而ssd光盘较小,但速度较快.

我在ssd光盘上安装了Windows,但不想让它拥挤,所以我使用了发现的指导 在这里更改我的defaulot程序目录.

I recently got a new computer, with a slower hdd, and a faster, albeit smaller ssd disc.

I installed Windows on the ssd disc, but didn't want to crowd it too much, so I used the guidance found Here to change my defaulot program directory.

在安装Visual Studio(2010最终版)时,安装程​​序似乎将net安装到新的默认程序目录中 (E:\ program(x86)而不是默认目录(c:\ program files(x86).

When installing visual studio (2010, ultimate edition), it appears that the installer install do net to the new default program directory (E:\program(x86) instead of the default directory (c:\program files (x86)).

问题是Visual Studio似乎很难在c:\ program文件(x86)中搜索点网.

The problem is that visual studio seem to be hardvired to search for dot net in c:\program files (x86), and therefore, can't find MSBuild\microsoft.cpp\v4.0\platforms, which results in an error when I try to start a new project.

我尝试使用重新安装Visual Studio多次. 此工具,但尽管重新安装,却似乎无法正常工作.

I have tried reinstalling visual studio multiple times, using This utility, but can't seem to get it to work, despite reinstalling.

对此有任何修复程序吗?

Are there any fix for this?

edit:我试图将更改恢复到注册表,但是ProgramFilesDir的值是c:\ Program文件,而不是e:\ Program,尽管由于某些原因新安装程序仍遵循e:\ program. />

edit: I tried to revert my change to the registry, but the value of ProgramFilesDir is c:\Program files, not e:\Program, although new installers still follow to e:\program, for some reason.

推荐答案

不支持在安装Windows后更改Program Files目录. IIRC,此更改是在Vista中进行的.只能使用Windows的无人参与安装脚本来完成此操作.

Changing the Program Files directory after Windows is installed is not supported. IIRC, this change was made in Vista. It can only be done using an unattend installation script for Windows.

但是,您可以输入其他路径来安装Visual Studio 2012,或者单击该路径旁边的按钮以浏览位置.

However, you can type in a different path for where to install Visual Studio 2012, or click the button next to the path to browse for a location.

更改路径对您不起作用吗?

Does changing the path not work for you?


这篇关于更改默认程序目录时安装Visual Studio时出现问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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