Each launcher definition is compiled separately for each defined media set. Therefore, for the majority of all cases, a single launcher definition will be sufficient to start your application. If, for example, your distribution contains two GUI applications and a command line application, you have to define 3 launchers, regardless of how many media files you define.
When your application is started with a launcher generated by install4j, you can query
the system property
install4j.appDir to get the installation directory and and install4j.exeDir
to get the directory where the launcher resides. Use System.getProperty("install4j.appDir")
and System.getProperty("install4j.exeDir")
to access these values.
To define a new launcher, you double-click on the
new launcher entry in the list of defined
launchers or choose Launcher->New launcher from install4j's main menu.
The launcher wizard will then be displayed.
Once you have completed all steps of the launcher wizard, a new launcher entry will
be displayed in the list of launchers. The icon of a launcher indicates if it is a
CTRL
while dragging)
or using the The name of the copied launcher definition will be prefixed with "Copy of". You can change this default name by renaming the launcher definition (see below).
An input dialog will be displayed where the current name can be edited. Please note that the name of the launcher is for your own information only and is not used in the distribution.
DEL
key while the launcher definition is selected.
ENTER
key while the launcher definition is selected.
The launcher wizard will be displayed for the selected launcher definition. Please note that you can directly access any step in the wizard by clicking on it in the index.