Hi all I work in music production, the way the tools are set up is we use many tools (plugins) inside one larger app (a DAW), as such the process of setting up a machine to do work involves running 50-100+ different installers to get all tools installed. I'd like to write a small app that will automate the install process. I have a working approach for this where all steps work when run individually in terminal or via AppleScript, but as I create one unifying app I am running into an issue where any app I create in Xcode is not allowed to mount DMGs or give commands to terminal (even if I make a build app package and move it out of the Xcode directory, and even if I give explicit permission via settings) and if I try to have the app try to do the works via terminal it also can't seem to access terminal. I think there are some limitations I'm missing here. Any tips?
Writing your own installer app is somewhat challenging. As you’ve noted, there’s a lot of security roadblocks.
Hoffman presented some options that might work for you. There are a couple of other options I’d like to suggest:
-
Enable MDM on the Mac. That lets you install and remove components from the management console. This is great if you have a bunch of Macs that all need to be set up in this way.
-
You can build an installer package that aggregates other installer packages.
Beyond that, you might have better luck asking this question over in the Apple Support Community, run by Apple Support, and specifically in the Business and Education topic area, where you’re more likely to find folks with experience managing groups of Macs.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"