In the installation itself it uninstalls/unregisters the former install and asks you to reboot as part of the installation procedure.