Successfully created a package for GarageBand 10.0.2 and additional content

msnowdon
Contributor

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

14 REPLIES 14

globaldominatio
New Contributor II

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.

michelm
New Contributor

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?

nhubbard
New Contributor III

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!

msnowdon
Contributor

@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.

jacob_salmela
Contributor II

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.

Brad_G
Contributor II

@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.

donmontalvo
Esteemed Contributor III

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.

--
https://donmontalvo.com

bentoms
Release Candidate Programs Tester

@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.

CasperSally
Valued Contributor II

@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...

donmontalvo
Esteemed Contributor III

@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.

--
https://donmontalvo.com

egill
New Contributor III

@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.

CasperSally
Valued Contributor II

@egill @donmontalvo our ticket info - I mentioned Don's ticket in mine.

[100182175174] garageband loops distribution

egill
New Contributor III

@CasperSally great job, I haven't heard back from our Apple rep yet, but I'll post more when I hear back.

donmontalvo
Esteemed Contributor III

@CasperSally thanks, sorry I means does anyone have a case number for the Xcode admin prompt?

--
https://donmontalvo.com