Fixed a bunch of issues with using the automatic upgrade installer.