Share via


Generate a .pmq File Using Target Analyzer (Standard 7 SP1)

7/8/2014

You use Target Analyzer to generate a .PMQ File so that you can discover and import inbox drivers into an image. Target analyzer is one of the tools provided with Windows Embedded Standard 7 Toolkit and it runs on the target device. Once you have a .PMQ file, you can use it to discover Windows Embedded Standard 7 drivers that match the hardware on your target device and then you can include those drivers in an image by using Image Configuration Editor.

Hardware and Software Assumptions

  • You have a target device that meets the Requirements for an Embedded Device.
  • The target device can write the .PMQ file to one of the following locations:
    • a network location
    • removable media such as a USB Flash Drive
  • You have the Target Analyzer program, TAP.exe. You can find the program:
    • On a bootable utility disk, such as the Standard_7_Toolkit.iso or a bootable utility CD-ROM

    • On the development computer in the tools subfolder of the Standard 7 Toolkit installation directory. For example:

                                              <system_drive>:\Program Files\Windows Embedded Standard 7\Tools\Image Configuration Editor\Tap.exe
      
  • The target device can boot into one of the following operating systems:
    • Windows 7
    • Windows Preinstallation Environment (Windows PE) 3.0
      Alternatively, you can create bootable media that contains Windows PE.

To Generate a .PMQ File Using the product DVD

  1. Start the target device into one of the following operating systems:

    • Windows 7
    • Windows PE

    Optionally, you can use the Standard 7 product DVD to start the device into Windows PE.

  2. Insert the Standard 7 product DVD if it is not already inserted.

  3. On the target device, prepare the location where Target Analyzer will generate the .PMQ file. For example, map a drive to a network location or insert a USB Flash Drive.

  4. On the target device, on the command prompt, type the following to start Target Analyzer, replacing <dvd_drive> with the letter of your DVD-ROM drive, <network_drive> with the letter of your mapped network drive and <output_file> with the desired name of your output .PMQ file.

                                    <dvd_drive>:\Windows Embedded Studio\Program Files\Windows Embedded Standard 7\Tools\Image Configuration Editor tap.exe /o <network_drive>:\ <output_file>.pmq
    

    If no output file is specified, Target Analyzer generates a PMQ file named devices.pmq in the directory TAP.exe is executed from.

Target Analyzer creates a .PMQ file.

To Generate a .PMQ File Using a Bootable Utility Disk

  1. Start the target device into one of the following operating systems:

    • Windows 7
    • Windows PE
  2. On the development computer, type the following to copy TAP.exe from the tools subfolder in the Standard 7 Toolkit installation directory to removable media, replacing <tools_directory> with the location of the Windows Embedded Standard 7 Toolkit on your development computer and <destination_directory> with your network share or removable media directory:

    copy "<tools_directory>\Windows Embedded Standard 7\Tools\Image Configuration Editor\Tap.exe <destination_directory>
    
  3. On the target device, insert the USB Flash Drive or map a drive to the <destination_directory> that has TAP.exe.

  4. On the target device, on the command prompt, type the following to start Target Analyzer, replacing <drive> with the drive letter of the USB Flash Drive or mapped network drive that has TAP.exe:

                                    <drive>:\tap.exe
    

    Since no output file is specified, Target Analyzer will generate a PMQ file named devices.pmq in the <drive> directory TAP.exe is executed from.

  5. Target Analyzer creates a .PMQ file.

Next Steps

After you generate a .PMQ file, the next step is to import the .PMQ file into an answer file by using Image Configuration Editor. For more information, see Import a .pmq File into Image Configuration Editor.