Posted on 09-24-2014 07:48 AM
This took me a while to figure out so I thought I'd share it. I obtained most of the information from various posts in JAMF Nation as well as trial and error.
First I enabled hidden folders to be viewed. Then in Composer Preferences, I removed /private/var/db from the Exclusion List. I then took a "New & Modified Snapshot". I then downloaded and installed GarageBand 10.0.2 onto a computer that didnt have any previous versions of GarageBand. Once the download completed, i opened GarageBand and was prompted to install the additional free content. I installed that content and open and closed GarageBand a couple of times to make sure it didnt prompt me for anything. I then ran the second snapshot. The source should contain 4 main folders: Applications, Library, private, & Users. The Library/Audio folder will have all the additional loops and sounds. The private/var/db/receipts folder will have all the receipts for the core content and additional loops. This is important. Without these receipts, GarageBand will prompt the user on first launch to install the additional sounds even though the install already has them packaged.
I then built it as a .dmg file and uploaded it to Casper Admin. I checked off the FUT and FEU boxes. I also uploaded a script I found online that removes any previous versions of Garageband and content. I created a policy to install GarageBand and runs the script before the install. I tested it several times and seems to work fine.
Now I'm trying to find out how to get the additional paid content.
The following is the script I use to remove previous versions of GarageBand:
#!/bin/bash
GarageBand="/Applications/GarageBand.app"
if [ -e "${GarageBand}/Contents/_MASReceipt" ]; then
rm -rf "${GarageBand}"
rm -rf "/Library/Application Support/GarageBand"
rm -rf "/Library/Audio/Apple Loops"
rm -rf "/Library/Audio/Apple Loops Index"
rm -rf "/var/db/receipts/com.apple.pkg.GarageBandBasicContent.bom"
rm -rf "/var/db/receipts/com.apple.pkg.GarageBandBasicContent.plist"
rm -rf "/var/db/receipts/com.apple.pkg.GarageBand_AppStore.bom"
rm -rf "/var/db/receipts/com.apple.pkg.GarageBand_AppStore.plist"
fi
exit 0
Thanks
Mark
Posted on 10-07-2014 01:15 AM
This is a nice share :)
But for the uninstaller bit of this, if you want to uninstall older version, did you try
sudo uninstall /Application/GarageBand.app
Just a thought, not sure if it is widely accepted command.
Posted on 04-20-2017 09:42 PM
I know this is an old post but hopefully I get a response.
Can you clarify if you ticked or un-ticked the FUT and FEU boxes?
Posted on 04-21-2017 04:20 AM
I'm glad this post came back up in the scope of discussions as I just posted this past week on how to do this. Any help would be greatly appreciated!
Posted on 04-21-2017 07:26 AM
@michelm I changed my method for installing GarageBand and it's extra content. After scouring through several JAMF Nation posts, I came up with a new method.
First I capture the native GarageBand package using the Der Flounder method: https://derflounder.wordpress.com/2013/08/22/downloading-apples-server-app-installer-package/
Then Ive downloaded all the extra content, used Composer to bundle it up and place it in the tmp folder and a script to install the extra content. I used the list in this link provided by @bpavlov and the script by @gshackney : https://www.jamf.com/jamf-nation/discussions/14594/garageband-10-0-3-deployment-issue#responseChild93147
However, after looking at new replies to these posts, it seems to be new content that came out in 2016: https://www.jamf.com/jamf-nation/discussions/20079/upgrade-garageband-sound-library-missing#responseChild121383. I'm not sure if this replaces the 2015 & 2013 content or is in addition to it.
@jacob_salmela Has a script to download everything: https://github.com/jacobsalmela/adminscripts/blob/master/downloadGarageBandContentPkgs.sh#L351-L426
Hope this helps.
Posted on 04-21-2017 07:38 AM
My script still works, but I believe there are even more loops available now; I haven't kept up on it since maintaining GarageBand has fallen out of my purview, but once you find the names of the packages, you can just duplicate the code to download the rest.
Posted on 04-21-2017 08:13 AM
@jacob_salmela yes there are many more loops now (or they've been broken out from a combination set). I used to install the packages individually when there were less than a dozen. But if memory serves me to get all the loops of the recent version of GB was going to require me to install 40-50 packages. That was more than I wanted to deal with. So I went the composer route.
Posted on 04-26-2017 12:32 PM
FYI, we opened a ticket with Apple regarding VPP and GarageBand and the admin prompt to install additional content.
When they asked how many users are effected, we told them nearly 6,000 have it installed, they then escalated up the chain.
Whether they come back with a workaround or fix, who knows, but good to see them taking this issue seriously.
Posted on 04-28-2017 03:36 AM
@donmontalvo Keep us posted!
We've built a workflow, but it's a PITA with anything that comes from VPP & has additions.
Add Logic & Xcode to the list too.
Posted on 04-28-2017 04:48 AM
@donmontalvo @bentoms i put that same ticket in years ago and never went anywhere. I'll put another one in, is there a case number or something I can reference? We have 6k clients too and managing garageband (and logic pro) in labs is a PIA. I keep saying I wish it was like clip art where it downloaded as needed...
Posted on 04-28-2017 05:01 AM
@CasperSally @bentoms here ya go:
[100175589865] VPP device assignment distribution of GarageBand prompts for admin rights on first launch
I plan to open an Xcode ticket for the same reason, admin rights needed on first launch. Command Line tools, iOS Simulators, etc., should be handled silently behind the scenes...anyone have an existing ticket I can reference?
@bentoms we don't have LogicPro in VPP (yet), good to know it'll have the same issue.
Posted on 04-28-2017 07:20 AM
@donmontalvo Thanks for the ticket information. I'm going to jump on this band wagon as well as we have lots of students who use GB. I appreciate you getting this rolling, hopefully with a few requests they'll do something about it.
Posted on 04-28-2017 07:38 AM
@egill @donmontalvo our ticket info - I mentioned Don's ticket in mine.
[100182175174] garageband loops distribution
Posted on 04-28-2017 07:42 AM
@CasperSally great job, I haven't heard back from our Apple rep yet, but I'll post more when I hear back.
Posted on 04-28-2017 09:04 AM
@CasperSally thanks, sorry I means does anyone have a case number for the Xcode admin prompt?