在Mac OS上使用单个dmg安装多个应用程序 [英] Multiple apps installation using a single dmg on Mac OS

查看:654
本文介绍了在Mac OS上使用单个dmg安装多个应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows中,我可以使用wix将多个.exe文件打包为单个安装程序(.msi)的一部分.同样,是否可以将多个.app文件打包为单个dmg文件的一部分,并让用户安装?
例如: 我有App X,App Y和AppZ.我应该能够使用'Installer.dmg'安装这三个应用程序.请让我知道是否可行以及如何实现.

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.

推荐答案

您始终可以在DMG中添加多个.apps.但这要求用户单击并将应用程序一个一个地拖到/Applications目录(如果这是您要查找的内容).

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).

如果您正在寻找Windows安装程序之类的安装程序,则可以创建PKG文件. PKG可以嵌入DMG中.单击PKG文件将启动安装程序.

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 -这是一个允许您创建PKG文件的工具. PKG甚至允许您具有安装前和安装后脚本. http://s.sudre.free.fr/Software/documentation /Packages/en/index.html 是打包"工具的用户指南

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

这篇关于在Mac OS上使用单个dmg安装多个应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆