Microsoft KB Archive/309630

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

Article ID: 309630

Article Last Modified on 5/6/2003

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-



This article was previously published under Q309630



IN THIS TASK
SUMMARY
 * Requirements
 * Prepare a Safe Build Environment
 * Perform an Unattended Installation of Windows XP
 * Perform the Post-Installation Configuration
 * Verify the Testing Environment

REFERENCES



SUMMARY
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

Requirements
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
 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</ul> </li> 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.</li> 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.</li> Create a new folder called Xplogo on drive C.</li> Click Designed for Microsoft Windows XP Application Test Framework 1.1 on the following Microsoft Windows XP Logo Download Web site to download the Logotestframework11.zip file:

http://www.microsoft.com/winlogo/downloads/software.asp

</li> Extract the contents of the Logotestframework11.zip file to the C:\Xplogo folder. This archive contains the Unattend.txt file that is used to install Windows XP, as well as some utilities that are used to configure the testing environment.</li></ol>

back to the top

Perform an Unattended Installation of Windows XP
To perform an unattended installation of Windows XP: <ol> 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:

XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

</li> 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.</li> 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

</li></ol>

back to the top

Perform the Post-Installation Configuration
To perform the post-installation configuration: <ol> 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 &quot;User1&quot; and &quot;User2&quot;, to be created.</li> 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

-and-

convert e: /fs:ntfs

</li> In the Add or Remove Programs tool in Control Panel, click Add/Remove Windows Components.</li> 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.</li> Log off, and then log back on as User1 with the LogoTest.1 password. This creates the profile settings for User1.</li> Log off, and then log back on as User2 with the LogoTest.1 password. This creates the profile settings for User2.</li> Log off, and then log back on as Owner.</li> 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

</li> <li>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 &quot;Test-Printer with long name ***&quot; (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.</li> <li>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.</li> <li>Download and install the VeriTest-Rational Installation Analyzer from the following VeriTest Web site (note that this tool is used by many of the Windows XP logo-compliance test cases):

http://www.veritest.com/mslogos/windows2000

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.

</li></ol>

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 &quot;User 1 LFNPath&quot; or &quot;User 2 LFNPath&quot;.

back to the top

<div class="references_section">