Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate an installer package for Mac app?

How can I create a single installer package for an OS X binary as well as a few configuration and script files?

Final folders should look like this:

https://i.stack.imgur.com/bFDcY.png

Any help would be appreciated. Thanks.

like image 252
Devesh Avatar asked Jan 13 '17 10:01

Devesh


People also ask

How do I create a Mac installer package?

Creating Software Package with Single FileNavigate to Software Deployment -> Add Packages -> Mac. Specify a name for the Package and provide the details of the package for your personal reference. Click Installation tab.

How do I make a USB installer for Mac?

Turn on the Mac and continue to hold the power button until you see the startup options window, which shows your bootable volumes. Select the volume containing the bootable installer, then click Continue. When the macOS installer opens, follow the onscreen instructions.


1 Answers

Installers are great if you want various things to be placed in different spots – app here, documentation there, support files over here, etc. They're also great for providing configurability of the installation experience (optional extras), or hand-holding for an unusual type of installation that the user might not otherwise understand, or extra work (configuration scripts, permissions modifications, authentication, compatibility checking, etc.) that need to run during the installation process. There is nothing wrong with installers, contrary to the answer from @d00dle, although there is also nothing wrong with distributing your app through the App Store, or as a dmg.

For setting up your own installers, I highly recommend a program called Packages (http://s.sudre.free.fr/Software/Packages/about.html). I am in no way connected to it, but I use it to build the installer for an app that I work on. It greatly smoothes the process of making a complex installer, and has an excellent GUI interface.

like image 93
bhaller Avatar answered Oct 09 '22 00:10

bhaller