Having reference to another assembly is quite common scenario and so is using command line utility to deploy assemblies in production environments where we usually do not have Visual Studio installed.
For deploying assembly, we need to use "ImportApp" command with BTSTask. This command deploys the artifacts inside MSI file and if the application being specified isn't present, it creates it. Also, this command automatically adds reference to other applications. We just need to make sure: