Isn't ensuring that the app's dependencies are installed the responsibility of the installer of the app you were trying to run in the first place?
Your app shouldn't need to check if Foo::Bar is available and install it at run time every time. Your app's installer should check Foo::Bar is installed, then your app can always assume that it's installed.
|
|---|