1

I installed Visual Studio 2010 and applied SP1 and then my HDD died and I had to uninstall and install Visual Studio.

Now trying to apply SP1 again however the installer gets stuck. When I check the logs, this is the error :

INSTALLMESSAGE_OUTOFDISKSPACE

It's trying to check the disk space in a non-existent volume (D:) in this case instead of the new volume of installation and gets in a recursive loop.

The following repeats itself thousands times in the logs

Returning IDCANCEL. INSTALLMESSAGE_OUTOFDISKSPACE [Out of disk space -- Volume: 'D:'; required space: 7,090 KB; available space: 0 KB. Free some disk space and retry.]
Returning IDNO. INSTALLMESSAGE_USER [Are you sure you want to cancel?]
Returning IDCANCEL. INSTALLMESSAGE_OUTOFDISKSPACE [Out of disk space -- Volume: 'D:'; required space: 7,090 KB; available space: 0 KB. Free some disk space and retry.]
Returning IDNO. INSTALLMESSAGE_USER [Are you sure you want to cancel?]
Returning IDCANCEL. INSTALLMESSAGE_OUTOFDISKSPACE [Out of disk space -- Volume: 'D:'; required space: 7,090 KB; available space: 0 KB. Free some disk space and retry.]
Returning IDNO. INSTALLMESSAGE_USER [Are you sure you want to cancel?]
Returning IDCANCEL. INSTALLMESSAGE_OUTOFDISKSPACE [Out of disk space -- Volume: 'D:'; required space: 7,090 KB; available space: 0 KB. Free some disk space and retry.]
Returning IDNO. INSTALLMESSAGE_USER [Are you sure you want to cancel?]

I tried Microsoft Fix it for cleanup uninstall but didn't work, it's still same.

What's the way to actually clean up after Visual Studio SP1 so it won't look at the previous installation directory?

4

2 回答 2

0

正确的文档实际上是从原始 SP1下载站点的 ReadMe 中获得的:

看:

  • 2.2. 卸载,和
    • 2.2.1。如果卸载 Visual Studio 2010 Service Pack 1,则必须重新安装 Visual Studio 2010 才能恢复某些组件

“阅读本自述文件中的 2.2.1。有关如何在卸载 SP1 后重新安装 Visual Studio 2010 的说明。重新安装 Visual Studio 2010 后,重新应用 SP1。”

我认为这可能会解决您的服务包问题。

于 2012-07-24T14:49:49.380 回答
0

对于将来遇到此错误的任何人,我遇到了这个问题并解决了它:

1)虽然可能没有硬盘驱动器卷 D:,如果你看到这个,你可能有一个分配了该驱动器号的光驱(这就是它可以找到 D,但有 0 个字节空闲的原因)。暂时将光驱重新分配给另一个盘符,安装应继续。

2) 当您使用它时,您可能想要获得像 Registry Workshop 这样的第三方工具,以便您可以搜索所有 Visual Studio 2010 中所有具有指向驱动器 D: 的路径的键,然后将其删除。

3) 写信给微软并指出对他们来说是多么荒谬 a) 滥用注册表以获得他们应该使用 AppData 文件夹的东西,b) 没有创建适当的工具来清除产品的所有注册表项(他们现有的独立卸载程序几乎所有键都保持不变),c)编写安装程序,完全吞下错误消息而不提醒用户,迫使他们挖掘日志文件,以及 d)作为一个整体的注册表系统。

于 2013-03-09T17:39:15.850 回答