get app name and base directory from registry