I assume that you mean "install" the .bar file, since opening it (on your PC) is a simple matter of unpacking it.
To install / deploy the simulator, you must do this on the command line, where the SDK folder / folder is located in your PATH.
blackberry-deploy -installApp -device DEVIP -password PASS -package barfilename.bar
DEVIP and PASS should be expanded to the IP address and password of the device / simulator, respectively. By default (perhaps only possible?) The password simulator is a "playbook".
You can include "-launchApp" in the above command to automatically launch the application, but if you just donβt click on its icon. The simulator may still have an error when the icon is not displayed until you change the categories back and forth or stop for a moment.
source share