在其他驱动器中安装Visual Studio 2015 [英] Install Visual studio 2015 in different drive

查看:109
本文介绍了在其他驱动器中安装Visual Studio 2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的C驱动器中没有空间.我想在D驱动器中安装VIsual Studio 2015.但是,当我单击exe文件并运行时,它仅显示C驱动器路径. 我如何在C盘中安装? 谁能帮我做到这一点? 谢谢..

I have no space in my C drive. I want to install VIsual studio 2015 in D drive. But when i click exe file and run it shows the C drive path only.. How can i install in C drive ? Can anyone help me to done this? Thank you..

推荐答案

这是因为一旦安装了一组共享组件,我们便会将所有其他组件安装到相同的目录结构中.解决方法是找到还安装了这些共享组件的产品并将其删除,请按照以下步骤从中摘录:

This is because once a set of shared components is installed, we install all the other components to the same directory structure. The workaround is to find the products that also installed these shared components and remove them, follow the steps as below extract from: https://blogs.msdn.microsoft.com/heaths/2015/07/14/how-to-install-visual-studio-to-another-directory-when-a-pre-release-is-installed/

  1. 下载并安装 http://psmsi.codeplex.com .这些是我为基于Windows Installer的安装的各种开发和故障排除操作而创建的通用PowerShell cmdlet.您无需抬高安装它们,尽管如果您预先抬高,则可以按机器安装它们(默认情况下按用户安装).

  1. Download and install http://psmsi.codeplex.com. These are general-purpose PowerShell cmdlets I created for all sorts of development and troubleshooting operations for Windows Installer-based installs. You do not need to elevate to install them, though if you pre-elevate you can install them per-machine (by default they are per-user).

打开提升的PowerShell命令提示符,然后运行以下命令以发现哪些产品已安装关键共享组件: get-msicomponentinfo'{777CBCAC-12AB-4A57-A753-4A7D23B484D3}'| get-msiproductinfo

Open an elevated PowerShell command prompt and run the following to discover which products have installed the key shared component: get-msicomponentinfo '{777CBCAC-12AB-4A57-A753-4A7D23B484D3}' | get-msiproductinfo

这篇关于在其他驱动器中安装Visual Studio 2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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