Self-identification of installation directory