Forum Replies Created
-
AuthorPosts
-
July 18, 2009 at 9:12 am in reply to: How to include MacOS X preferences files and app preferences files in InstaDMG builds #376656
typofonic
ParticipantThanks for the reply both of you!
I looked into the Local MCX way, since it seemed like the most userfriendly way to do it. I’m completely new to it though so I have some questions:
• In WorkGroup Manager is it possible to add multiple preferences at the same time? I have around 100 preferences files that need to be added and I would like to avoid adding them all manually.
• How do I add something like CS4 settings? Files like “Adobe Photoshop CS4 Prefs” and the “Adobe Illustrator CS4 Settings” aren’t possible to add in MCX (they’re not active in the Add Preferences dialog bog in WorkGroup Manager.
• After I have set it all up in Workgroup manager who do I continue and include the settings made in the InstaDMG build?I followed the tuturials on <http://managingosx.wordpress.com/2008/02/07/mcx-dslocal-and-leopard/>, <https://www.afp548.com/forum/viewtopic.php?forum=45&showtopic=23308&highlight=local%20mcx>, <https://www.afp548.com/article.php?story=using-mcx-in-the-dslocal-domain> and <http://homepage.mac.com/gregneagle/files/MW2009_IT803.pdf> but I still don’t understand how to implement it.
Anybody know how to continue?
typofonic
ParticipantHey Walt,
Thanks for sharing your script! It’s really useful with the detailed comments. Do you happen to know how to also change keyboard layout and how to change the Region settings?
/ Anders
typofonic
Participant[QUOTE][u]Quote by: aaronwyatt[/u][p]
# add lat, long, zone, country, city, etc.:
/usr/libexec/PlistBuddy -c “Add :com.apple.TimeZonePref.Last_Selected_City:0 string 42.333336” /Library/Preferences/.GlobalPreferences.plist
/usr/libexec/PlistBuddy -c “Add :com.apple.TimeZonePref.Last_Selected_City:1 string -71.083336” /Library/Preferences/.GlobalPreferences.plist
/usr/libexec/PlistBuddy -c “Add :com.apple.TimeZonePref.Last_Selected_City:2 string 6” /Library/Preferences/.GlobalPreferences.plist
/usr/libexec/PlistBuddy -c “Add :com.apple.TimeZonePref.Last_Selected_City:3 string ‘US/Eastern'” /Library/Preferences/.GlobalPreferences.plist
/usr/libexec/PlistBuddy -c “Add :com.apple.TimeZonePref.Last_Selected_City:4 string ‘US'” /Library/Preferences/.GlobalPreferences.plist
/usr/libexec/PlistBuddy -c “Add :com.apple.TimeZonePref.Last_Selected_City:5 string Boston” /Library/Preferences/.GlobalPreferences.plist
/usr/libexec/PlistBuddy -c “Add :com.apple.TimeZonePref.Last_Selected_City:6 string U.S.A.” /Library/Preferences/.GlobalPreferences.plist
/usr/libexec/PlistBuddy -c “Add :com.apple.TimeZonePref.Last_Selected_City:7 string Boston” /Library/Preferences/.GlobalPreferences.plist
/usr/libexec/PlistBuddy -c “Add :com.apple.TimeZonePref.Last_Selected_City:8 string U.S.A.” /Library/Preferences/.GlobalPreferences.plist
[/code][/p][/QUOTE]Maybe I’m a noob, but could please somebody explain these lines. What does each line refer to?
String 0-2 has numbers and 5 and 7 & 6 and 8 are duplicates.I’m trying to set up an image localized to Danish.
Any ideas?
May 22, 2009 at 9:03 pm in reply to: 10.5.7 Combo installs only partially with InstaDMG rev 179 #376266typofonic
Participant[QUOTE][u]Quote by: thespider[/u][p][QUOTE][u]Quote by: typofonic[/u][p]How do I check out rev 187?
“svn checkout http://instadmg.googlecode.com/svn/trunk/ instadmg-read-only” only checks out the newest version and I can’t seem to download it from google code?[/p][/QUOTE]
FYI
svn checkout -r 187 http://instadmg.googlecode.com/svn/trunk/ instadmg-read-only[/p][/QUOTE]Thanks! Exactly a command like that I was looking for!
May 22, 2009 at 7:41 pm in reply to: 10.5.7 Combo installs only partially with InstaDMG rev 179 #376262typofonic
Participant[QUOTE][u]Quote by: walt[/u][p]I use svnx to access the SVN repository. Nice GUI and easy to use.
http://code.google.com/p/svnx/
Just put in the InstaDMG SVN address into svnx: http://instadmg.googlecode.com/svn/trunk/
Once you connect to the repository you just select the revision you want and press the ‘Checkout’ button in the top left. Then save it to somewhere on your HD.[/p][/QUOTE]
Thanks a lot metajam! I got it working perfectly, using another GUI client though (Versions) – svnx froze everytime I tried to connect… It needed something installed.
/ Anders
May 22, 2009 at 7:10 pm in reply to: Re-packaging Adobe CS4 Design Premium with logGen, pkgGen, and Iceberg #376260typofonic
ParticipantHi pteeter
[QUOTE][u]Quote by: pteeter[/u][p]
4. run logGen and create a post install diff file
5. manually parse the diff file and separate it into the following app/support file specific package content lists:
[code]
Adobe AIR with CS4-diff.txt
etc…
[/code]
6. run pkgGen against each of these diff files, creating unique ‘pkg-root’ folders for each diff fileFor the majority of these diff files, the only file called out is the application bundle. Some might consider this to be excessive, I just find that this level of modularity makes troubleshooting that much easier.
The ‘Adobe Fonts with CS4-diff.txt’ file calls out only OpenType fonts added to /Library/Fonts/. The ‘Adobe Shared Files CS4-diff.txt’ file covers a variety of locations – /Applications/Utilities, /Library/Application Support, everything else that installs under /Library. I’m going to upload the diff files to the ‘My Downloads’ section. Please feel free to view them, critique them, offer suggestions about the contents, etc.
I’ve re-packaged a first set of updates to CS4 as well. It requires a super fun preflight script to delete tons of files. I’ll try to post an update for that shortly.Hope this helps. Looking forward to your feedback.
[/p][/QUOTE]Hi,
I was wondering if you could explain the steps 4-6 more thoroughly? I don’t get it 🙂
I like the modular way you package it. Also I’m looking very much forward to hear more about your super fun preflight scripts
/ Anders
May 22, 2009 at 7:04 pm in reply to: 10.5.7 Combo installs only partially with InstaDMG rev 179 #376259typofonic
ParticipantHow do I check out rev 187?
“svn checkout http://instadmg.googlecode.com/svn/trunk/ instadmg-read-only” only checks out the newest version and I can’t seem to download it from google code?
typofonic
ParticipantWow, Aaron!
Thanks a lot for sharing. Will try it out!
– Anders
typofonic
Participant[QUOTE][u]Quote by: thomasb[/u][p]To find the ISO language code of your current system, type this command:
[code]cat /private/var/log/CDIS.custom[/code]To list all ISO codes supported by the Apple installer, type this command:
[code]installer -listiso[/code][/p][/QUOTE]Unfortunately this isn’t the Locale ID, but the ISO Language code. The locale ID is a number.
– Anders
typofonic
ParticipantI’ll just answer my own question. I didn’t find a list of Locale IDs, but I downloaded Ukelele from [url]scripts.sil.org/ukelele[/url]. By opening the layouts that come with the application it’s possible to see the ID of the layout.
– Anders
Edit–The forum monsters ate your URL inside the less than/greater than signs. Changed it to a regular URL. – Patrick, 2/10/2009
January 16, 2009 at 12:07 am in reply to: Installing Packages on First Startup of a Newly Imaged Machine #375152typofonic
ParticipantThanks Thomas!
That seems like the way to go. Will try packaging a /Library/Preferences/.GlobalPreferences.plist file!
– Anders
typofonic
ParticipantHi,
I have looked everywhere on the web and looked everywhere in files to find a list of locale IDs in order to change the locale to Danish.
Does anybody know where to get a list or have a list of Locale IDs?– Anders
typofonic
ParticipantThanks for all of your help. I managed to set the TimeZone and NTP!
Now the only thing missing is changing the Format in the International pane of System Preferences to Danish… Hmm
– Anders
January 13, 2009 at 4:09 pm in reply to: Installing Packages on First Startup of a Newly Imaged Machine #375120typofonic
ParticipantThanks a lot Patrick and Rusty for your detailed help and descriptions! I downloaded Lingon to create the script and managed to do what you both describe and run the script using a launchd item. Also I found out an alternative to this was installing the script in /Library/StartupItems/.
Now the only thing missing is changing the Format in the International pane of System Preferences to Danish… Hmm
– Anders
typofonic
Participant[QUOTE][u]Quote by: MacTroll[/u][p]FWIW, and not entirely related here… I think you can set timezone via MCX…[/p][/QUOTE]
How exactly is this done. Can it be done without MacOS X Server?
-
AuthorPosts
Recent Comments