HOW TO: Build a Logo Testing Environment for Software in Windows XP
IN THIS TASK
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
RequirementsThe 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.
- Windows XP installation.
- To thoroughly test your program, you must create testing environments for both Windows XP Home Edition and Windows XP Professional.
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
- 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.
- 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.
- Create a new folder called Xplogo on drive C.
- To download the Designed for Microsoft Windows XP Application Test Framework 1.1, visit the following Microsoft Download Center Web site:
- 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.
Perform an Unattended Installation of Windows XPTo perform an unattended installation of Windows XP:
- 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
- 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.
- 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
Perform the Post-Installation ConfigurationTo perform the post-installation configuration:
- 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.
- 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
- In the Add or Remove Programs tool in Control Panel, click Add/Remove Windows Components.
- 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.
- Log off, and then log back on as User1 with the LogoTest.1 password. This creates the profile settings for User1.
- Log off, and then log back on as User2 with the LogoTest.1 password. This creates the profile settings for User2.
- Log off, and then log back on as Owner.
- 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
- 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.
- 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.
- 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):http://www.lionbridge.com/lionbridge/en-US/services/software-product-engineering/testing-veritest/product-certification-services/microsoft/Certified-for-Windows/cfw_analyzer.htmMicrosoft 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.
Verify the Testing EnvironmentTo verify the testing environment:
- Verify that you can log on to the computer as Owner, User1, and User2.
- 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".
For more information about the Windows Software logo, view the following Microsoft Web site and the following Microsoft Knowledge Base articles:
back to the top
Article ID: 309630 - Last Review: 12/07/2015 07:59:05 - Revision: 3.0
- kbnosurvey kbarchive kbhowto kbhowtomaster KB309630