Installer (Darwin): Applescript fails in unattended mode

The Darwin installer currently tries to call out to osascript to create a login item to start the Deadline launcher.

Aside from not being able to disable this auto-start registration behavior (addressed in a separate thread), this process will fail if the installer is run in unattended mode in a non-GUI session on a machine with no GUI sessions active (e.g. on a render node by a software deployment system, over SSH, etc.)

It results in the following error (in addition to exiting with a non-zero exit status):

_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.

It seems this issue does not affect Snow Leopard, but it does affect Mavericks.

Hello,

Thanks for letting us know about this error. I have advised the devs and hopefully we can get this fixed fast, and make the silent install work better on Mac. I am not sure when this might be in, but I’ll try to let you know when it is.

Cheers,