Windows Server 2008R2 安装 WP7 SDK 方法
来源:互联网 发布:武汉淘宝拍照 编辑:程序博客网 时间:2024/05/15 02:49
這幾天在整理開發環境的時候,打算在Windows Server 2008 R2上安裝Windows Phone Developer Tools,不過一執行安裝程式,就跳出以下的畫面(哇咧!!要Windows 7或是Vista才能裝啊!?)~~
那我其他Windows平台的開發環境難道就從此要和WP7絕緣了嗎?經過一番不死心的搜尋之後,終於還是找到了變通之道,可以在Windows Server 2008 R2上也能安裝Windows Phone Developer Tools,方法如下:
首先,Windows Phone Developer Tools有兩個版本可以下載,一個是線上安裝檔(vm_web.exe),另一個是光碟ISO檔,步驟會有一點點小小的差異。
第一步:
如果使用的是線上安裝檔的話,請先使用解壓縮軟體將vm_web.exe解壓縮到某個方便找得到的資料夾中(例如C:\WP7_Web)。
如果使用的是光碟映像檔的話,請將光碟內容全部複製一份到某個方便找得到的資料夾中(例如C:\WP7)。
第二步:
使用記事本或其他文字編輯器開啟baseline.dat檔,找到[gencomp7788]區段,並根據平台的不同,依照下圖指示修改(把原來的1改為0),接著儲存並關閉baseline.dat。
或是直接以修改完的內容覆蓋掉原來的[gencomp7788]區段,上圖中修改完畢的內容如下:
- [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=0
- InstallOnFutureNT=1
- InstallOnVista=0
- InstallOnWin7=0
- InstallOnLHS=0
- InstallOnIA64=1
- InstallOnNetServer=0
- InstallOnWin2k=1
- InstallOnWinNT4=1
- InstallOnWinXP=0
- InstallOnx86=0
- InstallOnWin7Server=0
- LangSensitive=optional
- moduleid=61862971-5445-44AE-87AE-3EA15736F848
- Reboot=0
- RebootLaterOk=1
- ReturnType=IeReturnCheck
- Uninstall=0
- VersionCheck=Blocker
[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=0InstallOnFutureNT=1InstallOnVista=0InstallOnWin7=0InstallOnLHS=0InstallOnIA64=1InstallOnNetServer=0InstallOnWin2k=1InstallOnWinNT4=1InstallOnWinXP=0InstallOnx86=0InstallOnWin7Server=0LangSensitive=optionalmoduleid=61862971-5445-44AE-87AE-3EA15736F848Reboot=0RebootLaterOk=1ReturnType=IeReturnCheckUninstall=0VersionCheck=Blocker
隱藏程式碼
展開程式碼
第三步:
執行setup.exe就不會再看到之前的錯誤警告了,接下來依照指示進行安裝即可。
P.S,從baseline.dat中其實還可以看到其他平台的設定值,如果真的有需要的話,只要依照平台的對應名稱,將原來的1改為0,應該就能順利的安裝,不過還有一點要注意,各作業系統並需至少符合下列需求:
Windows XP - 需安裝Service Pack 3
Windows Server 2003 - 需安裝Service Pack 2
Windows Vista - 需安裝Service Pack 2
Windows Server 2008 - 需安裝Service Pack 2
- Windows Server 2008R2 安装 WP7 SDK 方法
- Windows Server 2008 R2安装windows media player方法
- windows server 2008 r2安装SQL SERVER 2008 R2 不能打开1433端口设置方法
- Windows Server 2008 R2 安装记录
- Windows Server 2008 R2 下安装 VMWare
- Windows Server 2008 R2之安装准备
- Windows Storage Server 2008 R2 下载安装
- Lenovo G470 windows server 2008 R2安装
- Windows Server 2008 R2 安装及配置
- Thinkpad T410安装Windows Server 2008 R2
- Thinkpad T410安装Windows Server 2008 R2
- Windows server 2008 R2中安装MySQL !
- Windows Server 2008 R2 下安装 VMWare
- Windows Server 2008 R2 下安装 VMWare
- Windows server 2008 r2安装说明
- windows server 2008R2安装Oracle10g
- windows server 2008 r2安装sp1
- Windows Server 2008 R2安装IIS
- 2011年最受欢迎的五款Web开发工具
- CORTEX-M3的字节对齐问题引起的Fault
- Flex页面跳转的五种实现方式
- 用80%的时间思考,20%的时间做事
- 一些容易出错的小细节
- Windows Server 2008R2 安装 WP7 SDK 方法
- WCF复合类型
- 15款提高工作效率的工具分享
- Mercurial与TortoiseHg使用入门教程
- 黑马程序员笔记--类库
- 日常研究资源列表
- oracle的sga和pga【转贴】
- 压缩感知,信号采集的重大突破——记Emmanuel Candes教授“21世纪计算”大会演讲
- 20个优秀的 Photoshop 网页制作教程