As an alternative to setting up the unattended installer for MacOS, what I've found best for our site is to run the installer by hand on my Mac, with our license settings (network license server config in our case.)
I then simply create a .DMG file containing a copy the Matlab program folder from my Applications folder. I give this DMG to our MacOS users, and simply tell them to mount the DMG on their Mac and drag-copy the fully configured Matlab program icon into "Applications" in the Finder. On Mac OS, this gives the same result as having run the install on their Mac.
I only wish it were this simple for Windows and Linux. Note that with R2020a the Windows SETUP.EXE program has been redesigned, and I'm finding that (despite claims in the documentation) the new one doesn't work for unattended installs calling it from the command prompt or a BAT script. I note that the new installer_input.txt template no longer makes any reference to mode=automated or mode=silent, nor to automatedModeTimeout=NN. Bummer.
However, there is a file in bin\win64\ named "setup_legacy.exe" which appears to support the old way: it does recognize flag "-inputFile my_installer_input.txt" and even accepts the mode=automated directive in that config file. I'm still sorting out what paths can be used - so far I've had to place the my_installer_input.txt file in the same subdir \bin\win64\ beside the setup_legacy.exe.