如何在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 @ 2010-10-18 20:04  Jake Lin  阅读(3375)  评论(11编辑  收藏  举报