How to create .pkg installers?

Answered

Comments

1 comment

  • Avatar
    Ryo Takatsuki

    InstallBuilder do not support the creation of .pkg files.

    As a workaround, depending on the complexity of your application you may be able to use PackageMaker to repackage your application:

    https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/PackageMakerUserGuide/Workflow/Workflow.html#//apple_ref/doc/uid/TP40005371-CH1000-SW1

    You could for example, install the application created with InstallBuilder and then pack the installation directory using PackageMaker. It also supports some hooks to execute post installation scripts and some system checks.

    If your installer is performing some more complex logic such as substituting parameters in the installed files based on user input it is going to be trickier but maybe your customer just want an easy way of installing the app and does not care if all the installations are, say, installed under /Applications/myapp with port 8080.

Please sign in to leave a comment.