dinoel, see if this approach will give you what you're looking for. It basically shows you how to spin off separate installations and wait for them to finish before proceeding (i.e. nested installation or command execution)
KA364306 - BBSA: How to install a custom software that may need to stop the network services
Lazar, thanks for your reply ...
But I mean something else:
- I want do install the package A but for it I need that the package B is already installed on the target
- if the package B is NOT installed on the target, I have to initialize the "automatic" installation of the package B and then the installation of the package A
You should create a component template and compliance rules that check for each of the conditions you would need to be there, eg some software is not installed, then deploy a remediation package. the remedation blpackage can have the depot software symlinked inside it.