Scrawls from Preston...

Powered by Pelican.

Thu 13 August 2009

Letting users get to (i)Work

iLife and iWork can throw up an awful lot of update dialogs and welcome screens for people who first launch them. For users on my network I wanted to prevent those from coming up

There are a number of defaults that can be set to make these not appear. The preferred way is to manage these with MCX, but for now I've deployed these as a login script (its lazy-easy because its all in just one text file)

This will set defaults so that iWork and iLife don't bug the user. There are also defaults to turn off auto update check in perian, disable the welcome movie for Safari 4 and to set the standard file format for iWork 09 to use the iWork 08 package style file format which is more efficient when saving over the network. Finally there is a default to tell iTunes not to look for shared music.

Most of these should be pretty straight forward to read - if you have others, please post them in the comments.

TODO: make these into MCX manifests?

# !/bin/bash

echo Setting iPrefs...

sudo -u $1 defaults write org.perian.Perian NextRunDate -date '4000-12-31 16:00:00 -0800'

# iWork

sudo -u $1 defaults -currentHost write com.apple.iWork SFLDefaultsAutoUpdateCheck -bool FALSE

defaults write /Library/Preferences/com.apple.iWork09 DisplayedRegistrationWindowCount -int 3

defaults write /Library/Preferences/com.apple.iWork09 ShouldNotSendRegistration -bool TRUE

chown admin:admin /Library/Preferences/com.apple.iWork09.plist

chmod 644 /Library/Preferences/com.apple.iWork09.plist

sudo -u $1 defaults write com.apple.iWork.Keynote DisplayedRegistrationWindowCount -int 2

sudo -u $1 defaults write com.apple.iWork.Keynote RegistrationHasBeenSent -bool TRUE

sudo -u $1 defaults -currentHost write com.apple.iWork.Keynote FirstRunFlag -bool TRUE

sudo -u $1 defaults write com.apple.iWork.Keynote dontShowWhatsNew -bool TRUE

sudo -u $1 defaults write com.apple.iWork.Keynote DisableSingleFileFormat -bool TRUE

sudo -u $1 defaults write com.apple.iWork.Pages DisplayedRegistrationWindowCount -int 2

sudo -u $1 defaults write com.apple.iWork.Pages RegistrationHasBeenSent -bool TRUE

sudo -u $1 defaults -currentHost write com.apple.iWork.Pages FirstRunFlag -bool TRUE

sudo -u $1 defaults write com.apple.iWork.Pages dontShowWhatsNew -bool TRUE

sudo -u $1 defaults write com.apple.iWork.Pages DisableSingleFileFormat -bool TRUE

sudo -u $1 defaults write com.apple.iWork.Numbers DisplayedRegistrationWindowCount -int 2

sudo -u $1 defaults write com.apple.iWork.Numbers RegistrationHasBeenSent -bool TRUE

sudo -u $1 defaults -currentHost write com.apple.iWork.Numbers FirstRunFlag -bool TRUE

sudo -u $1 defaults write com.apple.iWork.Numbers dontShowWhatsNew -bool TRUE

sudo -u $1 defaults write com.apple.iWork.Numbers DisableSingleFileFormat -bool TRUE

# Garageband

sudo -u $1 defaults write com.apple.garageband dontShowWhatsNew -bool TRUE

sudo -u $1 defaults write com.apple.garageband DfPrefs_NoDocumentPanel -bool TRUE

sudo -u $1 defaults write com.apple.garageband DfPrefs_NextUpgradeCheck -date 'Aug 10, 2012 12:00:00 PM'

sudo -u $1 defaults write com.apple.garageband DfPrefs_AskAboutUpgrades -dict '5.1' 'NO'

# iMovie

sudo -u $1 defaults write com.apple.iMovie8 dontShowWhatsNew -bool TRUE

sudo -u $1 defaults write com.apple.iMovie8 AutoUpgradeCheck -bool FALSE

sudo -u $1 defaults write com.apple.iMovie8 NextUpgradeCheck -date 'Aug 10, 2012 12:00:00 PM'

# no proof that this one is recognized - but it is in the others

sudo -u $1 defaults write com.apple.iMovie8 SFLDefaultsAutoUpdateCheck -bool FALSE

# iPhoto

sudo -u $1 defaults write com.apple.iPhoto CheckForUpdates -bool FALSE

sudo -u $1 defaults write com.apple.iPhoto dontShowWhatsNew -bool TRUE

sudo -u $1 defaults write com.apple.iPhoto GeocodeLookupPreference -int 0

sudo -u $1 defaults write com.apple.iPhoto NextUpgradeCheck -date 'Aug 10, 2012 12:00:00 PM'

# not so sure about these:

sudo -u $1 defaults write com.apple.iPhoto SFLDefaultsAutoUpdateCheck -bool FALSE

sudo -u $1 defaults write com.apple.iPhoto UpdateSplash -int 8

# iTunes

sudo -u $1 defaults write com.apple.iTunes lookForSharedMusic -bool FALSE

# iWeb

sudo -u $1 defaults write com.apple.iWeb dontShowWhatsNew -bool TRUE

sudo -u $1 defaults write com.apple.iWeb dismissDotMacUpsellWindow -bool TRUE

sudo -u $1 defaults write com.apple.iWeb SFLDefaultsAutoUpdateCheck -bool FALSE

sudo -u $1 defaults -currentHost write com.apple.iWeb FirstRunFlag -bool TRUE

# Safari

sudo -u $1 defaults write com.apple.Safari LastDisplayedWelcomePageVersionString '4.0'


https://ptone.com/dablog