$InstallationDirectory

$InstallationDirectory
returns the directory in which Mathics was installed.