I am developing a Joomla! package that has a component and various plugins, libraries, modules, and a template. I have a package-level install script and a component-level install script (both named
script.mycomponent.php). I haven't tested my package-level installation yet, but the component-level script file runs fine when I install just the component.
I notice though that the
script.mycomponent.php file is not moved to my component's
administrator/com_mycomponent directory after installation. I had it in the back of my head from somewhere that it is loaded into the database, but I don't see any evidence of that happening (OT: does Joomla! load any executable PHP script in the database?).
Do I need to package two copies of the install script in my build process - one in the root of the component archive and one in the administrator folder? Shouldn't this happen automatically by the Joomla! installer?
I have the same issue (and questions) about my component's manifest file (
mycomponent.xml). Is it loaded in the DB? Do I need to manually put a copy of it in my
administrator/com_mycomponent directory in my build process? Where is the package installer file and manifest file stored after installation?