Drive letter limitations and the use of variables – Lenovo ThinkVantage ImageUltra Builder Version 5.0 User Manual

Page 213

Advertising
background image

Drive letter limitations and the use of variables

The ImageUltra Builder program has a number of predefined global variables that
you can use in batch files or in the Command and Parameter fields in the
ImageUltra Builder interface. It is a good idea to avoid hardcoding drive letters
and to use the provided global variables instead because the drive letter
designations can change based on whether or not you perform a direct-network
installation.

If you are performing a standard installation (network, CD, USB Key, or USB hard
disk drive deployment and local installation), drive-letter variables are converted
to single-digit drive letters. However, if you are performing a direct-network
installation, where a network-staging folder is used, some drive-letter variables are
converted to a path pointing to the network staging folder, which could be very
long.

The following are predefined global variables for the staging area:

v

%ROOT%: This variable is the root path for all ImageUltra Builder deployment
and installation code. The default value is C:

v

%ROOTDRIVE%: This variable is the drive letter of the root path. The default
value is C:

v

%IUTEMP%: This variable defines the temporary work area. The default value is
C:\IUTEMP

v

%IUTEMPDRIVE%: This variable is the drive letter of the path for the
temporary work area. The default value is C:

v

%NETINSTALL%: If the NETINSTALL variable is defined in any way, the
process assumes that it is running from the network.

v

%RAMD%: This variable defines the RAM drive used by the ImageUltra Builder
installation process. The default value is R:

v

%SPDRIVE%: This variable defines the drive letter of the service partition. The
default value is C:

v

%IULOG%: This variable defines the folder where the SNAPSHOT.BAT file
moves the %IUTEMP% at the end of the ImageUltra Builder installation process.
The default value is C:\LASTCFG.

v

%BOOTDRIVE%: This variable defines either the system drive or the
ThinkVantage Technology drive, depending on whether the operating system is
Windows XP, Windows Vista, or Windows 7.

The following are predefined variables for the \IUWORK folder on the user
partition:

v

%SRCLOC%: This variable defines the location of the IUWORK folder and is
available only when the ImageUltra Builder program is performing installation
procedures under Windows control. The default value is C:\IUWORK.

v

%OSTYPE%: This variable is the operating system that is currently installed, and
is available only when the ImageUltra Builder program is performing
installation procedures under Windows control.

v

%TIMESTAMPLOG%: This variable defines the event log file created by the
ImageUltra Builder installation processes. All major events are time stamped in
this file. The default value is STAMP.LOG

Use these predefined global variables for their specified purpose only.

Chapter 13. Debugging problems

199

Advertising