wazuh-packages
wazuh-packages copied to clipboard
Unattended installer must rollback also the installed dependencies
The unattended installer run is supported by additional dependencies which are installed in an initial installer execution stage. If the installation goes wrong, a rollback is called but only with the main component, not with the installed dependencies. The unattended installer must be smart enough to detect what are those installed dependencies (by unattended) and remove them.
We should add as well the removal of those dependencies if the installation was successful, since they are installation dependencies they must not be installed after the installation (they are not needed)