Extension Installer/Writing a new installer adapter
Joomla! uses installer adapters to allow it to install different extension types with ease. This means that pluggable installation systems are possible. You can write an installer adapter and include it into your own project or provide an installer adapter in the central location to enable it to be utilised by the normal installer.
Installer Adapters have four primary tasks:
- Install - Installs a new extension
- Upgrade - Performs upgrade tasks for an extension
- Uninstall - Removes an extension
- Discover - Discovers an extension
Discover is a special operation that is designed to 'look' for new extensions to install. For example, a user might copy a component to the relevant folders but not have run the installer so the component won't appear in the installed extensions list. The 'Discover' function would find this extension and provide the user the ability to install it from its location.