Wince的安装相对比较复杂,即使是一个Wince的老手,也可能遇到这样那样的问题。想来真是悲摧,Windows XP, Windows 7,64位,32位,这些区别还是比较大的。这里详细介绍一下安装步骤,最后针对64位平台进行了特别的说明。
1.安装Visual Studio 2005;
2.安装Windows Embedded CE 6.0;
3.安装VS2005 SP1;
对于windows 7,还需要安装VS2005 sp1 for vista;
4.安装Windows Embedded CE 6.0 SP1;
特别注意:该版本KITL有一个Bug,为了解决此问题,在安装之前备份/program files/microsoft platform builder/6.00/cepb/bin/SysDbgEm.dll,安装完成之后再使用备份文件覆盖新的文件。
5.安装Windows Embedded CE 6.0 R2;
6.安装Windows Embedded CE 6.0 R3;
7.安装补丁
Platform Builder with Windows Vista/Windows 7 64 bit
在64位的操作系统上,安装方法同上。但是由于64位操作系统和32位操作系统注册表上的差异,导致安装之后需要设置相应的注册表项。
1.首先检查安装是否正常:
在VS2005下,单击Tools->Platform Builder for CE 6.0->CE Update Check,如果弹出PB not installed的消息,则说明安装不正常,继续以下步骤。
2.解决64位注册表的问题,将以下内容拷贝合并的你的注册表中,注意修改安装路径。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\3.00]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\3.00\Hardware Debug]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00]
"Language"="USA"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\Debug]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\Directories]
"Install Dir"="D:\\Program Files (x86)\\Microsoft Platform Builder\\6.00\\"
"OS Install Dir"="D:\\WINCE600\\"
"Tools Install Dir"="D:\\Program Files (x86)\\Microsoft Platform Builder\\6.00\\cepb\\IdeVS\\"
"IDE Install Dir"="D:\\Program Files (x86)\\Microsoft Platform Builder\\6.00\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\External Tools]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\External Tools\CE &Update Check]
"ToolCmd"="D:\\Program Files (x86)\\Microsoft Platform Builder\\6.00\\cepb\\SustainedEngineering\\CEUpdateCheck.exe"
"ToolDir"="D:\\Program Files (x86)\\Microsoft Platform Builder\\6.00\\cepb\\SustainedEngineering\\"
"ToolOpt"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\General]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\Registration]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\Registration\DigitalProductID]
@=hex:a4,00,00,00,03,00,00,00,38,34,33,30,32,2d,30,30,36,2d,30,30,31,31,33,38,\
31,2d,36,30,33,37,30,00,78,00,00,00,38,31,34,2d,30,30,33,30,37,00,00,00,00,\
00,00,00,0c,30,39,95,2a,e6,5f,80,ee,dd,38,ea,5a,5e,02,00,00,00,00,00,73,a9,\
f6,4a,67,a4,1f,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,30,38,37,30,36,00,00,00,00,00,00,00,00,00,00,00,ef,74,71,08,\
f7,03,00,00,bb,0b,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,e1,85,13,3c
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\Registration\ProductID]
@="84302-006-0011381-60370"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\SDKRoller]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\SDKRoller\LangRollers]
"{C865CF92-25A7-4B67-AA7F-80B5B7554929}"=""
"{C7A1C31C-41ED-434C-9EAD-526B420FAC75}"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\Setup]
"Locale"=dword:00000409
"Version"="6.00.2027"
"CETK"="D:\\Program Files (x86)\\Microsoft Platform Builder\\6.00\\CEPB\\WCETK"
"SP1_ENU"="D:\\Program Files (x86)\\Microsoft Platform Builder\\6.00\\"
"SP1"="D:\\Program Files (x86)\\Microsoft Platform Builder\\6.00\\"
"FP1_ENU"="D:\\WINCE600\\"
"FP1"="D:\\WINCE600\\"
"FP2_ENU"="D:\\WINCE600\\"
"FP2"="D:\\WINCE600\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Platform Builder\6.00\Tools]
@=""
"MenuName#0"="Remote File Viewer"
"PathName#0"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\cefilevw.exe"
"MenuName#1"="Remote Heap Walker"
"PathName#1"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\ceheapwk.exe"
"MenuName#3"="Remote Registry Editor"
"PathName#3"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\ceregedt.exe"
"MenuName#4"="Remote Spy"
"PathName#4"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\cespy.exe"
"MenuName#5"="Remote System Information"
"PathName#5"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\cesysinfo.exe"
"MenuName#6"="Remote Zoomin"
"PathName#6"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\cezoom.exe"
"MenuName#7"="Remote Kernel Tracker"
"PathName#7"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\kerneltracker.exe"
"MenuName#8"="Remote Performance Monitor"
"PathName#8"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\ceperfmon.exe"
"MenuName#9"="Remote Call Profiler"
"PathName#9"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\msic.exe"
"MenuName#2"="Remote Process Viewer"
"PathName#2"="D:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows CE Tools\\Platman\\bin\\wce600\\cepview.exe"