Forums / Developer / How to create a pre-uninstall custom script

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to create a pre-uninstall custom script

Author Message

Otto Lederle

Sunday 11 February 2007 4:45:19 am

The page http://ez.no/doc/ez_publish/technical_manual/3_8/features/packages/custom_install_scripts describes that "A custom script can be called at any stage during the <b>package installation/uninstallation process</b>". For the installation process this works fine but for the uninstallation process it seems that it is not possible to execute a custom script? I have tried it now for a while but it seems that the kernel/package/uninstall.php does not support the custom scripts the way as kernel/package/install.php does.

So it's not possible to create some pre-uninstall steps?

Otto Lederle

Sunday 11 February 2007 6:49:07 am

I think I have just found the answer to my own question. According to spec-41 (see http://ez.no/community/developer/specs/packages_system_and_setup_wizard#eztoc479449_2_2_6) uninstalling of packages is not implemented at all.