I'm automating some system installs and I need to install a prefPane.

something like installer -pkg xxx.pkg -target / that I use for installing .pkg files.

link|improve this question

80% accept rate
feedback

1 Answer

up vote 3 down vote accepted

Simple preference panes can be "installed" by moving them to

/Users/yourname/Library/PreferencePanes/

and "uninstalled" by removing them from there (just tested it with Secrets).

You can "launch" them using open.

Many preference panes install additional daemons/agents or system components upon launch or user action. You should be able to use AppleScript to perform these UI actions, but they're custom to each preference pane.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.