I'm still getting used to Jamf so bear with me.
I've created a Policy to copy the Install Maya 2020.app
Subsequently running two scripts
1. Install Maya
2. Configure license server file
The Install script:
/library/installers/maya_2020/Install Maya 2020.app/Contents/Helper/Setup.app/Contents/MacOS/Setup --silent
Fails with this error:
Executing Policy FAE - Maya 2020
Installing FAE - Maya_2020.dmg...
Running script FAE - Maya Install...
Script exit code: 0
Script result: _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
/Library/Application Support/JAMF/tmp/FAE - Maya Install: line 3: 780 Segmentation fault: 11 /library/installers/maya_2020/Install_Maya_2020.app/Contents/Helper/Setup.app/Contents/MacOS/Setup --silent
From what I've found in my limited testing, even though the installer is running "silent", it refuses to run unless there is someone logged in to the graphical UI. I'm still working with their support team to try to find a way to do the install remotely, but nothing yet. Do let us know if you find something!