|
This step is different for installers and archives:
- Installers:
- Installation directory
Enter a simple directory name (without backslashes). The standard location for
applications will we prepended to this directory name. In other words: do not enter
C:\Program Files\MyApplication
but only MyApplication
The installer will find out the correct equivalent for C:\Program Files ,
/opt or similar standard locations
at runtime. By default, install4j will suggest the short name you have entered in the
general application options.
It is also possible to enter a composite relative directory like
My Corp\MyApplication .
Note that this value will be overridden if an installer with the same application ID has been
previously installed and "Detect previous installation directory" is selected
on the update options tab of the installer
section.
- Use custom installation base directory
If you do not want to install your application to the standard application directory,
you can enter a custom base directory here. This is useful for internal deployments
with non-standard directory policies. The installation directory entered above
will be appended to the custom base directory. For example, if the application
should be installed in D:\apps\MyApplication ,
check the custom installation base option, enter D:\apps in the text field
below it and enter MyApplication in the installation directory text field above.
On Unix, if you want to suggest a directory below the user home directory, you can use ~
as the custom installation base directory.
- Archives:
With the installation directory you determine the top level directory for the archive. All files will
be contained in the top level directory. Enter a simple name without slashes, such as
myapp . By default, install4j will suggest the short name you have entered in the
general application options.
For macOS single bundle archives, it is not possible to set an installation directory since
all files in a single bundle are in contained in a single directory whose name is determined by the
name of the main launcher. The user can move the entire bundle somewhere else by dragging the displayed icon.
For macOS bundle archives, you can configure whether the media file should be a DMG or a .tar.gz file.
For GUI applications, DMG is preferred. For command line applications or for folder bundles, you may
want to select the .tar.gz file.
|