HOW TO: Build a Logo Testing Environment for Software in Windows XP

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article was previously published under Q309630
This article has been archived. It is offered "as is" and will no longer be updated.
Testing Windows XP logo-compliant software requires a consistent Windows XP environment. The Windows XP Logo Test framework provides details of the standard testing environment for Windows XP logo compliance and test cases that must be performed to ensure program compatibility.

This article describes how to build a Windows XP installation by using the Unattended.txt installation file and the tools that are provided in the Windows XP Logo Test framework.

back to the top


The following items describe the recommended hardware, software, network infrastructure, skills, knowledge, and service packs that you need:
  • A Computer with a 16 gigabyte (GB) hard disk, divided into four partitions, as well as either a CDROM or DVD drive.
  • Microsoft Windows 2000 Professional, Microsoft Windows 2000 Server, Microsoft Windows 98, Microsoft Windows Millennium Edition (Me), Microsoft Windows NT 4.0 Workstation, or Microsoft Windows NT 4.0 Server Service Pack 6 (SP6). You can use one of these operating systems as the safe build operating system.
  • Windows XP Home Edition or Windows XP Professional.
Knowledge requirements:
  • Windows XP installation.
  • To thoroughly test your program, you must create testing environments for both Windows XP Home Edition and Windows XP Professional.
back to the top

Prepare a Safe Build Environment

  1. Configure the disks on your computer (a 16-GB hard disk, divided into four partitions):
    • Drive C - Testing configuration files
    • Drive D - Windows XP user data
    • Drive E - Windows XP system
    • Drive F - Safe Build operating system
    • Drive G - CDROM or DVD drive
  2. Install Windows 2000, Windows 98, Windows Me, or Windows NT 4.0 on drive F. When you use this safe build operating system, you can install Windows XP by using a 32-bit installation program and provide an environment outside of Windows XP from which testing data can be read. If you install Windows NT 4.0, you must apply SP6.
  3. If you installed Windows 2000 or Windows NT 4.0 as the safe build operating system, format partitions C, D, and E with the NTFS file system or with the FAT32 file system.
  4. Create a new folder called Xplogo on drive C.
  5. To download the Designed for Microsoft Windows XP Application Test Framework 1.1, visit the following Microsoft Download Center Web site:
  6. Extract the contents of the framework111.exe file to the C:\Xplogo folder. This archive contains the Unattend.txt file under the Support folder that is used to install Windows XP, as well as some utilities that are used to configure the testing environment.
back to the top

Perform an Unattended Installation of Windows XP

To perform an unattended installation of Windows XP:
  1. Open the C:\Xplogo\Unattend.txt file in a text editor such as Notepad, and then replace the following line (in the [UserData] section) with your Windows XP product identification (ID) number:
  2. Insert the Windows XP CD in the CDROM or DVD drive. If the Autorun feature is enabled on the drive and a program starts, quit the program.
  3. At a command prompt, type the following command, and then press ENTER to start the unattended installation:
    g:\i386\winnt32 /tempdrive:E /unattend:c:\xplogo\unattend.txt
back to the top

Perform the Post-Installation Configuration

To perform the post-installation configuration:
  1. If Windows XP Home Edition is installed on the computer, log on as Owner (this occurs automatically when you start Windows XP). If Windows XP Professional is installed on the computer, log on as Administrator with the LogoTest.1 password (this password is specified in the Unattend.txt file). When you log on as Owner or Administrator, the Unattend.txt settings cause two user accounts, named "User1" and "User2", to be created.
  2. If partitions D and E are formatted as FAT32, use the convert command line utility to convert the partitions to NTFS by running the following two commands:
    convert d: /fs:ntfs


    convert e: /fs:ntfs
  3. In the Add or Remove Programs tool in Control Panel, click Add/Remove Windows Components.
  4. Install every component (click Details for each component to install all sub components), and then verify that all of the check boxes are available and not dimmed.
  5. Log off, and then log back on as User1 with the LogoTest.1 password. This creates the profile settings for User1.
  6. Log off, and then log back on as User2 with the LogoTest.1 password. This creates the profile settings for User2.
  7. Log off, and then log back on as Owner.
  8. At a command prompt type the following command, and them press ENTER (note that this command creates five folders with long file names in the My Documents folders for User1 and User2):
    c:\xplogo\create_folders_from_file.exe c:\xplogo\xp_csidl_folders.txt
  9. If you need to test program behavior when a printer with a long name is installed, start the Printers and Faxes tool in Control Panel, and then create a new local printer called "Test-Printer with long name ***" (without the quotation marks). If you do not have a printing device attached to the computer, click to clear the Automatically detect and install my Plug and Play printer check box and use any printer driver from the list.
  10. If your program installs Kernel-mode drivers, you must connect a Kernel-mode debugger (typically, you would do this by using a serial connection), and add the appropriate /debugport and /baudrate switches to the ARC path for your Windows XP installation in the C:\Boot.ini folder.
  11. Download and install the VeriTest-Rational Installation Analyzer from the following Lionbridge Web site (note that this tool is used by many of the Windows XP logo-compliance test cases):Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

    The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.
back to the top

Verify the Testing Environment

To verify the testing environment:
  1. Verify that you can log on to the computer as Owner, User1, and User2.
  2. When you are logged on to the computer as User1 or User2, the My Documents folder is located in the D:\Logo Test Docs & Settings folder and contains five folders with names that begin with "User 1 LFNPath" or "User 2 LFNPath".
back to the top

For more information about how to create a test environment for Windows XP logo compliance, read the LogoTestFramework11.doc document in the file that you downloaded.

For more information about the Windows Software logo, view the following Microsoft Web site and the following Microsoft Knowledge Base articles:
310153 HOW TO: Write a Windows XP Application That Supports Fast User Switching
286575 A Program Compatibility Check List for Windows XP
294895 How to Obtain the Windows Application Compatibility Toolkit

back to the top

application compatibility app compat os

Article ID: 309630 - Last Review: 12/07/2015 07:59:05 - Revision: 3.0

Microsoft Windows XP Professional, Microsoft Windows XP Home Edition

  • kbnosurvey kbarchive kbhowto kbhowtomaster KB309630