Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2010 如何清理Visual Studio SP1安装?_Visual Studio 2010 - Fatal编程技术网

Visual studio 2010 如何清理Visual Studio SP1安装?

Visual studio 2010 如何清理Visual Studio SP1安装?,visual-studio-2010,Visual Studio 2010,我安装了VisualStudio2010并应用了SP1,然后我的硬盘死了,我不得不卸载并安装VisualStudio 现在再次尝试应用SP1,但是安装程序被卡住了。当我检查日志时,出现以下错误: INSTALLMESSAGE\u OUTOFDISKSPACE 在本例中,它试图检查不存在的卷(D:)中的磁盘空间,而不是新的安装卷,并进入递归循环 以下内容在日志中重复数千次 Returning IDCANCEL. INSTALLMESSAGE_OUTOFDISKSPACE [Out of disk

我安装了VisualStudio2010并应用了SP1,然后我的硬盘死了,我不得不卸载并安装VisualStudio

现在再次尝试应用SP1,但是安装程序被卡住了。当我检查日志时,出现以下错误:

INSTALLMESSAGE\u OUTOFDISKSPACE

在本例中,它试图检查不存在的卷(D:)中的磁盘空间,而不是新的安装卷,并进入递归循环

以下内容在日志中重复数千次

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?]
我尝试了Microsoft修复它进行清理卸载,但没有成功,它仍然是一样的


在Visual Studio SP1之后,有什么方法可以真正进行清理,使其不会查看以前的安装目录?

正确的文档实际上是从原始SP1的自述文件中获得的:

见:

  • 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


我认为这可能会解决您在service pack中的问题。

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

1) 虽然可能没有硬盘驱动器卷D:,但如果您看到这一点,您可能有一个分配了该驱动器号的光盘驱动器(这就是为什么它可以找到D,但有0个字节可用)。暂时将光盘驱动器重新分配到另一个字母,安装应继续

2) 在进行此操作时,您可能希望获得诸如Registry Workshop之类的第三方工具,以便可以搜索路径指向驱动器D:的所有Visual Studio 2010键,并将其删除


3) 写信给微软,告诉他们:a)滥用注册表用于他们本应使用AppData文件夹的事情,b)没有创建适当的工具来清除产品的所有注册表项(他们现有的独立卸载程序将保留几乎所有的注册表项不动),这对他们来说是多么可笑,c)编写安装程序,在不通知用户的情况下完全接收错误消息,迫使用户浏览日志文件;d)整个注册表系统。

我已经安装并重新安装了Visual Studio,但这并没有解决问题。