VS2005安装VSI文件出现一个小错误及解决方案


如果你在安装VS2005后更改了My Document的目录,VSI安装时会出现如下错误:Installation stopped because the directory for the ProjectType value did not exist.  The project type is invalid for your installation of Visual Studio.
这是因为VSI文件仍往你原来的My Document文件目录写文件,却在建子目录时建在了新的My document目录下,所以会出现错误,解决方案:

1、把我的文档目录更回默认值


2、手动在黓认的我的文档目录下建立以下目录

 

C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Templates\ItemTemplates\Visual C#


C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Templates\ItemTemplates\Visual Web Developer


C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual C#


C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual Web Developer

posted @ 2005-12-16 19:40 Lyn 阅读(2656) 评论(8)  编辑 收藏 所属分类: Virtual Studio 2005

  回复  引用  查看    
#1楼 [楼主]2005-12-16 22:38 | THIN      
因帮助文档中没有,所以贴出来。
  回复  引用  查看    
#2楼 2005-12-18 19:10 | 瓶子      
good
  回复  引用    
#3楼 2006-02-21 20:59 | SilentAcorn [未注册用户]
Great, thx!
  回复  引用    
#4楼 2006-07-27 14:59 | 廖子 [未注册用户]
谢谢了,我刚好碰到这个问题,真在烦恼之际,解决了,哈哈,谢谢你了。
  回复  引用    
#5楼 2006-09-05 11:45 | sl[匿名] [未注册用户]
我在2000上面安装vs2005可是,不知道为什么总是装不上!
总是有几个插件安装失败导致2005安装不上
请问您知道怎么解决吗?
  回复  引用    
#6楼 2006-09-21 11:23 | hunterzou [未注册用户]
按照你的方法,我已經解決了這問題,

謝謝了哈,
  回复  引用  查看    
#7楼 2007-12-22 01:06 | 小手冰凉      
解决问题了,谢谢
  回复  引用    
#8楼 2008-02-21 01:44 | 一个小兵 [未注册用户]
我发现瑞星2008的系统加固功能会使程序安装失败,安装时应先禁用所有监控

标题  
姓名  
主页
Email (只有博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2005-12-22 11:56 编辑过


相关链接: