问题描述
这是我的要求:1.我希望我的可安装软件具有自定义许可协议2.在安装过程中运行另一个软件包3.让用户可以选择在启动时运行该应用程序
Here's my requirement:1. I want my installable to have a custom license agreement2. run another package as part of the installation3. let the user have an option of running the app on start-up
我应该使用什么,创建dmg或使用xcode附带的PackageMaker?是否有任何好的网页显示如何使用PackageMaker?
What should I use, create a dmg or use PackageMaker available with xcode? Are there any good web pages showing how to use PackageMaker?
谢谢.
推荐答案
它们具有不同的用途:
-
DMG(磁盘映像)只是一种容器文件格式,用于解决多叉文件和传输协议以及无法处理它们的中间主机(通过首先不依赖它们)而引起的古老问题.此外,磁盘映像可以使用内部压缩.您的用户将感谢您不要将他们与包裹在文件中的文件混淆(尽管磁盘映像本身在开始时会有一些解释).
DMG (disk images) is just a container file format to solve age-old issues with multi-fork files and transfer protocols and intermediate hosts that can't handle them, by not relying on them in the first place. In addition, the disk images can use internal compression. Your users will thank you for not confusing them with file wrapped in file wrapped in file (although disk images themselves take some explaining initially).
PackageMaker是成熟的安装程序软件包生成器.您可以自定义安装过程和位置,进行子安装以及您可能需要的几乎所有其他操作.如果您的安装不仅仅需要将应用程序包拖放到适当的位置,那么这就是您所需要的.
PackageMaker is a full-fledged installer package builder. You can customize the installation process and locations, do sub-installations and pretty much anything else you could possibly need. If your installation entails more than just dragging and dropping an application bundle into place, this is the one to go with.
根据您的要求,选择似乎很明显.由于安装程序包本身就是捆绑包,所以我要说:用PackageMaker创建安装程序包并将其放在压缩的磁盘映像中.将磁盘映像分发给您的用户.它只是提供了更好的体验.
From your requirements, the choice seems obvious. Since an installer package is itself a bundle, I'd say: create an installer package with PackageMaker and put it in a compressed disk image. Distribute the disk image to your users. It just provides a nicer experience.
这篇关于哪个更好:DMG或PackageMaker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!