Multiple apps installation using a single dmg on Mac OS

依然范特西╮ 提交于 2020-06-26 13:42:49

问题


In windows, I can pack multiple .exe files as part of asingle installer (.msi) using wix. Similarly, is it possible to pack multiple .app files as part of a single dmg file and let the user install it?
Say for Eg: I have App X, App Y and App Z. I should be able to install all the three applications by using 'Installer.dmg' . Please let me know if it is possible and how.


回答1:


You can always add multiple .apps in a DMG. But this requires the user to click and drag the apps one by one to /Applications directory (if this is what you are looking for).

If you are looking for an installer like Windows installers, you can create a PKG file. PKG can be embedded in DMG. Click on the PKG file will launch an installer.

http://www.macupdate.com/app/mac/34613/packages - This is one tool that allows you to create a PKG file. PKG even allows you to have pre-install and post-install scripts. http://s.sudre.free.fr/Software/documentation/Packages/en/index.html is the user guide for Packages tool



来源:https://stackoverflow.com/questions/29663256/multiple-apps-installation-using-a-single-dmg-on-mac-os

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!