如何在Windows XP上安装Windows Phone Developer Tools

由于需要开发Windows Embedded CE 6的程序,所以保留了一台XP的PC,但是官方的Windows Phone Developer Tools不支持Windows XP,在网上找了一个曲线救国的方法,成功在XP上安装上Windows Phone Developer Tools。
方法如下:
   1. Download the Windows Phone Developer Tools RTM
   2. Extract the contents of the setup package by running vm_web.exe /x and choosing a path to extract to
   3. Go to the folder you extracted to in step 2 and open the file baseline.dat in notepad
   4. Look for the section named [gencomp7788]
   5. Change the value InstallOnLHS from 1 to 0
   6. Change the value InstallOnWinXP from 1 to 0
   7. Save and close baseline.dat
   8. Run setup.exe /web from the folder you extracted to in step 2

 

[gencomp7788]
BlockorWarn=1
CleanCost=0
CommandLine=blocker.exe
ComponentType=1
DetectKey=
DetectKeyVal=
DetectKeyValData=
EncryptionOpt=0
EstInstallTime=0
Executable=sp.exe
IgnoreLaterVersions=1
GFN=GFN_MID Block on all OS except Vista and Win7
HelpLink=WPDT_OSRequirements.htm
InstallOnAMD64=1
InstallOnFutureNT=1
InstallOnVista=0
InstallOnWin7=0
InstallOnLHS=0
InstallOnIA64=1
InstallOnNetServer=1
InstallOnWin2k=1
InstallOnWinNT4=1
InstallOnWinXP=0
InstallOnx86=1
InstallOnWin7Server=1
LangSensitive=optional
moduleid=61862971-5445-44AE-87AE-3EA15736F848
Reboot=0
RebootLaterOk=1
ReturnType=IeReturnCheck
Uninstall=0
VersionCheck=Blocker

 

注意,如果不是使用Windows 7和Vista,注意需要为相关系统安装相应版本的SP  
Windows XP Service Pack 3
Windows Server 2003 Service Pack 2
Windows Vista Service Pack 2
Windows Server 2008 Service Pack 2
Windows Server 2008 R2

 

测试发现,Emulator运行时出错,其他工具没有问题。我想应该是DirectX和WDDM的问题,再查一下。 毕竟不是官方支持的工具,使用时有风险。

参考 http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/6657c1ff-45a6-466a-b20d-f5640e3f0c1f/

posted @   Jake Lin  阅读(3377)  评论(11编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
点击右上角即可分享
微信分享提示