Proper way to upgrade or uninstall a module?

Posted by Community Admin on 03-Aug-2018 04:53

Proper way to upgrade or uninstall a module?

All Replies

Posted by Community Admin on 07-Jan-2011 00:00
In the ModuleBase class, there is an "Install" and "Upgrade" event to override. The install logic is pretty clear, but how do I use the upgrade event (what's a good scenario to use it for)? Also, how do I handle uninstalls?
Posted by Community Admin on 07-Jan-2011 00:00
Posted by Community Admin on 07-Jan-2011 00:00
Hi bemara57,

Upgrade is called inside Install and it is used to notify if a module should be upgraded. Inside SystemConfig.config you will see that each module has  a version. So if custom implementations you can pass the version and decide whether to upgrade your module. 

Currently we do not use this method and it is left for future implementations.

Greetings,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Posted by Community Admin on 07-Jan-2011 00:00
Ivan,

Could you address the Uninstall portion of this question (and as it was asked in the other thread that was referenced)? Is there going to be a way to do an uninstall of a module (as opposed to simply disabling it in the config) where any cleanup can be done?

Thanks.
Posted by Community Admin on 12-Jan-2011 00:00
Hi bemara57,

Uninstalling module is planned for a future implementation.

Greetings,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
This thread is closed