为我的Mac应用程序创建安装程序 [英] Creating an installer for my Mac application
问题描述
我有一个包含2个文件的Mac应用程序:
I have this Mac application that consists of 2 files:
- firstFile.tst
- secondFile
我想把它们放进去:
- 〜/图书馆/音频/MyProg/
- 〜/图书馆/应用程序支持/MyProg/
我还希望安装程序看起来像是精美的DMG安装程序(例如Skype的). 现在,我是Mac的新手,但我愿意学习一切.
I would also like the installer to look like them fancy DMG installers (like Skype's). Now, I am a newbie when it comes to Mac but I am willing to learn whatever it takes.
我知道dmg安装程序实际上是拖放操作;这是否意味着如果我的应用程序不包含真实的应用程序(它是一个插件-没有在Applications文件夹中放置快捷方式),那我将无法执行此操作?
I know the dmg installers are actually drags and drops; does that mean that if my application doesn't consist of a real application (it is a plug in - there's no shortcut to put in the Applications folder) then I can't do it?
我正在考虑调用左侧MyProg上的图标和右侧COMP_NAME上的图标,然后将MyProg拖到COMP_NAME只是将我描述的2个文件放在我为它们描述的位置.
I was thinking about calling the icon on the left MyProg and the icon on the right COMP_NAME and that dragging MyProg to COMP_NAME simply put the 2 files I described in the places I described for them.
是否有任何方法可以实现这一目标,或者我应该只使用PackageMaker并放弃花哨的dmg想法(我真的很喜欢花哨的安装程序)?
Is there's any way to achieve this or should I just go with PackageMaker and drop the fancy dmg idea (I really like the fancy installers)?
谢谢.
推荐答案
我已经看到了几个使用PackageMaker的插件,但这些包都包装在.dmg中(即,您挂载.dmg及其所有内容它是一个.pkg文件).
I've seen several plugins like this that use PackageMaker, but wrap the package in a .dmg (that is, you mount the .dmg and all it has on it is a .pkg file).
这篇关于为我的Mac应用程序创建安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!