Forum OpenACS Q&A: Uninstalling a Package from Package Manager

Hai ,
  I want ot uninstall or drop the installed package from the openacs i.e. Using the Package Manager. Plz help me in doing this with a step by step manner.

Cheers

Venu Madhav Deevi

Collapse
Posted by Peter Marklund on
- visit /acs-admin/apm
- click on the package you want to uninstall
- click on the uninstall link

Unfortunately, I'm not sure all packages can be cleanly uninstalled. Now that we have APM callbacks I set up my packages to delete their data in a before-uninstantiate Tcl callback. That way the sql drop scripts are easier to write as they don't need to concern themselves with tearing down data.

Collapse
Posted by Tom Jackson on

Peter, can you provide an example package that uses these callbacks? Could mail them to me directly (if they are available), or provide a link?

Thanks

Collapse
Posted by Peter Marklund on
Tom,
on cvs head, take a look at the following files:

- but-tracker/tcl/install-procs.tcl
- workflow/tcl/install-procs.tcl
- logger/tcl/apm-callback-procs.tcl

I personally found the last name most informative.

Feedback and questions welcome as always.