Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 6 down vote accepted

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


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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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