beautypg.com

Using filters in a base map – Lenovo ThinkVantage ImageUltra Builder Version 5.0 User Manual

Page 102

background image

7.

If your repository contains folders, use the left pane of the Add Utility
window to navigate to the folder that contains the utility you want to add;
then, click OK. The Add Utility window closes and the utility is added to the
Before/After Menu Options tab.

8.

Double-click the utility you just added. The Edit Parameters window opens.

9.

In the Parameters field, type any parameters required to run the utility.

Note:

Do not use the default parameters provided in a utility or filter module.
Any parameters listed in the module Source tab are listed for example
only. In order to update parameters, you need to add the parameters
for each utility or filter module in the map settings where the modules
are being used.

10.

Click OK.

11.

Repeat steps 4 through 10 for each utility you want to add.

12.

When all utilities have been added, Click OK in the Map Settings window;
then click the Save icon in the Main window toolbar.

Using filters in a base map

The use of filters in a base map is optional. The purpose of a filter in a base map is
to query the target computer for specific hardware information and then use this
information to determine whether a specific menu or menu item should be
displayed during the installation process. The hardware information is typically
obtained from the computer BIOS. The filters provided with the ImageUltra
Builder program enable you to query for the machine type, model number,
platform (desktop or mobile), and whether or not the target computer is a Lenovo
branded computer.

The Edit Parameters dialog is used to specify parameters for filters and utilities.
This dialog has been changed to allow the result of a filter to be logically
designated as NOT:

The NOT result checkbox is displayed only when you are editing a filter. By
allowing the logical NOT operation on the filter’s return code, it is no longer
necessary to maintain dual sets of filters. For example, suppose you have a filter to
check for the existence of a file. If the file exists, the filter returns 1. If it does not,
the filter returns 0.

Prior to ImageUltra Builder 3.0, you would have had to create a separate filter that
would return 1 if the file did not exist, and0 if it did. With the logical NOT check
box, you now need only the original filter to check for both situations. A red
exclamation mark is displayed next to a parameter listed on the Conditions tab of
the Menu Item Properties dialog to indicate that it’s result is being logically
NOT’d.

When using filters in a map, filters are assigned to menu items, not to modules.
The behavior of the filter is controlled through the Menu Item Properties window.
Multiple filters can be assigned to a menu item; however, if you assign multiple
filters to a menu item, you must define whether only one filter needs to be
satisfied or if all filters need to be satisfied for the menu item to be displayed.

The following are a few examples of how you can use a filter in a base map.

88

ImageUltra Builder Version 5.0: User Guide