Windows XP Embedded Hands-On Lab

Similar documents
Overview. Table of Contents. Integrating NI-DAQmx Components into a Windows XP Embedded Image

Autodesk DirectConnect 2010

ImageAssist Static. User's Guide for Single Platform

This tutorial will guide you through the steps of setting up Synapse on Windows 7 64-Bit by utilizing Windows XP Mode.

IT Essentials v6.0 Windows 10 Software Labs

EML10 Best Practces for Implementing Deployment Solution Hands-On Lab

Windows Me Navigating

Fedora Core: Made Simple

Lab 6A: Customizing the Desktop

Agilent MassHunter Workstation Software Offline Qualitative and Quantitative Analysis

A+ Guide to Managing and Maintaining your PC, 6e. Chapter 2 Introducing Operating Systems

Lab Determining Data Storage Capacity

Send the Ctrl-Alt-Delete key sequence to the Guest OS one of two ways: Key sequence: Ctlr-Alt-Ins Menu Sequence: VM / Guest / Send Ctrl-Alt-Delete

Exam Windows Embedded Standard Preparation Kit. Certification Exam Preparation utomation. Not for resale.

FrontPage Student IT Essentials. October 2005 This leaflet is available in other formats on request. Saving your work

CompTIA A+ OS Technologies. Download Full Version :

Advanced Print Manager

SAS Installation Instructions Windows 2003, XP, 2000, NT. Workstation Installation Guidelines

Quark XML Author Adapter for FileNet 2.7 with Business Documents ReadMe

SAP GUI 7.30 for Windows Computer

Quark XML Author 2015 April 2016 Update ReadMe

Lab: Deploying Operating System Images Using SMS 2003

Quark XML Author 2015 September 2016 Update

Quark XML Author Adapter for FileNet 2.8 ReadMe

Jonas Activity Management Technical Deployment Guide

Windows Embedded 2009

Partitioning and Formatting Guide

List of Virtual Machines Used in This Lab

Storing Your Exercise Files

Deploying Windows Server 2008 with System Center

CIS 231 Windows 7 Install Lab #2

Intel Server RAID Controller U2-1 Integration Guide For Microsoft* Windows NT* 4.0

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

Hands-On Lab: HORM. Lab Manual Expediting Power Up with HORM

Quark XML Author October 2017 Update

Getting Started with ESX Server 3i Installable Update 2 and later for ESX Server 3i version 3.5 Installable and VirtualCenter 2.5

v5: How to restore a backup image

windream Client Installation windream GmbH, Bochum

Note: Act Today provide this KB article as a courtesy however accept no responsibility for content or the recipient performing these steps

Farstone TotalDeploy User Guide

VIRTUALIZATION MANAGER ENTERPRISE EDITION GETTING STARTED GUIDE. Product: Virtual Iron Virtualization Manager Version: 4.2

Windows Download & Installation

Parallels Transporter

Appendix B. Install Microsoft Personal Web Server

How to install the software of ZNS8022

Installing IPM on Windows

CIS 231 Windows 10 Install Lab # 3

MiniTutorial: Including RTX 2011 Runtime with Windows Embedded Standard 7

VIRTUALIZATION MANAGER SINGLE SERVER EDITION GETTING STARTED GUIDE

ImageAssist Dynamic. User s Guide for Multiple Platforms

FireFox. CIS 231 Windows 10 Install Lab # 3. 1) Use either Chrome of Firefox to access the VMware vsphere web Client.

L AB: W I N D O W S 7 V I R T U A L I Z A T I O N

Lab 3-1 Lab Installing Kofax Capture 10

InstallShield AdminStudio Evaluator s Guide

Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS)

8 MANAGING SHARED FOLDERS & DATA

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

MFP-Link for Sharp. Version 1.0

GO! Finder V1.4. User Manual

USER GUIDE. We hope you enjoy using the product, and please don t hesitate to send us questions or provide feedback at Thank You.

Lab 4-1: Replacing the Shell with a Custom Full Screen Browser Based UI

Sun VirtualBox Installation Tutorial

Laptop Setup Procedure for Rapidscan 2/3D

Sharpdesk V3.3. Push Installation Guide for system administrator Version

XLmanage Version 2.4. Installation Guide. ClearCube Technology, Inc.

FileMaker. Mobile. User s Guide. For Windows, Mac, and Palm OS. Companion for Palm OS

ProAdmin Installation Guide

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box

Applied ICT Skills MS Windows

Image Backup and Recovery Procedures For Windows 7

Parallels Transporter Agent

This chapter covers the following items: System requirements to use the program Installation instructions for the program

Installing AppleWorks 6 FOR WINDOWS

Windows NT Server Printer Driver Upgrade Instructions

EXPRESS5800/320Lb/320Lb-R EXPRESSBUILDER

Looking to get your Start Button Back? Try Classic Shell. It very easy to use and free.

Recent Operating System Class notes 10 Administrative Tools (Part three) April 21, 2004

Office Adapters for Quark Publishing Platform

KG-TOWER Software Download and Installation Instructions

Silk Performance Manager Installation and Setup Help

Hands-On Lab. Windows Azure Virtual Machine Roles. Lab version: Last updated: 12/14/2010. Page 1

Windows 2000 Disk Management

5.5.3 Lab: Managing Administrative Settings and Snap-ins in Windows XP

Getting Started with the Deployment Console and Deploying the Clients Per PXE Network Booting using their MAC address. Quick Guide

Network Scanner Tool V3.3. User s Guide Version

Lab: Advanced Installation of Windows XP. Introduction

Contents Overview... 2 Part I Connecting to the VPN via Windows OS Accessing the Site with the View Client Installing...

V Workstation Imaging

The People in Dairy Generator

Inmagic Content Server Enterprise Inmagic Content Server Standard Version 1.3 Installation Notes

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited SHAREPOINT 2016 POWER USER

INSTALLATION GUIDE. ID DESIGNER PC-Based Software Installation Guide. Version 4.0

EMS Installation. Workstation Requirements CHAPTER. EMS Lite (Windows 95/98) EMS NT (Windows NT 4.0)

Testpassport.

FireFox. CIS 231 Windows 2012 R2 Server Install Lab #1

1) Use either Chrome of Firefox to access the VMware vsphere web Client.

Network Management Utility

Spectrometer Visible Light Spectrometer V4.4

PAL Installation Instructions

About the Presentations

Transcription:

Windows XP Embedded Hands-On Lab Page 1 of 19

Objectives In this Hands-On session, you will work with the XP Embedded tools to build a bootable image of Windows XP Embedded. This lab will introduce you to the tools and basic methodologies used to build components, work with the Windows XP Embedded component database and build and deploy an operating system image. Lab Configuration Each workstation has the following software installed. Windows XP Professional Windows XP Embedded The development workstation is configured to have two partitions; the first partition contains Windows XP Professional and the Windows XP Embedded Studio tools. The second partition is @ 700 megabytes in size and is where the embedded image will be placed, which we will run during the lab. For More Information Visit the Microsoft Embedded website: http://www.microsoft.com/windows/embedded/ Scenario For the purposes of this lab we have the development tools and the bootable image running on the same PC. This is a great way to quickly build and test a Windows XP Embedded image. When deploying to actual target hardware there are a number of additional steps that would typically be taken; for example transferring the image, creating El-Torito bootable media, etc. Estimated time to complete this lab: 75 minutes Page 2 of 19

Creating an Initial Configuration In this exercise you will create a Windows XP Embedded operating system. This initial configuration will not contain all of the components and technologies that you would find on a typical installation of Windows XP on a desktop PC, instead, it will contain only those hardware components which are specific to our target hardware and features chosen for this lab. Launch Target Designer and create a new configuration Start the Target Designer tool You will find an icon on your desktop. Select FileNew this will create a new configuration for Windows XP Embedded. We will need to name this configuration You will find the name of your development workstation either on, or near to your monitor, this will be StudentXX (where XX is a number between 01 and 40) - Name the configuration the name of your development system, i.e. Student2. You will need to select a platform. At this time Windows XP Embedded Client is the only available platform and is selected by default. Note The name of the development system should be located on a label on, or close to, your monitor. Personalize the configuration by completing the following fields on the configuration screen - (Name, Owner, Author, Description, etc.) Page 3 of 19

Set Advanced Configuration Parameters We will now edit some configuration specific parameters. At the top of the Configuration Browser (the middle pane), click on Settings. The settings pane on the right side will display the main settings available for the configuration. Under Target Devices, click show. The following should be displayed. Modify the following values by editing the information in the text boxes... a. Boot Drive = C: b. Windows Folder = D:\Windows Page 4 of 19

c. Program Files Folder = D:\Program Files d. Documents and Settings folder = D:\Documents and Settings e. Boot ARC path = multi(0)disk(0)rdisk(0)partition(2) f. Boot Partition Size (MB) = 700 Save your work. Please save your work in the C:\XPe Labs directory. Page 5 of 19

Identifying Target Hardware Now that we have a blank configuration, we would first like to include support for the target hardware. In today s exercise our target device is also our development machine. Windows XP Embedded provides a tool called Target Analyzer to discover what hardware is on the target system. There are two versions of Target Analyzer, TA.EXE and TAP.EXE. The Target Analyzer tools (TA.EXE and TAP.EXE) both examine the underlying hardware of our target device (which in our case is the development workstation) and produce an XML based output file which describes the underlying hardware; the output file (devices.pmq) can then be imported into Component Designer to create a component that describes our reference platform we then simply need to select this component in the Target Designer tool, add any additional components and build our operating system image. TAP.EXE is a 32 bit application which runs under Windows 2000 or XP. It takes advantage of hardware detection which is already done by the O/S. TA.EXE is a 16 bit application designed to run under DOS. This program is designed for systems in which it may not be possible to install Windows 2000 or XP because of limited resources (Ex: a board with only Disk-On-Chip) in this scenario you would typically boot to a DOS floppy disc and run the TA program. You will find a chart at the end of this document that lists the differences between TAP.EXE and TA.EXE Let s now run the TAP.EXE program to build a devices.pmq file which describes our development workstation. Minimize Target Designer. Double-Click on My Computer which can be found on your desktop Open the C: drive Navigate to: C:\Program Files\Windows Embedded\Utilities Double-Click on tap.exe (Below is sample output displayed as TAP runs.) Page 6 of 19

In Windows Explorer, double-click on the output file of Target Analyzer; devices.pmq. Explore the devices.pmq XML file. As you can see this file contains information on different hardware elements in your development system. For example, the picture below shows the PCI section of the XML file. In this example it has found an Intel 21140 Ethernet Adapter. (Note: This may be different in your system.) Close this file when done. Time Saver! The next step would normally be to convert the devices.pmq file into either an XP Embedded component in Component Designer or to import the device list into Target Designer but this process would take roughly 10 minutes to complete, so for the purposes of this lab this step has already been completed for you. Creating Components Normally, every embedded device would run one or more custom applications and/or additional device drivers. The best way to truly integrate these applications into your device is to create components for those applications and include them in your configuration and run-time image. In general, this is a three-step process: Identify the component resources and settings or import them from an INF file. Configure the components resources and options within Component Designer. Create a repository and add the components files to that repository. Save the component information (as an.sld file). Import that component definition into the database using Component Database Manager. Though the process of creating a component can be as short as 10 minutes, because of time constraints we will not create any components during this lab. However, we have already created a component and imported it into the database so you can add it to your image. This is a Control Panel applet called TweakUI. Page 7 of 19

In addition to this application we have also imported the Target Analyzer output into Component Designer and created a macro component that you can add to your configuration to support the lab hardware. This component is called DevCon Lab Device Profile and you will add it to your configuration using Target Designer in the next section. Page 8 of 19

Building the Windows XP Embedded Operating System Image. Building the XP Embedded OS Return to Target Designer Note Currently you have a blank configuration. The first component we will add is a macro component. This component was made from the Target Analyzer output, and its purpose is to ensure that all required hardware components are included in the build. There are a number of ways to add components to a run-time image, either through selecting a macro component (a wrapper for a number of components), selecting individual components, through dependency analysis etc In the Component Browser, find the DevCon Lab Device Profile component. Add the component by double clicking on it, or by right-clicking and select Add. Note If you cannot find the component, enter its name in the Search: field of the Component Browser. Let s now create a filter to find the Tweak UI Control Panel Applet component Windows XP Embedded ships with a large number of components; the filter makes it simple to locate components. Click on the Filter Icon ( ) above the Component Browser to create a new filter. Page 9 of 19

In the Filter Manager dialog select New Name the filter TweakUI Double click on the filter rule Component display name contains [substring] to add the rule. Double click on Component display name contains [substring] in the Filter Description section of the Filter Editor. You will be prompted to enter a string; enter Tweak. Click OK to close the Filter Editor. In the Filter Manager the Available filter list should show the Tweak filter. Select the Tweak filter and click Apply Filter. The Component Browser should now only list the Tweak UI Control Panel Applet component. Page 10 of 19

Now that we ve located the Tweak UI Control Panel Applet component we can add this to our platform configuration. In the Component Browser, find the TweakUI component. Add the component by double clicking on it, or by right-clicking and select Add. Change the filter back to All Components by selecting it in the pull down Filter list above the Component Browser. We will now include a Design Template component. The design template component is very similar to the DevCon Lab Device Profile component previously added in that it will ensure that the necessary components are included to provide the desired functionality you can consider a Design Template as being a set of components that wrap up a certain device configuration, for example the Windows-based Terminal Professional. Add the Windows-based Terminal Professional component. In the Configuration (middle) pane, expand this component and click on Settings. The right pane now lists the major components that are part of the Windows-based Terminal Professional. You may select/remove individual components from your configuration through this interface. NOTE: This component can be found under the Design Templates group in the Component Browser. The next step in configuring our system is to add additional core components. In our case our file system will be the FAT file system. We will need to add the FAT and other necessary components into our configuration. 1. The FAT component can be found under the Software System Storage and File Systems Infrastructure File Systems group. Double-click on FAT to include it. 2. Also include the FAT Format component located in the Software System Storage and File Systems Applications group. 3. Add the Explorer Shell component to the configuration. This can be found in the Software System User Interface Shells. 4. You must include an OS Loader. Select the NT Loader component. It can be found in Software System System Services Base. Finally we will check dependencies to assure that all required components are included. From the Configuration menu select Check Dependencies Page 11 of 19

Note The dependency checker will automatically include all required components. This is optional, and instead we could be informed which components need to be included. You will receive 1 error which says: Component: "Regional and Language Options [Version 5.1.2600, R620]" requires at least one additional enabled component not in the configuration. The dependency checker did not automatically resolve this component because a decision is needed from the user. The Tasks list shows dependency issues which you must complete. Click on the Tasks tab at the bottom of Target Designer. Double click on the task mentioned above. You will be prompted to select from a limited set of components to resolve the dependency. Select the English Language Support component, and click Add. Though other languages are listed in this dialog, they require a separate language pack that is not installed on the lab machines. Page 12 of 19

Start Menu Items During the dependency check, the User Interface Core component was added to your configuration because it was required by another component. To include basic Start Menu items and short cuts, click on this components Settings entry in the Configuration window, then select the Start Menu items you would like to include. Note that almost all of these items are disabled by default. Start Menu Items to Select Show Control Panel on Start Menu Show My Computer on Start Menu Start Menu Items Not to Select Prohibit Access to Hot Keys Prohibit Access to Control Panel Page 13 of 19

Check dependencies one last time. From the Configuration menu select Check Dependencies. All dependencies should be resolved. Page 14 of 19

Creating and Testing the Run-Time Image From the Configuration menu select Build Target Image The destination location should be in the C:\Windows Embedded Images path with a directory that is named specifically for your lab or build. (i.e., C:\Windows Embedded Images\1030am Lab). You must always specify a sub-directory for the build- you cannot specify the root of any drive. The log file must be in a location other than the destination location. Click Build to start the run-time image build. You may be prompted and warned if the directory specified already has files in it. When complete, the image files should be arranged in a similar fashion to the following: You may also be prompted to re-run a Dependency Check if changes have been made to your configuration since the last time you did a Dependency Check. Page 15 of 19

Target Designer will now build the run-time image and assemble the image in the directory specified. When finished you should see a dialog similar to the one below: In the image above, note that there are no errors, but there are two warnings. The first warning occurred because no XP Product PID was specified for this build. This results in a timed, evaluation run-time image. The second warning occurred because the Tweak UI component was included in the image, but was not marked as a Released component. This has no effect on the image itself. When it is finished, click Close. Copy the files to the root of the D drive. Since the files are in a subdirectory of D: they must be moved to the locations specified in the Configuration Settings pane earlier in the lab before you try to boot the embedded image. Copy the files in the build directory to the root of D: then copy each of the directories in the Drive D subdirectory so that they are at the root of D: as well. When finished, the file and directory structure of D: should resemble this: Save the configuration (File Save) again. Close Target Designer Reboot the computer Page 16 of 19

Test the XP Embedded System We can now test the image that s been generated. During the reboot process, boot options will be presented. (To either boot into Windows XP Professional, or our XP Embedded Select Windows XP Embedded The list of bootable operating systems is managed by a file called BOOT.INI a sample BOOT.INI is shown below. We ve already edited the C:\BOOT.INI file for you. [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\winnt [operating systems] multi(0)disk(0)rdisk(0)partition(1)\windows="microsoft Windows XP Professional" /fastdetect multi(0)disk(0)rdisk(0)partition(2)\windows="microsoft Windows XP Embedded" /fastdetect Exploring the XP Embedded Build Once the Windows XP Embedded operating system has booted we can confirm that our build of the Windows XP Embedded o/s contains our Tweak UI Control Panel Applet component. Open the Control Panel application Verify that the Tweak UI Control Panel Applet component is included within the Control Panel (see the screen shot below). Page 17 of 19

TweakUI Control Panel Applet. Run the TweakUI control panel applet by double clicking on the icon. You should see a dialog display similar to the image below. Page 18 of 19

Lab Complete Page 19 of 19