Including Particle dependency in the App

We are building a desktop app to testing the Particle iOT devices. The app is working fine if we install the Partilce-cli and other dependencies through the Command line. But we need to install all these dependencies when install the app for first time.Any help?