» Thu Jan 23, 2014 1:06 pm
You could try constructing your mod in such a way, that when it is uninstalled:
- Not a single vanilla script that may have been modified is running.
- Not a single new script introduced by the mod is running
- Any registrations that may have been made by the mod are unregistered.
- A save is made before uninstallation, after all the above are true.
That might perhaps mitigate some of the worst consequences of uninstalling
Still, there is no way to avoid all consequences, such as your save containing mod-related properties and variable data. No guarantees can be given, but if you are lucky, your game might then be able to at least partly recover from uninstallation, assuming, that your save might be free of stored copies of active mod scripts, that would otherwise continue to persist and wreak havoc even after uninstallation.