• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Strange behaviour with defaults read in install script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange behaviour with defaults read in install script


  • Subject: Strange behaviour with defaults read in install script
  • From: "Glover,David" <email@hidden>
  • Date: Mon, 9 Mar 2009 16:45:10 -0000
  • Thread-topic: Strange behaviour with defaults read in install script

Hi there,

 

I’m using a preinstall script to read the available languages on the machine as follows;

 

defaults read –g AppleLanguages

 

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?

 

Kind Regards

Dave

Promethean Limited is a company registered in England and Wales with company number 1308938 and VAT number GB 572 2599 18


Promethean Ltd and or associated and or subsidiary companies :

The views expressed in this communication may not necessarily be the views held by Promethean Ltd and or associated and or subsidiary companies.

This e-mail is for the exclusive use of the addressee(s). Unauthorised disclosure, copying or distribution is prohibited.

This e-mail message has been swept for the presence of computer viruses.

Promethean Ltd and or associated and or subsidiary companies accepts no liability for any loss resulting from this email transmission

Promethean, Promethean House, Lower Philips Road, Blackburn, Lancashire, BB1 5TH, UK.



*****************************************************************
This email has been checked by the e-Sweeper Service
*****************************************************************
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Strange behaviour with defaults read in install script
      • From: Karl Kuehn <email@hidden>
  • Prev by Date: Re: Installer plugin and PackageMaker 3.0.3
  • Next by Date: Re: Strange behaviour with defaults read in install script
  • Previous by thread: Re: Installer plugin and PackageMaker 3.0.3
  • Next by thread: Re: Strange behaviour with defaults read in install script
  • Index(es):
    • Date
    • Thread