I am working on a policy to silently install Maya 2020 and I have a script that works fine when run locally or via ARD but fails with "Script exit code: 139" when I run it in the profile. The script is simple:
/Private/tmp/Install Maya 2020.app/Contents/Helper/Setup.app/Contents/MacOS/Setup --hide_eula -I deploy --silent -o /Private/tmp/Install Maya 2020.app/Contents/Helper/manifest/deployment_maya.xml
In the detailed results I get the following:
Script exit code: 139
Script result: _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
/Library/Application Support/JAMF/tmp/Install Autodesk Maya 2020: line 1: 11429 Segmentation fault: 11 /Private/tmp/Install Maya 2020.app/Contents/Helper/Setup.app/Contents/MacOS/Setup --hide_eula -I deploy --silent -o /Private/tmp/Install Maya 2020.app/Contents/Helper/manifest/deployment_maya.xml
Error running script: return code was 139.
Any help would be greatly appriciated.