I would like to install VS2015 in a drive different than C:. The problem is that when I run the installer, I can change instalation features, but I can't chage instalation path. The change path button is disabled and the path's input is disabled also.
Besides I have tryied to install VS from console shell but the path is also set to C:.
The command is >d:vs_enterprise.exe /CustomInstallPath "F:My new VS Dir" /full
Can somebody help me? Thanks in advance.
I found the solution in this forum. The problem is that I canceled a VS2015 installation because I didn’t change the default installation drive. Although the installation was canceled some components remained in my system (In the default installation drive) so I couldn’t change the installation path in the next installations. In order to solve this you must uninstall VS2015 completely through the console with this command:
D:vs_enterprise.exe /uninstall /force
And then you can install VS2015 again in any path.
原文转自 https://social.msdn.microsoft.com/Forums/vstudio/en-US/114e18df-ffc5-442d-86c1-3b2ad4b28e36/change-visual-studio-2015-enterprise-installation-path?forum=vssetup