difference on xpe / xpp & xpe mui patch scenario download/y901_04.pdf · 4/29 • xp embedded 是xp...

27
聯強國際 SYNNEX Microsoft Embedded System Senior Field Application Engineer 洪子寓 Barry Hung [email protected] 886-2-25063320 ext.2242 Difference on XPE / XPP & XPE MUI Patch Scenario

Upload: others

Post on 03-Oct-2019

17 views

Category:

Documents


0 download

TRANSCRIPT

  • 聯強國際 SYNNEXMicrosoft Embedded SystemSenior Field Application Engineer

    洪子寓 Barry [email protected] ext.2242

    Difference on XPE / XPP &XPE MUI Patch Scenario

  • 2/29 

    • XPE & XPPE Difference

    • XP Pro simulation with XPE

    • Image Diff Utility Overview

    • Image Diff Utility Implementation

    • Patch MUI on Runtime image

    Agenda

  • 3/29 

    XPE & XPPE Difference

  • 4/29 

    • XP Embedded 是 XP Professional 的元件化版本,它為嵌入式設備提供了豐富的 XP Professional功能集。但是, XP Professional 和 XP Embedded 之間還存在著一些差異。

    • XP Embedded 不具備 XP Professional 的所有功能。

    XP Embedded  XP Professional 

    元件化

    近似

    嵌入式AP開發人員可像XP Pro開發人員那樣使用Win API 編寫程式。

    可執行XP Pro開發之Application.

    XPE & XPPE Difference

  • 5/29 

    • Windows XP Embedded:• 軟體相容於Windows XP

    – 支援WIN32®及Windows Driver Model (WDM)、.Net Framework• 豐富的作業系統功能支援能力

    – 擁有XP Pro所有主要的功能支持(安全性‐Firewall,多媒體‐WMP11,DX9,通訊網路…等)

    • 更精簡的作業系統大小– 功能組件化的XP Pro,可客制化穩定、快速且安全的系統– 支援NTFS磁片壓縮,縮小檔案佔用空間

    • 系統功能模組化及優化– 將XP Pro拆解為13,000以上的功能元件存放於元件庫內– 更獨立的組件群組關係,降低相依性,提高可客制度

    • 強大、直覺、操作簡單的系統開發工具– Windows XP Embedded Studio

    XPE & XPPE Difference

  • 6/29 

    • Windows XP Embedded Only:

    XP Embedded 

    SDI

    Enhanced Write Filter

    (EWF)

    CD-ROM Boot

    Remote Boot

    Service

    DUA

    Minlogon

    XPE & XPPE Difference

  • 7/29 

    • Windows XP Professional Only:

    XP Professional 

    檔案保護(WFP)

    Windows XP 漫遊

    (Tutorial)

    Add/Remove Windows

    Components 產品啟動

    OOBE Setup

    Windows Update

    支援OS升級

    XPE & XPPE Difference

  • 8/29 

    XP Pro Simulation with XPE

  • 9/29 

    • In the XPE FP2007 without QFE:• ADD Below components with your H/W PMQ component.

    • Check all option in the “User Interface Core” component.

    XP Pro Simulation with XPE

  • 10/29 

    • In the XPE FP2007 with QFE or WES 2009:• ADD Below components with your H/W PMQ component.

    • Check all option in the “User Interface Core” component.

    XP Pro Simulation with XPE

  • 11/29 

    Full Function XPE Demo

  • 12/29 

    Image Diff Utility Overview

  • 13/29 

    • XPe Image Diff (IDIFF):可比對兩個XPe Run-Time Image並產生差異檔,並可進行Off-line更新作業,減少人工系統佈署時間。

    • XPe Image Diff Applier (IDA):可將差異檔Apply至XPE OS image,新增差異檔所記錄之功能。

    Image Diff Utility Overview

  • 14/29 

    • 適用系統:

    • 環境需求:•.NET Framework 1.1 / 2.0

    •Target Device需處於Off-Line非佔用狀態 (即不可於裝置開機中進行更新)

    •Image需完成First Boot Agent (FBA)

    Image Diff Requirement

    SP1 SP2 FP2007

  • 15/29 

    Image Diff Process

    Development PC

    Image Diff

    Offline

    OS Source A

    差異檔

    Offline

    OS Source B

    Offline

    OS Source A

    Offline

    OS Source B

    英文

    中文

    英文

    中文

  • 16/29 

    1.Need To Add MUI Component 2.Need To Re-Build OS Image3.Need To Run FBA Again

    Gerneral Experience of Update MUI

    Target Device

    簡中

    日文繁中

  • 17/29 

    Better Experience in Image Diff

    No Need To Re-Build OS Image

    Target Device

    ReBuildOS

    簡中

    日文繁中FBA

    Add MUI

  • 18/29 

    Image Diff Utility Implementation

  • 19/29 

    • 產生差異檔:Idiff /Source: /Dest: /Output: /Log: /BinaryCompare:[ON|OFF]Example:裝置-舊系統image (off-line, post-fba) : C:\Old目錄裝置-新系統image (off-line, post fba) : C:\New目錄建立暫存目錄置放差異檔 : C:\Diff

    • 執行 idiff.exe 進行比較,產生差異檔

    • 參數註解:/log : 產生記錄檔 /q : 無畫面記錄輸出 /binarycompare : 進行進階檔案比對

    Image Diff Implementation

  • 20/29 

    • 利用差異檔昇級舊有環境:IDA.EXE source [/dest:destination] [/temp:tempdir] [/loglevel:level]

    • Example:執行 IDA.exe 進行Patch差異檔至XPE OS

    • 參數註解 :/temp : 當剩餘空間不足時,可透過移動差異檔方式取代目標環境檔/loglevel : 設定訊息記錄畫面輸出量,0~3,少 多

    註:可修改idiff.xml及idiffout.xml自訂比對規則,詳細資訊可參考說明文件

    Image Diff Implementation

  • 21/29 

    Image Diff Patch MUI Process

    Development PC

    繁中

    簡中

    日文

    Offline

    Offline

    Offline

    Image Diff

  • 22/29 

    • 使用VS2005導入Image Diff API達成圖形化介面控制:IDA.exe 圖形化,進行Patch差異檔至XPE OS

    Image Diff Control AP Demo

    Destination

  • 23/29 

    • 簡易套用MUI Control AP進行Patch MUI差異檔:

    Image Diff Control AP Demo

    1.執行 idiff.exe 進行比較,產生差異檔。2.將各版本之差異檔置入相對應資料夾。(例:如下圖)

    3.執行MUI AP即完成。

    簡中

    日文

    繁中

  • 24/29 

    Patch MUI By MUI Control AP

  • 25/29 

    • Microsoft Download Centerhttp://www.microsoft.com/downloads

    • Windows Embedded System Homehttp://www.microsoft.com/windows/embedded

    • Windows XP Embedded Homehttp://www.microsoft.com/taiwan/windows/embedded/default.mspx

    • Windows Embedded Developer Centerhttp://msdn.microsoft.com/en‐us/embedded

    • MS ECE Websitehttps://ece.partners.extranet.microsoft.com/ece

    • Google News Grouphttp://groups.google.com/group/microsoft.public.windowsxp.embedded

    • MS eMVP ‐ Sean Liminghttp://www.seanliming.com

    Resources (1/2)

  • 26/29 

    • Registry Guidehttp://www.pctools.com/guides/registry/

    • MS eMVP ‐Mike Hallhttp://blogs.msdn.com/mikehall/

    • Microsoft Windows Embedded Seminarhttp://www.microsoftembeddedseminars.com/

    • Microsoft Windows Embedded Developer Team Bloghttp://blogs.msdn.com/embedded/

    • Windows for Devices non‐official Communityhttp://www.windowsfordevices.com/

    • Synnex Technology International Corp.http://www.synnex.com.cn/

    http://www.synnex.com.tw/

    http://www.synnex.com.tw/oem_cover.htm

    Resources (2/2)

  • 投影片編號 1投影片編號 2XPE & XPPE Difference投影片編號 4投影片編號 5投影片編號 6投影片編號 7XP Pro Simulation with XPE投影片編號 9投影片編號 10投影片編號 11Image Diff Utility Overview投影片編號 13投影片編號 14投影片編號 15Gerneral Experience of Update MUI Better Experience in Image DiffImage Diff Utility Implementation投影片編號 19投影片編號 20投影片編號 21Image Diff Control AP DemoImage Diff Control AP Demo投影片編號 24投影片編號 25投影片編號 26投影片編號 27