Media File Wizard: Additional Files In DMG (macOS Only)


  This step of the media file wizard is specific to macOS media file types.
  By default, the disk image created by install4j contains
  • the installer for the installer media file types
  • the application bundle of the selected GUI launcher for single bundle archives
  • the distribution tree for folder archives

To add more files to the DMG, specify them on this screen. There are two types of files that can be created:

  • Regular files
    You select the file from your local file system and specify the name under which is should be written to the DMG. The name can be a composite path, like .background/image.png. In this example the screen .background will be created and since it starts with a dot, it is hidden in the Finder.
  • Symbolic links
    You enter the target of the symbolic link (like /Applications) and the name of the link. Quotes around the name are stripped, so you can specify an empty name as a single space in quotes (" "). An empty name is appropriate for a link to the /Applications directory.
  You can use this feature for adding a README.txt file to the DMG or for adding files that will be used for styling the Finder window that is shown when the DMG is mounted. For more information about DMG styling, read the corresponding help topic.