Uninstall info: Made SQL statements more generic