Launcher Wizard: Mac OS X Options

     


  There are two steps in the launcher wizard, where you can configure optional settings for Mac OS X launchers.

Note: these advanced option screens are reachable by selecting the "Executable" step and choosing "Mac OS X Info.plist file" or "Mac OS X options" from the [Advanced options] popup menu or by clicking directly on the index.

  In the "Info.plist fragment" section, you can configure an optional XML fragment that is inserted into the Info.plist file of the generated application bundle. This can be useful to customize the behavior of your launcher in ways that are not directly supported by install4j.

You can select one of:

  • No custom fragment
    No custom XML fragment will be inserted.
  • Custom fragment from file
    Specify a file from which the custom XML fragment will be read. If you enter a relative file, the file will be interpreted relative to the project file.
  • Direct entry
    Enter your custom XML fragment in the text area below.
  You can specify a custom Mac bundle identifier for the launcher.The bundle identifier string identifies your application to the system. Explicit control over this string can can be useful if you need to refer to the launcher from outside install4j. The identifier will be written to the CFBundleIdentifier key in in the Info.plist file. If this option is not set explicitly, install4j will generate a bundle identifier for you.

This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.

  If you have configured code signing for Mac OS X media files, it may make sense to specify an entitlements file on the "Mac OS X options" step.

Entitlements confer specific capabilities or security permissions to your app. If your media file is a single bundle archive, you can publish it to the App Store only if the launcher and the bundled JRE are sandboxed. Without entitlements, the launcher will not be able to perform a lot of operations.

For installers, entitlements can be used to enable certain features on Mac OS X, such as iCloud storage or push notifications. If your application uses these features and you create an installer, you have to select the "Sign installed launchers" check box on the "Installer Options" step of the media wizard.