visual-studio 在“D”驱动器上安装 Visual Studio 2008 Sp1

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8688/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 16:21:32  来源:igfitidea点击:

Install Visual Studio 2008 Sp1 on "D" Drive

visual-studiovisual-studio-2008visual-studio-2008-sp1

提问by JamesSugrue

I am trying to install VS2008 sp1 to my work machine - it has a pathetic 10Gb C drive. The SP1 bootstrapper doesn't give the option to install items to D, only C. It needs 3Gb free and the machine only has about 700Mb.

我正在尝试将 VS2008 sp1 安装到我的工作机器上 - 它有一个可怜的 10Gb C 驱动器。SP1 引导程序没有提供将项目安装到 D 的选项,只有 C。它需要 3Gb 免费并且机器只有大约 700Mb。

VS allowed me to install to D originally why not the SP. The only thing I can think of that it requires system files installed in Windows etc, but I can't believe there are 3Gb worth of system files?

VS本来就让我装到D为什么不装SP。我唯一能想到的是它需要在 Windows 等中安装系统文件,但我不敢相信有 3Gb 的系统文件?

回答by Chris

I was faced with the same problem, and ended up moving my Outlook archive.pst and the windows.edb (the new live search index file) over to D: to make room instead of trying to cram a square peg into a round hole with SP1 splitting drives. A huge help in this regard is WinDirStat, which scans a drive of your choice and identifies the size of every folder and file so that you can reveal some random large entities and move them if you can.

我遇到了同样的问题,最终将我的 Outlook archive.pst 和 windows.edb(新的实时搜索索引文件)移到 D: 以腾出空间,而不是试图将方钉塞进圆孔中SP1 拆分驱动器。在这方面,一个巨大的帮助是WinDirStat,它扫描您选择的驱动器并识别每个文件夹和文件的大小,以便您可以显示一些随机的大型实体并在可以时移动它们。

回答by Greg Malcolm

I also ran into the same problem on a server that only has 20gb on the C: drive. I found a way to free up enough space to get the job done by reassigned the system's virtual memory allocation to use D: drive instead of C:. This freed up about 4gb in my case.

我也在 C: 驱动器上只有 20GB 的服务器上遇到了同样的问题。我找到了一种方法,通过重新分配系统的虚拟内存分配来使用 D: 驱动器而不是 C: 来释放足够的空间来完成工作。在我的情况下,这释放了大约 4GB。

On Windows XP the place to set this is in My Computer system properties, Advanced tab, Performance Options: http://support.microsoft.com/kb/308417

在 Windows XP 上,可以在我的电脑系统属性、高级选项卡、性能选项中进行设置:http: //support.microsoft.com/kb/308417

回答by Greg Malcolm

I had the same problem with VS2008 installed on a C: drive that was only 12Gb in size.

我在 C: 驱动器上安装 VS2008 时遇到了同样的问题,该驱动器的大小仅为 12Gb。

I uninstalled VS2008 completely by following the manual steps in this page, and then by using the auto-uninstaller:

我按照本页中的手动步骤完全卸载了 VS2008,然后使用自动卸载程序:

http://msdn.microsoft.com/en-us/vstudio/bb968856.aspx

http://msdn.microsoft.com/en-us/vstudio/bb968856.aspx

I then rebooted the machine.

然后我重新启动了机器。

I then re-installed VS2008 on the E: drive.

然后我在 E: 驱动器上重新安装了 VS2008。

I then rebooted the machine.

然后我重新启动了机器。

I was then able to install SP1 - as now it did not need quite as much space on C: drive.

然后我就可以安装 SP1 - 因为现在它在 C: 驱动器上不需要那么多空间。

回答by Marek Grzenkowicz

If you have an empty partition, you can try to create a mounted drive(i.e. map the partition to an empty folder on the C: drive) and see whether the SP1 bootstrapper will be able to use it.

如果您有一个空分区,您可以尝试创建一个已挂载的驱动器(即将该分区映射到 C: 驱动器上的一个空文件夹)并查看 SP1 引导程序是否能够使用它。

回答by Mike Woodhouse

When you say "10Gb C drive", do you mean it's a 10-gig disk or a partition? If the former, you should really be looking at replacing the drive - it's old, and I'd be starting to worry about how much longer it has to live.

当您说“10Gb C 驱动器”时,您的意思是它是 10-gig 磁盘还是分区?如果是前者,你真的应该考虑更换驱动器 - 它已经旧了,我会开始担心它的寿命有多长。

If the latter, then assuming that the C: drive restriction can't easily be worked around, then I'd look at increasing the size of the C: partition. Depending on how full the remainder of the drive is, this can take a while. I'd also be considering spending some tens of dollars ($40 or $50, I'd guess) on a partition manager from someone such as Acronis or Paragon. Kick it off just before you finish work for the day - it may take several hours, especially if the disk's fairly full.

如果是后者,那么假设 C: 驱动器限制不能轻易解决,那么我会考虑增加 C: 分区的大小。根据驱动器剩余部分的容量,这可能需要一段时间。我还考虑在 Acronis 或 Paragon 等公司的分区管理器上花费数十美元(我猜是 40 美元或 50 美元)。在您完成一天的工作之前开始它 - 这可能需要几个小时,尤其是在磁盘相当满的情况下。

回答by Nidonocu

Are you in place upgrading your current version or have you uninstalled VS 2008 Gold? By default, the installer won't let you change the directory if any existing versions of VS are installed.

您是否已升级当前版本或是否已卸载 VS 2008 Gold?默认情况下,如果安装了任何现有版本的 VS,安装程序将不允许您更改目录。

To move the installation, you will need to uninstall all editions of 2008 you have installed (including any Express Editions) and then the choose installation location option should enable.

要移动安装,您需要卸载已安装的所有 2008 版本(包括任何 Express 版本),然后应启用选择安装位置选项。

回答by bruceatk

I vaguely recall having this happen to me when I had Office 2007 installed first before VS 2008. I don't remember what options that I had installed for Office 2007.

我依稀记得在 VS 2008 之前先安装 Office 2007 时发生过这种情况。我不记得我为 Office 2007 安装了哪些选项。

Update: I remember now it had to do with the fact that I had Visual Studio Tools for Office already installed. When I upgraded my computer I did a clean install of everything without problems by installing VS 2008 before installing Office 2007 and VSTO. So most likely you have to uninstall whatever is causing VS 2008 to want to go to a specific drive.

更新:我现在记得这与我已经安装了 Visual Studio Tools for Office 的事实有关。当我升级我的计算机时,我在安装 Office 2007 和 VSTO 之前通过安装 VS 2008 对所有内容进行了全新安装,没有任何问题。所以很可能你必须卸载导致 VS 2008 想要转到特定驱动器的任何东西。

Even if you do get it to switch drives it still is going to put a lot of stuff on the system drive.

即使你确实让它切换驱动器,它仍然会在系统驱动器上放置很多东西。

回答by SitWalkStand

You could also download the full VS2008 SP1 ISO image from here.

您还可以从这里下载完整的 VS2008 SP1 ISO 映像。

Then you can either burn it to DVD or use a tool such as Virtual CD-ROM Control Panel from Microsoftto mount the ISO as another drive.

然后您可以将其刻录到 DVD 或使用Microsoft 的虚拟 CD-ROM 控制面板等工具将 ISO 安装为另一个驱动器。

After mounting the ISO as a virtual drive, you can run the SP1 install from there.

将 ISO 安装为虚拟驱动器后,您可以从那里运行 SP1 安装。