check for installer adding install dir to user or system path, and clean up if possible. use this for Mercurial