I am trying to script the installation for the Mac Splunk Universal Forwarder package. The package is a disk image (.dmg).
I understand that we can mount the image using hidutil and access the volume to find the .pkg file.
The issue comes from where we attempt to run installer pkg the end user is prompted to answer dialog boxes, which we do not want to occur.
Is there a switch to use to install the extracted pkg or dmg file silently to install the app on Mac OS Machine ?