Search code examples
macosinstallationbrowser-plugindmg

Mac OS X: making DMG installer. How to install browser plugins with App?


I learned how to make dmg package. But I need to install browser plugins when I install app. How to do this? 1password app's installer can do this. I need to do the same.


Solution

  • DMG is not applicationa package but a disk image and has no mechanism to run scripts on mount. You need to create PKG and use postflight script to copy your plugin. You can read more in Apple Software Delivery Legacy Guide