Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFPreferences AnyUser+AnyHost no longer saves anything?



Title: CFPreferences AnyUser+AnyHost no longer saves anything?
I was reading the CoreFoundation release notes (http://developer.apple.com/releasenotes/CoreFoundation/CoreFoundation.html) and noticed this:

CFPreferences kCFPreferencesAnyUser+kCFPreferencesAnyHost preferences
For applications linked on 10.5 and later, preference domains with this AnyHost+AnyUser pair of arguments are no longer implemented with persistent domains (that is: saved to the file system, or anywhere).  For applications linked on 10.4 and earlier, they continue to be stored to the previous location.

Another way of stating "AnyHost+AnyUser" is "AllHosts+AllUsers (in the universe)".  It doesn't really make sense to store preferences in such domains, as the values should logically apply to everybody, in which case -- if actually implemented -- it is the universal behavior of the app, and it's not a preference.  Or consider another case: the user types in an app's license key, enabling all the features of the app, and the app writes the license key into the AnyHost+AnyUser domain.  Logically, all that has to happen is for one user to go buy the software and license it, and now all users on any machine should be licensed.  Obviously, that's unlikely to be what the software company wants; more likely, the license would be for a particular computer or for a particular user.

Uhm, this is exactly the behaviour I want. If a user enters an SN, I want the software to be registered for all users. I want it to be registered if they use system migration (if they buy a new computer) or if they use NetBoot. Is this saying this is no longer possible to do via CFPreferences on 10.5?
--


Sincerely,
Rosyna Keller
Technical Support/Carbon troll/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.