I am new on mac . I have to create a package installer which is dmg file that package contain my application and my script file , I have to run my script at time of install. one is Myapp.app and another is script.sh
0
votes
1 Answers
0
votes
You can use Package Maker to create a .pkg (which will install your program and run your script as a post-install script).
Download package maker at https://developer.apple.com/downloads under "Auxiliary Tools for Xcode"
If you MUST have it in a DMG at this point as well, simply create a DMG using Disk Utility, and add your files to that.