Hi Everyone,
Like some of you, I got frustrated by the tedious proces of downloading and products when you re-installed your mac. I tried using the terminal but I got stuck multiple times. Then I found this stackoverflow answer and that solved it for me. I like to share it with you guys, hopefully this will save you some time and frustration.
Unfortunately I wasn’t able to automate the installation of updates. Those use a different installation format for some reason.
My example here is based on EZkeys, please adjust it to your situation. This requires a familiarity on the terminal and only works on Macs.
Warning: obviously this is is at your own risk, proceed with caution.
First open up the Toontrack Product manager. Download all the updates and stuff you want to install. Once everything is downloaded you can proceed to the next step.
Next open the terminal app. Go to your downloads location in your terminal. For example /Users/Gearnerd/Downloads/Toontrack.
cd ~/Downloads/Toontrack
Type “ls -l” to make sure you have all the installers in this particular folder. Now type the following:
for i in *.dmg ; do hdiutil mount $i ; done
You should see in your finder window that all the installer images are now mounted. Please only proceed if this is the case.
Next, the installation phase. Go to your library folder. I have mine on an external disk so that would be:
cd /Volumes/External-drive
or if you have it intalled on your local drive
cd cd /Library/Application\ Support/Toontrack/EZKeys
Make sure you’re in the right folder using the “pwd” command. Now you can proceed the actual installation:
This next step is risky. If you’re unfamiliar working on the command-line or you’re not sure if you done everything correctly, Please don’t proceed!
For installs:
for i in /Volumes/EZkeys\ *; do sudo installer -pkg $i/Installer.pkg -target / ; done
Now you have to type in your password (only once, instead of each installation). You’ll see a information prompt saying the installation is in progress, you can safely ignore that, you don’t have to click OK.
After a while everything should be installed.
Updating can be slightly less tedious by having the installers opened one after the other by mounting all the volumes as desribed above, and opening the proprietary update installer like so:
for i in /Volumes/EZkeys\ *; do $i/Updater.app/Contents/MacOS/Installer ; done
Hopefully this helps you as much as it did me. If you know how to automatically install updates. Please let me know.
-
The post has been modified 2 times, last modified 3 years, 2 months ago by gearnerd.
1
Thanked by: Scott Eshleman