Forum Replies Created
-
AuthorPosts
-
knowmad
Participantits part of xcode
July 16, 2009 at 9:25 pm in reply to: How to include MacOS X preferences files and app preferences files in InstaDMG builds #376649knowmad
ParticipantI strongly suggest searching these forums for ‘local mcx’ it is one of the best ways to handle prefs, I have moved almost all my pre-set prefs from defaults write to mcx.
Plus, if you like, you can use a graphical user interface to set them.knowmad
Participantnope, not really, as I need to update my machine, and I don’t want to blow it away every time I need to make a new image.
So…. back to the original question, how is it checking? Would dumping the receipt work?
(larkost?)knowmad
ParticipantIf, on the other hand, you need to have certain items on EVERY build you make, you can always add them at about line 622 (actually search the forums for ‘line 622’ for an example or two)which puts it before the cache.
I do it for the apps disc and (even though I shouldn’t) Office plus office 12.1 update. Those three things take over 45 minutes to install, but with them in the cached base image, I greatly reduce the build time for future images.
Again, be very careful with this, if you introduce an error at this point, it will be tough to find it later.
Have funknowmad
Participantilife is usually considered a custom folder item.
knowmad
ParticipantI cannot lay claim to the idea, was reported here in the past.
The whole idea here is to get it in BEFORE the cache is made so you dont need to redo it EVERY time.knowmad
Participant1) as spyder points out, you can run applescript from inside shell or vice versa as a startup script
2) I have no idea how much work would be required to get it to do personal istead of enterprise, I will work on it next month
Sorryknowmad
Participantlast I checked, the answer is to use a slight modification at line 622 of the 1.4b4 script, and a disk image of the applications DVD….
the line should read something like this:[code]installer -pkg “/Volumes/Applications Install Disc/Install Bundled Software.mpkg” -target “$CURRENT_IMAGE_MOUNT” -verbose[/code]
knowmad
Participantok, so I have been promising to write up a script myself for a LONG time, instead, I will share what I have found to guide my never written script:
that link is a good one, but very complicated scripting… I have not parsed it all but I feel it might do more than you or I need. I found it from a discussion started by our own tlarkin here:
http://forums.macosxhints.com/archive/index.php/t-93763.html
there were other items that could be used to do this, but this is particularly complete. I figure you can run the whole thing as first boot with the wireless setup hardcoded and then have it wipe itself out, or maybe, just maybe it can be done during the build process with a little fudging regarding the keychain itself.
maybe
knowmad
Participant[QUOTE][u]Quote by: thegooch49[/u][p]
Now for the question. Running this script ‘out of the box’ installs everything on the installer DVD. All the languages, print drivers, etc. Is there any way to trim this down? Is it just a matter of opening the OSInstall.mpkg, and deleting packages that install the languages? Can I just find ‘japanese.pkg’ and delete it?
[/p][/QUOTE]
In the setup you downloaded is a section called ‘installer choices’
It has good information on how to use them, set them up, etc…
There are several threads in this forum that explain it further.
Basically the installer choices file lets you choose what will and will not be installed for any package that has choices.There is even a newer way to handle it that seems to override settings within the installer.
Go forth and read…. sorry for the lack of links.knowmad
ParticipantHmm,
I think i will set up a nice stripe set on a system I have here…. Give it a whirl and see what happens.
Then again, if I was truly crazy I could go for an 8 core with 16gb of ram…. that’s enough for my image 😀knowmad
Participantthis may be cheating but…. I use places like versiontracker and macupdate to get those links.
knowmad
ParticipantHate to co-opt someone else’s thread but… its expedient.
Larkost, is rev200 ready for prime time or are we still in the ‘don’t touch, I’m making incremental and unstable changes’ world you had mentioned several threads ago (at least I think it was you)?knowmad
Participant[QUOTE][u]Quote by: Goldberg[/u][p]Hello All,
I’m new to InstaDMG and I’m having good success with making the image. I’m struggling with some basic settings. Specifically, I’m trying to figure out how to script the Airport connection to connect to our open network and get our network name into the Preferred Networks list.
Thanks!
Goldberg[/p][/QUOTE]Ok, item number one, look at this thread:
[url]https://www.afp548.com/forum/viewtopic.php?showtopic=20630[/url]Then, though I tend to use fseventer to [url]http://tc.versiontracker.com/product/redir/kind/1/vid/11001830/[/url] figure out what has been changed, rather than the snapshot packaging.
And there is always [url]http://tc.versiontracker.com/product/redir/kind/1/vid/512908/[/url] LANrev Install Ease as another free offering for making packages.
You will likely have to play with byhost prefs, so make certain you change their identities to match each new machine.knowmad
Participantis it possible that the pref is a byhost pref? (has what looks like a mac address after the name of the plist)
if so it will be ignored unless the number is changed to match the mac address of the machine its on…. scripts exist for that.
no idea otherwise, never touched this one. -
AuthorPosts
Recent Comments