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

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.