System Conditions

See also: Network Conditions or Common Conditions

The following "system" conditions are available:

  • DiskFree (Free disk space)
    Checks the free space on the specified drive (in MB).
  • ExecuteTimeOut (Last "execute" terminated with a timeout)
    Checks if the Execute command was finished with a timeout.
    You can set the timeout time in the configuration table in the Installation section.
  • Exist (Existence of a file)
    Checks if a specific file exists.
    Moreover, it can be selected whether on 64-bit computers the 64-bit branch of the system folder should be used or not.
  • FileDate (File date)
    Checks the version of the specified file.
    Moreover, it can be selected whether on 64-bit computers the 64-bit branch of the system folder should be used or not.
  • FileVersion (File version)
    Checks the version of the specified file.
    When creating the condition you can select the file you want to check in the File Version dialog. DSM automatically enters the correctly formatted version number of the selected file.
    You can also enter the version number manually or use a variable.
    Moreover, it can be selected whether on 64-bit computers the 64-bit branch of the system folder should be used or not.

      Note when entering the version number manually:
      - The specified version value needs to have the following format: A.B,C,D or A.B.C.D.

  • IsCurrentUserLocalAdmin (Logged in user is member of local admins group)
    Checks if the user, who is currently logged in, is a member of the local admins group.
  • IsInstalled (Executed installation of a package)
    Checks if the selected package has been executed already.
  • IsProcessRunning (Check for Process)
    Checks if a Windows process is running either by Window name or File name. Allows the use of ? and * wildcards.
  • IsWriteProtected (Write protected)
    Checks if the specified path is write protected.
    Moreover, it can be selected whether on 64-bit computers the 64-bit branch of the system folder should be used or not.
  • MSIIsProductInstalled (Existence of an MSI Package)
    Checks if a specific MSI Package is installed.
  • ProductVersion (Product version)
    Checks the product version of the specified file.
    When creating the condition you can select the file you want to check in the Product Version dialog. DSM automatically enters the correctly formatted product version number of the selected file.
    You can also enter the product version number manually or use a variable.
    Moreover, it can be selected whether on 64-bit computers the 64-bit branch of the system folder should be used or not.

      Note when entering the version number manually:
      - The specified version value needs to have the following format: A.B,C,D or A.B.C.D.

  • RAM (Memory)
    Checks the capacity of the memory (in MB).
  • RegKeyExists (Existence of a registry key)
    Checks if a registry key exists.
  • RegKeyExists (Existence of a registry key)
    Checks if a registry key exists.
    In contrast to RegKeyExists it can be selected whether on 64-bit computers the 64-bit branch of the system folder should be used or not.
  • RegValue (Checks a Registry Key value)
    Compares the value of a Registry key within an IF statement. Supported parameters are: the name of the key, an operator and the value.
    Moreover, it can be selected whether on 64-bit computers the 64-bit branch of the registry should be used or not.
  • RegValueExists (Existence of a registry value)
    Checks if a specific registry value exists (string, binary or DWORD value). The value name is the parameter.
  • RegValueExistsEx (Existence of a registry value)
    Checks if a specific registry value exists (string, binary or DWORD value). The value name is the parameter.
    In contrast to RegValueExists it can be selected whether on 64-bit computers the 64-bit branch of the registry should be used or not.
  • WaitForDisk (Certain disk in drive)
    Checks if a specified disk has been inserted (and waits until it is inserted).
  • WinVersion (Windows version)
    Checks the Windows version (16 or 32 bit).
    Considers minor and major versions.
    Example
    : Windows 5.1
  • XMLItemExists (the value exists in an XML file)
    Checks if a value exists in a specific XML file. Apart from specifying the actual XML file, you also have to specify which entry you want to check in the XML file. For this reason, specify the entry type and an XPath query. This query works like the ReadXML command.
    In addition, you must specify the search string. The wildcards * and ? can be used. If you leave the field empty, the system checks for empty contents.