Launching a different sequence from the primary app

My primary app requires secondary app to launch and terminate in coexistence with the primary, is this possible? Currently the secondary app launches on startup for all users which is not the ideal solution.