site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com defaults read <path To plist> [key] Example:
defaults read /Library/Preferences/com.apple.ARDAgent Version 3 Chris Dear All, I need to use "PLISTBUDDY utility" to add/edit some firewall entry through my installer. I saw this utility present in iCal package etc. But this package doesnot exist on all the machine. I need a common package that should contain plistbuddy in all OS flavours so that I can access it. Is any such common package exist in all Mac OS 10.3.9 , 10.4.7 ppc and intel ? Or any alternate way to access plistbuddy ? B/w is it advisable to copy plistbuddy application and embedded in our own installer ? Is it legal to do so ? Please suggest. Rohit
Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/ryanc%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... What exactly do you need? You can use /usr/bin/defaults to read/write from a plist. Note that to use defaults on a plist in the fs, you must leave out the .plist at the end of the file name. I am developing my product for Mac OS X 10.3.x ppc,Mac OS X 10.4.x ppc and Mac OS X 10.4.x Intel This email sent to ryanc@apple.com This email sent to site_archiver@lists.apple.com