none
【求助】 Microsoft visual studio 2008安装过程出现指定路径过长。(win7系统) RRS feed

  • 问题

    1. 安装过程中无法更改安装路径。默认是C:\Program Files\Microsoft Visual Studio 9.0\。提示是要卸载D8087907-E255-3A41-A46D-D0F798709C71} 这个程序。(我是新手也看不懂什么程序)
    2. 安装一半提示  错误:1320指定路径太长 c \program files\ Microsoft Visual Studio 9.0\common7
    3. 错误日志
    [04/06/11,11:22:12] Microsoft Visual Studio 2008 Professional Edition - CHS: [2] ERROR:错误 1320。指定的路径过长: C:\Program Files\Microsoft Visual Studio 9.0\Common7
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator 3.0 版 was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x86) was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x86) was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x86) was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x86) was not attempted to be installed.
    
    [04/06/11,11:22:35] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.
    
    [04/06/11,22:36:32] Microsoft Visual Studio 2008 Professional Edition - CHS: [2] ERROR:错误 1320。指定的路径过长: C:\Program Files\Microsoft Visual Studio 9.0\Common7
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator 3.0 版 was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x86) was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x86) was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x86) was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x86) was not attempted to be installed.
    
    [04/06/11,22:36:55] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.
    
    [04/06/11,22:39:00] Microsoft Visual Studio 2008 Professional Edition - CHS: [2] ERROR:错误 1320。指定的路径过长: C:\Program Files\Microsoft Visual Studio 9.0\Common7
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator 3.0 版 was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x86) was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x86) was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x86) was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x86) was not attempted to be installed.
    
    [04/06/11,22:39:18] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.
    
    [04/06/11,23:03:01] Microsoft Visual Studio 2008 Professional Edition - CHS: [2] ERROR:错误 1320。指定的路径过长: C:\Program Files\Microsoft Visual Studio 9.0\Common7
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 2.0 SP2 was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft .NET Compact Framework 3.5 was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库) was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime 语言包 was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Tools for the Microsoft Office system (3.0 版运行库)语言包 - CHS was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 设计工具 was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 For Devices was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Pocket PC was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Windows Mobile 5.0 SDK R2 for Smartphone was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft Device Emulator 3.0 版 was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2005 Express Edition (x86) was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Crystal Reports Basic for Visual Studio 2008 was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Crystal Reports Basic for Visual Studio 2008 语言包 was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Tools (x86) was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 Win32 Tools (x86) was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools (x86) was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft Windows SDK for Visual Studio 2008 SDK 引用程序集和 IntelliSense (x86) was not attempted to be installed.
    
    [04/06/11,23:03:26] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 was not attempted to be installed.
    
    

    2011年4月6日 15:04

答案

  • 你好,

    请问之前系统中是否安装过Visual Sutdio呢?

    你所提供的日志不是很完整,我们并不能从上面的日志中找到造成安装失败的原因。请先根据下面的步骤来收集完整的安装日志:

    1. 如果之前安装过VS的话,请检查 控制面板 >> 卸载程序 里是否有之前安装的VS残留下来的组件,如果有,先把他们卸载掉。
      可以参考这篇博客:http://blogs.msdn.com/b/joy/archive/2008/10/21/how-to-remove-visual-studio-2008-manually.aspx
    2. 临时禁用掉反病毒/杀毒软件;
    3. 安装最新的Windows更新:http://windowsupdate.microsoft.com
    4. 清空你的 %temp% 文件夹(开始菜单 》运行》输入 %temp%);
    5. 使用管理员身份安装Visual Studio:右键点击安装文件 》以管理员身份运行;
    6. 如果安装仍然失败的话,使用下面的日志收集工具来收集相关的日志文件:
      http://go.microsoft.com/?LinkId=8967044
    7. 工具运行完成后可以在 %temp% 文件夹里找到一个 vslogs.cab 文件。
    8. 把这个文件通过邮件发送给我(v-anwu_at_microsoft_dot_com)
      注意:请同时附上这篇帖子的链接在email中。

    另外,error 1320是一个Windows Installer的错误,也请你检查下机器上面的Windows Installer 服务是否正确:

    • 通过 开始菜单》运行》输入 services.msc》回车;
    • 在列表中找到 Windows Installer这一项,右键点击这一项。选择 属性;
    • 如果在 启动类型 被设置成了 禁用,将其修改为 手动 并点击确定;
    • 退出 服务 窗口。

    如果您有任何问题,随时与我们联系。


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    2011年4月9日 13:22
    版主

全部回复

  • 你好,

    请问之前系统中是否安装过Visual Sutdio呢?

    你所提供的日志不是很完整,我们并不能从上面的日志中找到造成安装失败的原因。请先根据下面的步骤来收集完整的安装日志:

    1. 如果之前安装过VS的话,请检查 控制面板 >> 卸载程序 里是否有之前安装的VS残留下来的组件,如果有,先把他们卸载掉。
      可以参考这篇博客:http://blogs.msdn.com/b/joy/archive/2008/10/21/how-to-remove-visual-studio-2008-manually.aspx
    2. 临时禁用掉反病毒/杀毒软件;
    3. 安装最新的Windows更新:http://windowsupdate.microsoft.com
    4. 清空你的 %temp% 文件夹(开始菜单 》运行》输入 %temp%);
    5. 使用管理员身份安装Visual Studio:右键点击安装文件 》以管理员身份运行;
    6. 如果安装仍然失败的话,使用下面的日志收集工具来收集相关的日志文件:
      http://go.microsoft.com/?LinkId=8967044
    7. 工具运行完成后可以在 %temp% 文件夹里找到一个 vslogs.cab 文件。
    8. 把这个文件通过邮件发送给我(v-anwu_at_microsoft_dot_com)
      注意:请同时附上这篇帖子的链接在email中。

    另外,error 1320是一个Windows Installer的错误,也请你检查下机器上面的Windows Installer 服务是否正确:

    • 通过 开始菜单》运行》输入 services.msc》回车;
    • 在列表中找到 Windows Installer这一项,右键点击这一项。选择 属性;
    • 如果在 启动类型 被设置成了 禁用,将其修改为 手动 并点击确定;
    • 退出 服务 窗口。

    如果您有任何问题,随时与我们联系。


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    2011年4月9日 13:22
    版主
  • 你好,今天我看到系统已安装更新里有名称为Microsoft Visual c++ 2008 Express Edition with SP1_ENU 的更新文件,好像就是这个的原因,在控制面板那无法卸载,麻烦你能告诉我怎样卸载吗?

    谢谢了!

    2011年4月10日 12:25
  • 可以试试这个自动卸载工具,是MS官方的:
    http://cid-4e19d8977ee16b92.office.live.com/self.aspx/Public/UninstallTool%5E_VS.rar

     

    另外,关于卸载更新的方法,可以试试Windows的论坛:

    http://answers.microsoft.com/zh-hans/windows/forum/windows_7-windows_update?page=1

    那边可以获得关于Windows系统自身更加专业的支持。

    2011年4月11日 11:03
  • 谢谢指导。
    2011年4月17日 3:31