Is there a way, as soon as a .dmg is mounted, without any user-action the contained .app launches, just like windows has autorun.ini?
1 Answer
No.
This in its most general application would be an egregious security risk. There is a provision to display a license prompt at mount time, however.
btw, Windows auto-run [as opposed to auto-play] has been disabled for many years [since Windows 7] for similar reasons.