## Step 3: Options |
previous | up | next

In this step of the directory wizard, you can choose the installation and uninstallation options for the selected files.

| In the `installation options` section you can enter the overwrite policy This setting determines what the GUI installer will do if the file is already present. The overwrite policy can be one of: always ask, except for update If the file is already present, the installer asks the user whether to overwrite it, regardless of the file modification dates. However, files that have been proviously installed by install4j will be overwritten. always ask, including update If the file is already present, the installer asks the user whether to overwrite it, regardless of the file modification dates and whether install4j has previously installed this file. if newer, otherwise ask If the file is already present, the installer silently overwrites the file if the installed file is newer, otherwise is asks the user. if newer If the file is already present, the installer silently overwrites the file if the installed file is newer, otherwise it does not install it. always The installer silently overwrites the file in all cases. never The installer does not install the file. Unix file and directory mode On Unix-like platforms (including Linux and Mac OS X), the file mode governs the access rights to the installed files. The access mode is composed of three octal numbers (0-7) and each number completely expresses the access rights for a particular group of users: first number The first octal number contains the access rights for the owner of the file. second number The first octal number contains the access rights for the user group that the file is attached to. third number The third octal number contains the access rights for all other users. For a desired combination of access rights, the octal number is calculated by adding: 1 For the right to execute the file or to browse the directory. Only set this flag for directories, executables and shell scripts. 2 For the right to write to the file or directory. 4 For the right to read from the file or directory. For example, read/write rights are calculated as 2 (for writing) + 4 (for reading) = 6, read-only rights are just 4, and the rights to read/execute a file are calculated as 1 (for executing) + 4 (for reading) = 5. The default access rights for files are 644, i.e. the owner can read and write the file and all others can only read it. Since usually applications on Unix-like systems are installed by the administrator (usually called root), this means that users will only be able to read files but not to write to them. For launchers, the installer sets access rights for files to 755, which is equivalent to 644 only that everyone can execute the launchers. If you have files that your users should be able to write to, you have to add these files to the distribution tree with a different access mode. For example, 666 would be appropriate in that case. You can reset the default mode with the [Reset to default] button. The default access rights for directories are 755, i.e. the owner can read and write and browse the directory and all others can only read and browse it. Just as for files, this means that except for root, users will only be able to browse directories and read from them but they will not be able to create files in them. If you have directories that your users should be able to create files in, you have to add these directories to the distribution tree with a different access mode. For example, 777 would be appropriate in that case. You can reset the default mode with the [Reset to default] button.

| In the `uninstallation options` section you can select whether the uninstaller should uninstall the selected files or not. By default, all files are uninstalled by the uninstaller.

| Click [Next] to proceed to the next step or [Cancel] to leave the directory wizard without applying any changes.