Exclude an extension from package uninstalling

11 views
Skip to first unread message

Soheil Novinfard

unread,
Apr 11, 2013, 4:16:39 AM4/11/13
to joomla-de...@googlegroups.com
hi friends,

Is it possible to exclude an extension from package uninstalling? I search script.php for any related methods, but It seems not possible.

PLEASE help me, 

Thanks,
Soheil

piotr_cz

unread,
Apr 11, 2013, 4:38:12 AM4/11/13
to Joomla! General Development
Maybe alter the package manifest (remove <file /> xml element) from
within package script file?
Seems that there is no preflight for uninstallation, but you may use
installer constructor:

public function __construct(&$parent)
{
$manifest = $parent->get('manifest');
// Select extension xml elemnent
// remove from manifest
}

This is just idea, didn't try out
Reply all
Reply to author
Forward
0 new messages