I am wondering how to run the application after installation using PackageMaker. I get tons of emails from my users asking me why the application does not start automatically.
Thanks in advance for your help,
Hi,
Use the -b option and give the application package identifier
"-b bundle_indentifier Specifies the package identifier for the application that will be used when opening the file"
open -b "app.bundle.id"
I solved this by adding a install.sh script message that has
#!/bin/bash open /Applications/NewlyInstalled.app
postinstall " " ?
Regards to all of the above answers, but this also works after installation with the packages I mentioned below.
open -a 'App Name'