This isn't going to work on windows installs.

You should use a combination of `unlink` and `rmdir` to remove the installation directory, if that's something you really want to do.