Re: How to create an installer for GarageBand instrument packs ?
Re: How to create an installer for GarageBand instrument packs ?
- Subject: Re: How to create an installer for GarageBand instrument packs ?
- From: Karl Kuehn <email@hidden>
- Date: Tue, 19 May 2009 11:50:15 -0700
On May 19, 2009, at 11:27 AM, Christian Unger wrote:
On 19.05.2009, at 19:43, Sandro Bilbeisi wrote:
How to create an installer for GarageBand instrument packs ?
I think you have to register your instrument pack
/Library/Application\ Support/GarageBand/Package\ Registry.plist
I worked through this for our imaged computers (different images have
different loops installed on them, and I didn't want to have to keep
track of the combinations). My solution was to grab the
"ALPIndexer.app" from inside the latest installer (currently
GarageBand '09) and run it on all of the folders inside the folders in
"/Library/Audio/Apple Loops" (there are two levels, and you have to
run on the folders inside the inner level). I don't know if that is
really going to help you, since I am within what I consider fair-use
on the installer, but you might fall outside of that.
Here is the script I use - note that it won't work without having the
ALPIndex.app at the correct place:
#<!------------------------- Start Script -------------------------->
#!/bin/bash
# reindex the audio loops for applications like garageband
ALP_PROGRAM='/Library/Management/HelperApps/ALPIndex.app/Contents/
MacOS/ALPIndex'
LOOPS_LOCATION='/Library/Audio/Apple Loops'
IFS=$'\n'
if [ -d "${LOOPS_LOCATION}/" ]; then
for VENDOR in `ls "${LOOPS_LOCATION}/"`; do
for PROGRAM in `ls "${LOOPS_LOCATION}/${VENDOR}/"`; do
$ALP_PROGRAM "${LOOPS_LOCATION}/${VENDOR}/${PROGRAM}"
done
done
fi
$ALP_PROGRAM -p
#<!-------------------------- End Script -------------------------->
--
Karl Kuehn
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden