Automation sandboxing in macOS 10.14

2018-10-16
Posted by Ingo Kegel

macOS 10.14 introduces automation sandboxing as part of a new push for security. This change impacts installers generated with install4j prior to 7.0.8, because they use AppleScript to perform a variety of tasks. The authorization dialogs from the new sandboxing mechanims are undesirable for an installer and once a permission is denied it is difficult to reauthorize it.

To solve this problem, nearly all affected operations have been re-implemented as native code in install4j 7.0.8. As part of this work we have fixed a long-standing issue on macOS: When requesting elevated privileges, the password dialog notified the user that "install4j" wants to make changes.

Blog figure

However, users most likely do not know the name "install4j" and could be tempted to cancel the dialog. Starting with install4j 7.0.8, the full name that is configured in your project is displayed instead:

Blog figure
Connect
Read with RSS
Subscribe by email
Follow on or
Blog Archive