site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=ZU3YMqNH4y6ZbiR/FRAENwmxwsdRUA5qIbhwLvkYbns=; b=JcIqRg38iea8qCIfLMY7J4BV8L9ARWCMrLl1pwd8Ln/IfDI67Zf69euC7xCSyR1yhE C1cfT5Pqo3GDATPN+4MvXj1kVy1tQ6CF0KwXLY1stfVkvJ+lnjcNZlgNxmAWD86ouEUI edqNosjswuQaYRol6IqjVl0VE4pAfZynTJLic= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=rs8UBB9MZzKSXK1oaAc41X9K+H9i508w88zmx6agAx8QQeQVgObRXdV8juZb/FB3EM jVNbYpdozjtTH2P9WTqEkF+fo2ErVWASeU+9kS12yrMEk8rLL5KFTFxYMp4GL0/DPDet d2FsObNAJBs0PrJM8oTBcTXgfYjOQIwE3SW6I= On Mar 9, 2009, at 9:45 AM, Glover,David wrote: defaults read –g AppleLanguages defaults read .GlobalPreferences AppleLanguages And many users do not have a file at ~username/.GlobalPreferences.plist -- Karl Kuehn larkost@softhome.net _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... I’m using a preinstall script to read the available languages on the machine as follows; This is fine via a Terminal command, or when running the script by Terminal, but when the script is run by Installer, the following is outputted; “The domain/default pair of (kCFPreferencesAnyApplication, AppleLanguages) does not exist” Has anybody come across this unusual behaviour before? Why has Installer decided to start lying to me? Installer isn't lying to you, it is telling you that for the user that you are running at at that point the list of default languages is not. This is true for any non-GUI user (try running this with sudo for instance). This command is essentially calling: What are you really trying to accomplish here? And are you sure that the installer is the appropriate place for this? This email sent to site_archiver@lists.apple.com