At first, please forgive discussed rather question type.
I need to build opensource software installer for OS X but I am not familiar with OS X conventions. Mentioned opensource software is complex and has to be distributed in virtualized environment form. So, to run it you have to use Vagrant and VirtualBox.
The whole of it needs to be done in a manner that is most familiar to OS X users, using the tools they're most accustomed to. Then my question is, how should look like such installer?
Just for example, should I build dmg disk image with bundled Vagrant and VB installers or pkg installer which gives option to download and install Vagrant and VB as components or maybe use preinstall script to perform silent components installation? Main goal is to use legit way if possible and give users the easiest method to install software.
Maybe you could point me to existing installers which perform more complex task, not just copy files.
[Edit] I do not ask for help in coding or in resolving any technical problem in fact but rather want to know what is the most familiar manner for OS X users to install software. In MS Windows for example, there's no problem when one installer downloads and runs another installer during its session. As I said, Vagrant and VB are indispensable components so what would be the 'correct' way to provide it to you, OS X users next to main software?