Programmatically add application icon to dock on install
I would like my application to be automatically added to the dock after the package (DMG) is installed? Does anyone know how to do this? Michael Dautermann There's a couple ways to do this, Andrew, and a lot of this depends on how you're doing your application installing. If you are using PackageMaker to install your app, you can run a "postflight" script which adds your app's icon to the "defaults" (i.e. the preferences) of the dock. This older MacRumors thread shows how to do that . If you are not using PackageMaker, then you might have to run an Applescript from within your app that does