I am wondering how to start an application after installation with PackageMaker. I am receiving tons of emails from my users asking me why the app does not start automatically.
Thanks in advance for your help,
Regards,
Use the -b option and give the applications bundle identifcation
" -b bundle_indentifier Specifies the bundle identifier for the application to use when opening the file "
open -b "app.bundle.id"
I solved this by adding a post install.sh script that has
#!/bin/bash
open /Applications/NewlyInstalled.app
What about choosing as postinstall action "Open File" and select as component your app?
Due respect to all above answer, but This is also working after installation with packages which i mention below.
open -a 'App Name'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With