Creating an installer for my Mac application

倾然丶 夕夏残阳落幕 提交于 2019-12-06 08:49:05

问题


I have this Mac application that consists of 2 files:

  1. firstFile.tst
  2. secondFile

I would like to put them in:

  1. ~/Library/Audio/MyProg/
  2. ~/Library/Application Support/MyProg/

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.

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?

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.

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

Thanks.


回答1:


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



来源:https://stackoverflow.com/questions/9251991/creating-an-installer-for-my-mac-application

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