Overview of Variable Types

Category Variable Type Brief Explanation Examples

Package

Local variables

Valid only within the package. Used for path specifications, for example. One way in which local variables are generated is the SET command in the package

SET TestInstallPath = %WINDIR% \TESTINST

Runtime variables

Values are generated by Ivanti DSM at package runtime. Can be used for reporting

Project.Name

_LAST_ERROR_TEXT

DSM

Variables from the configuration table

Values in the configuration table can be accessed in the form ICDB.<section>.<value>

ServerProperties.NetInstallDir

LogFileSet­tings.LocalPath

Properties and variables of DSM objects (DSMDB)

Values are taken from the DSMDB for the respective object.

CurrentComputer.BasicInventory.InstalledOS

CurrentPolicy.Base.Id

CurrentComputer.Var.<variable name>

Other predefined variables

DSM offers a number of variables which are assigned automatically.

NiDir, NiBinDir, ProgramFilesDir, CommonFilesDir, WINSYSDIR, _LOG_FILE

Operating system (environment)

 

Variables are made available to the computer by the operating system

Windir