When installing a plugin, it will not install if the directory to which it is attempting to install already exists. This means that users of our plugin must first manually deactivate and delete the plugin.
Is there any way to forcibly overwrite the directory or to deactivate the plugin and delete the directory at installation?
The only solution I can come up with is to deactivate and delete the previous version on activation, but not only would this require versioning the plugin directory, it would also apparently require versioning all of the plugin's functions.