Add library function to main Windows installer script

Allowed by license in repo: https://github.com/github/linguist
Only uninstall files we've installed