Several dependencies with condition in manifest.php?

Hello,
Is it possible to have Several dependencies with condition in manifest.php?

For example I have a core SuiteCRM module named “acmee_core” in version 3.1, in version 3.2 and also in version 3.3. I have also an extension SuiteCRM module named “acmee_ext” which is in version 1.0.0.
I want to allow installation of acmee_ext SuiteCRM module only if “acmee_core” is installed in version 3.2 or 3.3, not in version 3.1.
Thanks for your help.
BR
Christophe

@cgodard95

You can create script ‘scripts/pre_install.php’. look at the documentation (Module Installer :: SuiteCRM Documentation).

1 Like