beautypg.com

Using filters in a driver map – Lenovo ThinkPad SL300 User Manual

Page 113

background image

Sample Driver Map 1 : Driver Map

Name

Device Driver (Mouse - Type 1)

Device_Driver (Ethernet - Type 1)

Device_Driver (Video - Type 1)

Version

Sample Driver Map 1

MTM 2536

Using filters in a driver map

The purpose of a filter in a driver map is to automatically determine which set of drivers to make available
to the Windows setup program (or mini-setup program in the case of a Portable-Sysprep Image) for a
specific target computer. The filters provided with the ImageUltra Builder program enable you to query for
the machine type, machine type and model number, platform (desktop or mobile), and whether or not the
target computer is a Lenovo branded computer. To reduce the number of menu items and filters in a map,
you can provide multiple drivers and let the Windows setup program (or mini-setup program) sort them out
based on Plug-n-Play hardware detection.

You can also create your own Win32 filters if you need to query for some other hardware condition. Filters
are Win32 programs that run during the installation process. In most cases, filters query the computer
BIOS for information, but filters can query any installed hardware that stores identification information in
a ROM or EEPROM module.

When using filters in a driver map, filters are assigned to menu items, not to modules. The behavior of the
filter is controlled through the Conditions tab of the Menu Properties window. If you assign multiple filters to
a menu item, you define whether only one of filters needs to be satisfied or if all of the filters need to be
satisfied to use the module.

When a filter is assigned to a menu item, a small condition icon (question mark on a yellow, square
background) is displayed in the lower-left corner of the menu-item icon. The following illustration shows the
tree structure of a device-driver map that has a filter assigned to each menu item.

Chapter 6

.

Map construction overview

99

This manual is related to the following products: