registry::installed function