XP Embedded使用入門

來源:互聯網
上載者:User

標籤:

0.概述

XP Embedded提供了超過1萬個儲存於SQL Server的Windows組件和組件拼裝工具,開發人員可使用組件拼裝工具,選取需要的Windows組件,定義自己的Windows外殼,製作屬於自己的作業系統。

1.下載試用版XP Embedded開發工具

XPEFFI.exe

http://switch.atdmt.com/action/denmic_weawarenessstartdownloadnowxplink_9

2.安裝XP Embedded開發工具2.1 安裝

    a.對於試用版,需要將XPEFFI.exe放在與XP Embedded開發工具安裝檔案相同的目錄,運行XPEFFI.exe,同時設定“Download Location”為該目錄,單擊“Start Download Now”。

    b.XP Embedded的正式版一共10張光碟片,前兩張是包含了SP1的開發工具,第三張是SP2,第四張是Feature Pack 2007,剩下的都是語言套件(Sp1和Sp2有各自的語言套件)。

2.1 安裝Tools(Tool Setup)    安裝過程中注意“Windows Embedded Images”目錄的設定,該目錄用於存放編譯過後的Windows系統檔案。2.2 安裝MSDE/或者直接安裝Sql Server(Database Engine Setup)2.3 安裝資料庫(Database Setup)

安裝完畢後開始菜單中會增加一個名為“Microsoft Windows Embedded Studio”的功能表項目

2.4 安裝更新(Sp2)2.5 安裝Feature Pack 20072.6 依次安裝Sp1,Sp2對應 語言套件3.快速開始3.1 收集目標裝置的硬體資訊

在目標裝置上啟動Windows(可使用目標裝置上已安裝的XP,或者使用Windows PE光碟片啟動系統),再將儲存有Windows XP Embedded工具的介質串連到該系統上,導航到utilities目錄,執行命令:

         tap /o HardInfo.PMQ

將utilities目錄下產生的HanrdInfo.PMQ剪下到安裝了XP Embedded開發工具的電腦上。

注意:

使用 TAP.exe 的最佳方式是從 WinPE 環境內部使用它。在 WinPE 環境中運行 TAP.exe 通常會產生目標系統的相當小的 PMQ 或硬體設定檔。

當然使用一個純淨的Windows XP也是不錯的選擇。

3.2 建立目標硬體的基本作業系統 (OS) 配置(硬體宏)

0)啟動SQL Server。

1) 啟動Component Designer,匯入HardInfo.PMQ(硬體資訊)檔案(此過程大約需要10分鐘),產生hardInfo.sld。

2) 啟動Component Database Manager,單擊“Main Database”選項卡上的 Import。

3) 啟動Target Designer並建立一個新的 SLX 檔案,將HardInfo組件首先添加到設定中,接著開始檢查依賴性,直到沒有錯誤時,編譯,即可產生WindowsXP的相關係統檔案。

3.3 具體實驗

1)在本地硬碟上建立5G左右的一個分區。

2)使用Vmware建立一虛擬機器,將該分區作為虛擬機器的一個硬碟。

3)在虛擬機器上安裝一個Windows XP,並啟動它,將XP Embedded工具複製到這個系統的共用資料夾中。

4) 在虛擬機器中執行TAP.exe /O hardInfo.PMQ,即可在虛擬機器的共用目錄“ShareDocs”中得到虛擬機器的裝置資訊。

5)執行3.2的步驟,將編譯後的檔案儲存體在剛建立的分區上。

6)將虛擬機器設為從硬碟啟動即可。

附:

多語言支援需要安裝語言套件,並在Component Database Manager中匯入SLD檔案,同時添加MUI組件到工程中。

4.常用組件常見使用者介面組件:Shell Application CompatibilityWindows管理(WMI): Windows Management Instrumentation TechnologiesDirectX 9.0c: DirectX 9.0cWindows聲音支援:Kernel Audio SupportWindows播放器:Windows Media Player 9.0 Technologies音樂播放支援:Legacy and Plug and Play Audio Support多媒體支援:Multimedia Application CompatibilityVB運行時:Visual Basic 5.0/6.0 Runtime Library列印支援:Client Printing Support,Local Printing Support,Server Printing Support網路支援:Networking Application CompatibilityIIS:Internet Information Services Technologies (IIS)網路檔案.列印共用支援:TCP/IP Networking with File Sharing and Client For MS NetworksDr. Watson Debugger:Dr. Watson DebuggerWindows應用程式相容支援:Windows Application Compatibility
 DOS下的搜尋:Search Tools使用者帳戶控制面板:Users Control Panel工作管理員:Task Manager顯示設定控制台:Display Control Panel附件-》通訊:Accessories/Communications Programs附件-》系統工具:Accessories/System Tools壁紙:Desktop Wallpaper裝置管理員:Device Manager地區和語言選項控制台:International Control Panel寫字板轉換支援:WordPad Text ConvertersXP樣式:Windows XP Visual Style圖片和傳真查看器:Windows Picture and Fax Viewer標準開始菜單:Standard Start Menu ShortcutsWindows搜尋助手:Search Assistant User Interface屏保:Screen Savers安全刪除硬體:Safely Remove Hardware Program登錄編輯程式:Registry Editor協助工具功能控制台:Accessibility Control Panel中文IME核心:Microsoft Simplified Chinese IME Core聲音控制台:Audio Control PanelFlash支援:Shockwave Flash計劃任務(at.exe): Schedule Service Command Line Utility自動登入:Automatic Logon資訊安全中心:Security Center網路安裝嚮導:Control Panel Applet for "Wireless Setup Wizard" and "Home Networking Wizard"移動儲存控制台:Removable Storage MMC Snap-In

常用DOS命令相關的組件:
Service Command Line Tool:sc.exe 命令;
Copy and Compare Tools:Xcopy,fc等dos命令;
Misc. File System Utilities:Attrib.exe, help.exe,more.com, sort.exe, tree.com等DOS命令;
Search Tools:Find等DOS命令;
Server Command Line Tools:taskkill等命令。

XP Embedded使用入門

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.