Is it possible to install base app when install dependency app

Hi All,
I have two X & Y apps, X app does not have any dependency in app.json but Y app has dependency X… We are planning to put the Y app in the app store, is it possible to install X app automatically when we install Y app.

Yes, if both apps are in app store or if “X” is an Library app in appstore then it will be triggered automatically

Yes, it is possible to install a base app when installing a dependency app. This can be done by specifying the base app as a prerequisite in the dependency app’s installation process. The installation process of the dependency app can then check if the base app is already installed, and if not, it can initiate the installation of the base app before proceeding with the installation of the dependency app.

thanks all, it is working