Lenovo ThinkPad SL300 User Manual

Page 184

Advertising
background image

When creating an application module that contains a batch file, create the module as if it were a standard
application module, taking into consideration the following exceptions:

• In the Source tab, complete the Source Directory field with the entire path to the folder containing the

batch file and related application files for the module you are creating

• In the Source tab, complete the Silent Install Command field with the name of the batch file

• In the Options tab, type the full path to where the files are to be copied in the Path to copy installable

files field.

Note: Using a batch file to install an application requires that the application files and the batch file are the
only files that exist in the directory. You can have as many batch files as needed, but only one batch file
will be executed from the silent install command.

After specifying attributes for the application module, click the Save icon located in the Main window
toolbar. Then, build the module

Condition:Providing hardware detection for applications that do not have detection capabilities. For
example, you might have an application that is needed only if a specific hardware device is present, but
the application does not have hardware detection capabilities. An example of this type of application is a
CD-RW application that does not have hardware detection.

Depending on the level of hardware detection required, there are two possible solutions.

Solution 1: If the application is unique to a specific vendor PCI device, you can assign the ImageUltra 5.0
PCI - Adapter Check filter to your application module. This filter is provided as part of the ImageUltra Builder
program and checks for the presence of a specific 12-digit PCI vendor device ID. The filter parameter format
for this filter is VVVVVV DDDDDD, where VVVVVV is the vendor ID and DDDDDD is the device ID. For more
information about associating a filter with an application module, see “Setting the attributes for a new
application module” on page 136
or the ImageUltra Builder help system.

Solution 2: If you already have a separate program to detect hardware, or if you have the resources to
develop one, the ImageUltra Builder program enables you create an application module that includes a
Win32 program that does hardware detection and then installs the application, if it is needed.

The process for creating this type of application module is similar to creating a standard application
module. However, there are slight differences when you specify the attributes. After you have your source
files prepared, use the New Module Wizard to create a new application module as you would a standard
application module, but allow for the following exceptions when you fill in the attributes:

• In the Source tab, complete the Source Directory field with the entire path to the folder containing the

hardware detection program and related application files for the module you are creating.

• In the Source tab, complete the Silent Install Command field with the name of your hardware detection

program that first searches for the hardware and then installs the application if the hardware is present.
Do not enter commands for the Preinstall Command field, or the Postinstall Command field.

• In the Options tab, type the full path to where the files are to be copied in the Path to copy installable

files field.

After specifying attributes for the application module, click the Save icon located in the Main window
toolbar. Then, build the module.

Condition:Problems installing modules for applications with very deep folder structures

Solution: Do the following:

1. Create a self extracting .ZIP file from your source files.

170

ImageUltra Builder Version 5.01 User Guide

Advertising
This manual is related to the following products: