DMG with end user license agreement

KyleT2

Bit poster
Has anyone run into issues with dmg installers that prompt for an EULA when mounted? I wrap all my installers in shell scripts and in these instances I have no problems if the script is run through terminal as a user. The problem I have is when I run the script unattended it hangs at mounting the dmg. The script line that does the mounting I use for a dmg like this is usually 'VOLUME=yes | hdiutil attach "$DMG" -nobrowse'.

The reason I use a shell script to run my installs is that almost every application I deploy has post-install steps that need to be completed, like activating a license key or copying other needed files to locations.
 
Back
Top