print error message if installation directory is not set