My plugin only installs correctly if the user first deactivates and then deletes a previously installed version. If they do not delete the previous version, the installation either does not complete or the plugin, once installed, does not work.
Although it would be nice to get at the heart of why this is occurring, it seems like for best user experience anyway the plugin should automatically deactivate and remove previous versions upon installation. Is this possible?