如何为Mac软件创建安装程序 [英] How to create installer for mac software

查看:127
本文介绍了如何为Mac软件创建安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Filemaker创建了软件,并且必须创建一个安装程序.

I've created software using Filemaker and I have to create an installer.

我已经为Windows做过,但是我也必须为Mac创建一个.安装程序将能够安装软件,安装字体并询问序列号. 有人可以帮我吗?

I already done it for Windows but I have to create one for Mac too. The installer will be able to install the software, install a font and ask the serial number. Can someone help me?

推荐答案

我认为Apple曾经(仍然吗?)提供了一个使用Xcode的程序,称为PackageMaker,但我认为他们仍然这样做.它可能在以前版本的Xcode中可用.我在网上发现很少有关它的信息.

I think Apple used to (still does?) offer a program with Xcode that was called PackageMaker, but I don't think they still do. It might be available from a previous version of Xcode. I found surprisingly little information about it online.

但是,它所基于的命令行工具 pkgbuild productbuild

However, the command line tools that it was based on, pkgbuild, productbuild, and pkgutil , seem to be installed on my laptop running Yosemite with an Xcode utilities installation.

我会查看

I would check out the accepted answer to a similar question here on Stack Overflow. It looks quite detailed, but I think it's going to be very advanced work to get a successful package created.

以上是您希望安装程序使用Apple自己的Installer应用程序时可能想要的.如果您想要创建的安装程序能够完成任务,那么我可能会使用FileMaker本身.

The above is what you probably want if you want your installer to use Apple's own Installer app. If all you want is to create an installer that gets the job done, I would probably use FileMaker itself.

创建一个FileMaker文件,将您的解决方案存储在一个容器字段中,使用安全性和脚本将其锁定,使用Export Field Contents将解决方案文件和您的字体放置在正确的位置,也许使用一些支持AppleScript的工具命令行.使用FileMaker Advanced将其打包为运行时解决方案,用户只需双击运行时应用程序,即可从那里进行指导.安装完成后,您甚至可以为其打开已安装的解决方案,然后提示他们输入序列号.

Create a FileMaker file that stores your solution within a container field, lock it down with security and scripting, use Export Field Contents to get the solution file and your fonts to the right places, perhaps with some supporting AppleScript that makes use of the command line. Use FileMaker Advanced to package this up as a runtime solution and all the user has to do is double-click the runtime app and you can guide them from there. Once the installation is complete you could even open the installed solution for them and prompt them at that point to enter a serial number.

这篇关于如何为Mac软件创建安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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