Forum Replies Created
-
AuthorPosts
-
jdyck
ParticipantHmmm, thanks for responding…
While I’m glad to hear it’s not just me, it worries me that this is happening at all. It makes it hard to trust this methodology when you can’t know from build to build if everything will show up… My last 5 or so builds all have something missing (different thing each time), so wondering if I’ve run into a limit of some type? Perhaps with the SparseImages, or the instadmg script itself?
As far as the order though, I can offer a suggestion there: you need to name your folders 01, 02. 03, 04, etc. Sort order should be proper then. (If you have more than 99 PKGs to install, then you need to name your folders 001, 002, 003, etc).
jdyck
ParticipantI should also specify that I have a half dozen nested Catalog files, perhaps that is confusing the system…
For example, I have an MS-Office08 file that contains the main Office installer and all updates.
I also have separate iLife08, iWork08, StartupAndLoginScripts, BaseOS, StandardPlugins and a few others.
Perhaps this is not best practice?
November 4, 2008 at 8:19 pm in reply to: Replica error since 10.5.5 update – ERROR (See /var/run/openldap-slurp/replica/.rej) #374654jdyck
ParticipantI haven’t used Kerio connected to OD, but I think what MacTroll is saying is that you haven’t installed the Kerio extensions an all your replicas… In other words, it’s on the master, but must also be installed on the replica servers.
jdyck
ParticipantI’ve been on site at some schools so haven’t had the chance to try it in my builds yet, but encouraging to hear it’s working for you. Always good to know my solution helped someone else out too :).
jdyck
ParticipantIt’s a bit of a hack, but I think I may have gotten it figured out…
I’ve essentially condense what I could figure out of the perl script (which had lots of error checking and abstraction to be useable by any Loop installer) into this very quick (read kinda hacky) script which deletes the indexes in /Library/Audio/Apple Loop Index/ and then calls the ALPIndex command buried in the installer for GarageBand…
[code]#! /bin/shIndexer=”/Library/Receipts/GarageBand_Loops.pkg/Contents/Resources/ALPIndex.app/Contents/MacOS/ALPIndex”
rm -rf /Library/Audio/Apple\ Loops\ Index/*
$Indexer “/Library/Audio/Apple Loops/Apple/iLife Sound Effects/”
$Indexer “/Library/Audio/Apple Loops/Apple/Apple Loops for GarageBand/”[/code]
If I run this as a script on an affected machine it seems to fix the problem, I’ve added it to my build train as a script that only runs on first startup (deletes itself after). Will find out in the next few days if that works as a fix or not.jdyck
ParticipantTwo things
First, here is the contents of my InstallerChoices.xml file for iLife 08 (the mpkg is copied from a standalone iLife08 DVD)… Assuming I have it right, I’m simply forcing the installer to choose ALL the iDVD and GarageBand install choices (by default the iDVD Extra themes and GarageBand Extra content is not installed)
[code]
[/code]
iDVD
GarageBand
Second, I’ve done some more digging into the GarageBand ExtraContent pkg installer (embedded into the iLife08.mpkg). There is a postflight installer, and a perl script called addRegistryItemLoops which looks like it edits some plist files to index Apple loops… I’m not any kind of perl expert so I’m fumbling through it, but I think at least I’m barking up the right tree…
October 23, 2008 at 7:21 pm in reply to: Odd issues from CreateUser with non-standard home folder #374535jdyck
ParticipantJust figured this out while troubleshooting something else… At some point in my testing the AD admin created an Active Directory account with the short name “admin” which is intermittently conflicting with my local admin account. D’oh!
jdyck
ParticipantMosen, did you get any chance to play around with this anymore? What were your results? I’m just about to build a multimedia lab image with both Final Cut Studio and Adobe CS3 installed. Just trying to decide whether I should create a build train for this, or just put the base image on a machine, install CS3 and Final Cut, and then just create a master image..
Curious to hear if others have found this worthwhile.
jdyck
ParticipantStupid me, just found it – had to go into /library/QuickTime/Perian.component/Contents/MacOS/Perian and add THAT Perian to the WGM allowed apps.
September 30, 2008 at 10:10 pm in reply to: Auto-configuring 802.1X for a user on first login #374301jdyck
ParticipantI don’t know how best to distribute this, but I just fixed a glitch in the setup script with newer hardware which uses the computer GUID rather than MAC address for ByHost prefs… My script only worked with older hardware that uses the MAC address as part of the plist name, corrected script fixes that.
Perhaps I should setup a Google code repository or something? And then people that are interested in contributing can? Is this something anyone would be interested in?
In the interim, you can edit the SetupWiFi.sh script – replace the # Defin the 3 plist files for easier reference section with the following (the code to figure out the proper UUID is by kevinberny from this discussion: [url]https://www.afp548.com/article.php?story=leopard_byhost_changes#comments[/url])
[code]# DYNAMICALLY SET THE LEOPARD UUID FOR THE BYHOST FILE NAMING
if [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i “UUID” | cut -c27-50` == “00000000-0000-1000-8000-” ]]; then
LEOUUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i “UUID” | cut -c51-62 | awk {‘print tolower()’}`
elif [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i “UUID” | cut -c27-50` != “00000000-0000-1000-8000-” ]]; then
LEOUUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i “UUID” | cut -c27-62`
fi# Define the 3 plist files for easier reference…
AirportPref=/Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
EAPProfiles=”$HOME/Library/Preferences/com.apple.eap.profiles.plist”
EAPBindings=”$HOME/Library/Preferences/ByHost/com.apple.eap.bindings.$LEOUUID.plist”[/code]jdyck
ParticipantHmmm, I seem to have jumped to the conclusion too quickly that this would work… I’m having a difficult time building an image that is fully in French…
I’ve tried both of the following:
• In instadmg.bash, I’ve edited the ISO_CODE=”en” line to be “fr”
• My understanding of InstaUp2Date is that I can have a ISO Langage Code line near the top of my “master” catalog file, so I have something like:
MasterImageName.catalog
[code]Output Volume Name = Macintosh HD
Output File Name = ImageName
ISO Language Code = frBase OS Disk:
Apple Updates:
include-file: Apple-BaseOS.catalog #(This would be my “vanilla” file, with 10.5.5 and all other updatesSystem Settings:
Admin User createUser-admin.pkg hash
Clear Reg clearReg.pkg hash
etc[/code]
I’ve also deleted the BaseImage in the Cache folder after making these changes, but unfortunately I’m still getting an image in English. Am I missing something here?September 29, 2008 at 9:09 pm in reply to: Odd issues from CreateUser with non-standard home folder #374289jdyck
ParticipantSorry, the Usrs is a type on my part. The output of the dscl command is:
[code]dsAttrTypeNative:naprivs: -1073741569
AppleMetaNodeLocation: /Local/Default
AuthenticationAuthority: ;ShadowHash; ;Kerberosv5;;admin@LKDC:SHA1.8501CD6A29E774A1BA743C963C593BB02F792006;LKDC:SHA1.8501CD6A29E774A1BA743C963C593BB02F792006;
GeneratedUID: E8AEED89-A325-48BA-973B-F69D17310CE0
NFSHomeDirectory: /var/admin
Password: ********
Picture:
/Library/User Pictures/Nature/Zen.tif
PrimaryGroupID: 20
RealName: Administrator
RecordName: admin
RecordType: dsRecTypeStandard:Users
UniqueID: 499
UserShell: /bin/bash[/code]
If I login and look at the home folder it is coming from /var/admin, so it’s like certain parts of the OS may have /Users hardcoded or something?jdyck
ParticipantHmmmm… I was hoping to try using the Office Update Patcher from this thread: https://www.afp548.com/forum/viewtopic.php?forum=45&showtopic=21882&highlight=office
I’ve been doing pretty much what you are suggesting, but really want to get away from it as much as possible as it reduces maintainability. I was using PKG-Image before, mostly chose it because (1) it had a nice GUI and (2) it imaged direct to a machine and is much faster at doing that than InstaDMG…
However, I was finding I had to rebuild most of the update packages from Apple (QuickTime, iLife updaters, others) and having to create my own base DMG for the OS (which often had to rebuilt for new hardware), both of which were very time consuming and started making me wonder if it was worth the effort.
So really really really looking forward to getting away from as much of the custom repackaging as possible (fingers crossed).
jdyck
ParticipantI haven’t used the earlier versions, but my understanding is that with this version you put the InstallerChoices.xml file into the /InstallerFiles/BaseOS folder, with the OS Installer dmg. Or, if you’re working with something like MS Office, you can put an InstallerChoices.xml file in the numbered folder with the Office Installer.
jdyck
ParticipantI was using the free editor Smultron, and it has both a menu command to change (Text -> Line Endings -> UNIX-Mac OS X (LF)) and an application preference to configure how you want to save by default (Preferences -> Open & Save -> Line Endings).
Not sure why Pico didn’t work for either of us though, as I was sure it used unix line feeds.
I can say once you get the first one figured out and working the second one is a lot easier 🙂
Hope that helps
-
AuthorPosts
Recent Comments