Skip navigation.
 
mlRe: Preference pane deployment
FROM : patrick machielse
DATE : Sun Nov 25 21:22:31 2007

Op 25 nov 2007, om 18:41 heeft Sherm Pendley het volgende geschreven:

> You could use NSWorkspace's -openFile: to open the .prefpane bundle 
> as a document. It's a registered document type for System 
> Preferences.app, which will then give the user the option of 
> installing it for that user only (in ~/Library/PreferencePanes) or 
> for all users (/Library/PreferencePanes). The app will also take 
> care of authorizing as admin if needed.


If you choose this method, you will want to make sure that the System 
Preferences application is closed before you try to install your new 
pane (or restart it after you've installed). If the user has used / 
loaded the preference pane during an upgrade, the behavior of the pane 
after install is unpredictable, presumably because it is not possible 
to unload Objective-C code.

patrick

Related mailsAuthorDate
mlPreference pane deployment Jacob Bandes-Storc… Nov 25, 06:42
mlRe: Preference pane deployment Sherm Pendley Nov 25, 11:37
mlRe: Preference pane deployment patrick machielse Nov 25, 21:22
mlRe: Preference pane deployment Sherm Pendley Nov 25, 23:55