So created snapshot based on this index idea https://yearofthegeek.net/posts/install-logic-pro-with-all-audio-indexed-using-casper-suite/.
It does only index once with the dmg installed, if you login again with the same user account opens without indexing. So unsure what the expected behaviour should be.
Have solved half of what I set out to archive good to get the loops download and installled. Many thanks for you help with that very much appreciated.
Unfortunately I won't be able to assist in creating the loops database. I do know that the db is just an sqlite3 file and can be easily read, I just don't know how it is generated. Given time I could probably find out but I think it's pretty much out of scope of my expertise. I did ask ChatGPT but the file is 35MB so a bit big to upload it.
So, to get this done...
- on a test Mac install Logic Pro and the loops, index the loops in Logic Pro then package up ~/Music/Audio Music Apps/Databases/LogicLoopsDatabaseV10.db and ~/Library/Preferences/com.apple.logic10.plist. You can use Composer to create a DMG and use Jamf to deploy. Make sure you select the Fill User Template option when you upload it to Packages. One note, the com.apple.logic10.plist file contains hardware specific info about the microphone and speakers. Not sure if this would be an issue if your target Macs are difference from your test Mac so make sure you test on a target Mac
- In your Jamf policy, add my script with parameter 4. Also add your DMG to this policy, scope in your Macs and deploy.
If/when Apple update the loops you'll need to repeat the process.
Hope this helps