What you should do is detect if the old version is installed and force an uninstall.