前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >silverlight 4 tools for vs2010无法在vs2010 SP1上安装的解决办法

silverlight 4 tools for vs2010无法在vs2010 SP1上安装的解决办法

作者头像
菩提树下的杨过
发布2018-01-24 11:20:58
1.2K0
发布2018-01-24 11:20:58
举报

环境:英文版vs2010 sp1 + vs2013 RC 90天体验版

原来可以正常做silverilght 4 项目开发,今天因为vs2013 RC过了90天体验期,卸载时顺带把Silverlihgt相关的东东干掉了,然后再用vs2010打开原来的silverlight项目就杯具了

到网上下载silverlight 4 tools for vs2010(中文版),准备重新安装silveright 4 tools,结果弹出一个大大的警告框

解决办法:

将Silverlight4_Tools.exe用解压软件解到某个目录,用记事本打开ParameterInfo.xml这个文件,找到下面这个节点:

代码语言:javascript
复制
 1 <Blockers>
 2     <StopBlockers>
 3       <BlockIf DisplayText="您必须以管理员身份登录,安装才能继续。">
 4         <Not>
 5           <Exists>
 6             <IsAdministrator />
 7           </Exists>
 8         </Not>
 9       </BlockIf>
10       <BlockIf DisplayText="必须先安装与 Silverlight Tools 4 语言版本相一致的 Visual Studio 2010、Visual Web Developer 学习版 2010 或 Visual Phone Developer 学习版 2010,Silverlight Tools 的安装才能继续。以下网址提供了其他语言版本的 Silverlight Tools: &lt;A HREF=&quot;http://go.microsoft.com/fwlink/?LinkId=177432&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=177432&lt;/A&gt;。">
11         <And>
12           <And>
13             <Not>
14               <Equals LeftHandSide="10.0.40219.1" BoolWhenNonExistent="false">
15                 <RegKeyValue Location="HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS\BuildNumber\2052" />
16               </Equals>
17             </Not>
18             <Not>
19               <Exists>
20                 <RegKey Location="HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\Setup\Microsoft Visual Web Developer 2010 Express - chs" />
21               </Exists>
22             </Not>
23           </And>
24           <Not>
25             <Exists>
26               <RegKey Location="HKLM\SOFTWARE\Microsoft\VPDExpress\10.0\SplashInfo\EnvVersion" />
27             </Exists>
28           </Not>
29         </And>
30       </BlockIf>
31       <BlockIf DisplayText="必须先安装用于 Visual Studio 2010 的 Visual Web Developer 功能,安装才能继续。">
32         <And>
33           <Not>
34             <Or>
35               <And>
36                 <Exists>
37                   <RegKey Location="HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\InstalledProducts\Visual Web Developer" />
38                 </Exists>
39                 <Exists>
40                   <RegKey Location="HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\Packages\{349C5850-65DF-11DA-9384-00065B846F21}" />
41                 </Exists>
42               </And>
43               <Exists>
44                 <RegKey Location="HKLM\Software\Microsoft\VWDExpress\10.0\Packages\{349C5850-65DF-11DA-9384-00065B846F21}" />
45               </Exists>
46             </Or>
47           </Not>
48           <Not>
49             <Exists>
50               <RegKey Location="HKLM\SOFTWARE\Microsoft\VPDExpress\10.0\SplashInfo\EnvVersion" />
51             </Exists>
52           </Not>
53         </And>
54       </BlockIf>
55     </StopBlockers>
56   </Blockers>

把这个节点全干掉,然后运行该目录下的SPInstaller.exe

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2014-03-26 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档