Removing joomla package without removing all child extensions

I created a joomla package, including all component and module packages in the package package folder. all the necessary settings in the package xml file as follows:

<extension type="package" version="2.5" method="upgrade">
........
<packagename>mypackage</packagename>
........
<files folder="packages">
    <filename type="module" id="mypackage">Ajax-Session-Module-master.zip</filename>
    <filename type="component" id="mypackage">component-develop.zip</filename>
</files>
.......

When I install the package, I see that these modules and components described above are installed well, but when I remove the package from the extension manager → the control page, the package is deleted, but these modules and package components are not automatically removed!

Where I am wrong, I just don’t get it, since I got from the Internet that I need to specify the file name identifier as the package name in the package XML file above, so this happened, but this did not solve the problem. Fyi this package will be for joomla 2.5 and 3. Please bring me in the right direction as soon as possible.

+1
1

, <file ...> <filename ...>. - xml:

<?xml version="1.0" encoding="UTF-8" ?>
<extension type="package" version="3.0">
......
......
......
<files folder="packages">
    <file type="module" id="mod_rr_test_one" client="site">mod_rr_test_one.zip</file>
    <file type="plugin" id="rr_test_one" group="content">plg_content_rr_test_one.zip</file>
</files>

+1

All Articles