Uninstalling Modules and Themes...

Topics: Administration, Customizing Orchard
May 6, 2011 at 2:36 PM

Hello All,

I noticed in the 1.1 source that the PackagingServicesController in the Orchard.Packaging module contains an UninstallPackage action.  Digging in deeper, it appears as though there's a full implementation under the covers.  Can one of the devs let us know if the feature is ready for prime time and just needs to be exposed in the UI?  Not sure if there was just not enough time for UI in 1.1, or if the plumbing isn't ready yet.

Wasn't sure if you were looking for contributions in this area either?


May 6, 2011 at 3:57 PM

Behind the hood Orchard is using Nuget to install and update packages. There is no UI to trigger uninstall, though you should be able to use an Orchard console command for this: like "package uninstall Contrib.Foo"

Try it, though it won't remove the metadata and tables added by the module as they are not already handled by the migrations infrastructure.

May 10, 2011 at 12:55 AM

Thanks for the feedback.  Are there any plans to update the migrations infrastructure in upcoming sprints to gracefully handle removing metadata and tables created by modules?  I haven't seen a list the the upcoming work items for the core team's latest sprint.


Jun 29, 2011 at 3:42 PM

Im trying to uninstall a module as well, id like to see this more fully implmented as well. Thanks!