To define a new media file, you double-click on the
new media file entry in the list of defined
media files or choose Media->New media file from install4j's main menu.
The first step of the media wizard will then be displayed. Depending on your choice of the
platform in this first step, this wizard will show the configuration options for
performAction()
and performUnattendedAction methods, only the
performFirstRunAction() method of your custom actions
will be executed when a generated launcher is started for the first time.
The following media file types are available:
Installers:
a media file for Windows is a native setup executable that installs your application
with an installer wizard.
The installer can download a JRE if no suitable JRE is found on the target system.
a single bundle media file for Mac OS X is a .dmg file that extracts an installer wizard
(by double clicking on it).
The wizard installs your application as a single application bundle.
If you wish to support multiple launchers, please choose the "Mac OS X folder media wizard"
(see below).
The default JRE (which is always present on Mac OS X) is used during the installation phase.
a folder media file for Mac OS X is a .dmg file that extracts an installer wizard
(by double clicking on it).
The wizard installs your application as a folder that contains the entire distribution
tree and multiple application bundles for each included launcher.
The default JRE (which is always present on Mac OS X) is used during the installation phase.
a Unix/Linux GUI installer media file is an executable shell script that extracts
an installer and installs your application with an installer wizard.
The installer can download a JRE if no suitable JRE is found on the target system.
an archive media file for Windows is a ZIP-file that contains your application.
Note: This media file type does not support a GUI installer. If you wish to create a GUI installer for Windows, please choose the "Windows media wizard" (see above).
a single bundle media file for Mac OS X is a .tgz archive that extracts a single
bundle for your application.
If you wish to support multiple launchers, please choose the "Mac OS X folder archive media wizard"
(see below).
Note: This media file type does not support a GUI installer. If you wish to create a GUI installer for Mac OS X, please choose the "Mac OS X single bundle media wizard" (see above).
a folder media file for Mac OS X is a .tgz archive that contains the entire distribution
tree and multiple application bundles for each included launcher.
Note: This media file type does not support a GUI installer. If you wish to create a GUI installer for Mac OS X, please choose the "Mac OS X folder media wizard" (see above).
an RPM archive for Linux can be installed and uninstalled with the
rpm command on the most popuplar linux distributions. There are also a
large number of graphical package management tools that Linux users can use to install
an RPM archive.
If you do not wish to use RPM for your Linux media file or if you wish to provide an alternative installation package which does not use RPM, please use the Unix/Linux archive media wizard (see below).
Note: This media file type does not support a GUI installer. If you wish to create a GUI installer for Linux, please choose the "Unix/Linux GUI installer media wizard" (see below).
a Unix/Linux archive media file is a gzipped TAR archive that
contains your application.
Note: This media file type does not support a GUI installer. If you wish to create a GUI installer for Unix or Linux, please choose the "Unix/Linux GUI installer media wizard" (see above).
Note: GUI launchers on Mac OS X only start a single instance of your application. Subsequent launches will not start additional JVMs.
Once you have completed all steps of the media wizard and clicked [Ok] in the final step, a new media file entry will be displayed in the list of media files.
Also, have a look at how the list of media files can be edited.
forward
button in the top right corner.