How to run the application after installation using PackageMaker

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,

+5
source share
4 answers

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"
+7
source

I solved this by adding a install.sh script message that has

#!/bin/bash

open /Applications/NewlyInstalled.app
+3
source

postinstall " " ?

+2

Regards to all of the above answers, but this also works after installation with the packages I mentioned below.

open -a 'App Name'
+2
source

All Articles