I did not see the dmg files opening automatically, but it was possible to automatically open the folder after the user installed the dmg file.
Once you have created the dmg file, mount it, and then run the following command:
blessing - folder / volumes / TITLE - folder / volumes / HANDBOOK
NAME is your installed folder name, and DIRECTORY is the directory you want to open automatically, often NAME and DIRECTORY are the same.
Atte kotiranta
source share