Make the code for figuring out the installer, etc smarter.