本文共 1754 字,大约阅读时间需要 5 分钟。
由于需要开发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=1CleanCost=0CommandLine=blocker.exeComponentType=1DetectKey=DetectKeyVal=DetectKeyValData=EncryptionOpt=0EstInstallTime=0Executable=sp.exeIgnoreLaterVersions=1GFN=GFN_MID Block on all OS except Vista and Win7HelpLink=WPDT_OSRequirements.htmInstallOnAMD64=1InstallOnFutureNT=1InstallOnVista=0InstallOnWin7=0InstallOnLHS=0InstallOnIA64=1InstallOnNetServer=1InstallOnWin2k=1InstallOnWinNT4=1InstallOnWinXP=0InstallOnx86=1InstallOnWin7Server=1LangSensitive=optionalmoduleid=61862971-5445-44AE-87AE-3EA15736F848Reboot=0RebootLaterOk=1ReturnType=IeReturnCheckUninstall=0VersionCheck=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/
本文转自Jake Lin博客园博客,原文链接:http://www.cnblogs.com/procoder/archive/2010/10/18/Windows-Phone-Developer-Tools-on-Windows-XP.html,如需转载请自行联系原作者