Runtime functions

The following runtime functions are available in Tarma Installer.

MSI note Windows Installer does not support runtime functions. If you are building a Windows Installer package and use runtime functions in a symbolic expression, Tarma ExpertInstall will issue a diagnostic.

Function Description
$dateadd Adds (or subtracts) a number of days, months, or years from a date
$datediff Returns the difference between two dates, in days
$dateiso Returns a date formatted acoording to ISO 8601
$datelocal Returns a date formatted according to the current locale
$datenow Returns a date some number of days, months, or years from the current date
$fbase Returns the file name without extension of the passed-in path
$fdir Returns the passed-in path minus its rightmost component
$fexist Returns nonzero if the passed-in path exists, zero otherwise
$fext Returns the extension of the file in the passed-in path
$fname Returns the rightmost component of the passed-in path
$froot Returns the root folder on the volume of the passed-in path
$fverf Returns the file version of the passed-in file
$fverfcmp Compares the file version of the passed-in file to a given version
$fverp Returns the product version of the passed-in file
$fverpcmp Compares the product version of the passed-in file to a given version
$ifte Performs conditional assignment
$iisdata Returns Internet Information Server metadata
$iispath Returns Internet Information Server path information
$part Returns a subpart of the passed-in string
$sfn Returns the short file name (8.3) version of the passed-in path
$shpath Returns one of the shell special folder paths
$strlower Returns the passed-in string converted to lowercase
$strsubst Replaces substrings in the passed-in path
$strupper Returns the passed-in string converted to uppercase
$vercmp Compares two version numbers