Variable Definition

Variables from the configuration table have the following properties:
(Open the context menu Show definition to view the properties of this variable)

  • Name of Variable
    (Closedmore information)

    You can access all values in the configuration table using the syntax <Section name>.<Variable> ; (for example, in a package the values can be accessed like this).

    The definition of some values in the configuration table is based on other values from this table; for example, the variable Reporting.SmtpServer is defined as Mail.%SiteProperties.DnsDomain%. These "cascading" variables allow you to keep numerous settings consistent while specifying only very few values.

  • Description
    Describes variables in the configuration table.
  • Type of value
    (Closedmore information)

    Defines the values a variable can have:

    • DWORD (Number)
    • BOOLEAN (yes/no)
    • STRING (string)
    • REGISTRY_VALUE (registry value)
    • BINARY (binary)
    • OBJECT_ID (internal identification number of a site object)
    • OPTION (option)
    • You cannot access the value of a variable of the type BINARY, OBJECT_ID and OPTION . Ivanti DSM uses these values internally for managing the site configuration.

  • Defined in Module
    Specifies the DSM module or AddOn where the variable is defined.
    Note: This text box also displays internal DSM components that cannot be administered with the Module Manager, e.g. the NetInstall Spy (xniSpy32).
  • Range in the site structure
    (Closedmore information)

    The range of a variable defines the site structure level on which you can change a value. There are several levels:

    • Organization (ORG)
    • Organizational Unit (Region)
    • Site
    • Server
    • Repository
    • Variables are displayed in the configuration table but can only be changed in the Properties dialog.

  • Location
    (Closedmore information)

    The values of variables defined in the configuration repository are not necessarily also stored there. For greater flexibility, Ivanti DSM stores the values of variables in different locations:

    • In the ICDB on a depot (NiCfgSrv.ncp on a master depot)
    • In the local copy of the ICDB (NiCfgLcl.ncp on a master depot, copy on each managed computer)
    • In the local registry in HKLM
    • In the local registry in HKCU
    • In INI files
    • Some variables are displayed in the configuration table but can only be changed in the Properties dialog.

  • Inheritance of values (only NEE)
    (visible in the configuration table)
  • Type of variable
    (defined and user-defined variables - see below)

Fixed variables from the ICDB

In the ICDB, Ivanti DSM uses the following fixed variables:

  • CommonFilesDir
    Common files directory defined in the registry.
  • CurrentContext
    Current workstation context (depending on the depot for DSMC and/or Installer).
  • CurrentServer
    Current Server. Consists of <Server name>[<DNS_Domain>].
  • CurrentSite
    Current Site.
  • NiBinDir
    NetInstall's program files are contained in this directory (usually identical with NiDir). NIBinDir points to the location from where the local ICDB on the managed computer is updated.
  • NiDir
    DSM share (always points to a depot). Default: \\%CurrentServer%\NI5
  • PrimarySite
    The current workstation belongs to this site (due to its definition)
  • ProgramFilesDir
    Program files directory defined in the registry.