Command line options for generated installer

  
 previous up next 


  Installers generated by install4j recognize the following command line parameters:
 
Name Explanation
-manual The default JRE search sequence will not be performed and bundled JREs will not be used either. The installer will act as if no JRE has been found at all and display the dialog that lets you choose a JRE or download one if a JRE has been bundled dynamically. If you locate a JRE, it will be used for the installed application.
-q Executes the installer in the unattended installation mode.
-overwrite Only valid if -q is set. In the unattended installation mode, the installer will not overwrite files where the overwrite policy would require it to ask the user. If -overwrite is set, all such files will be overwritten.
-dir [directory] Only valid if -q is set. Sets a different installation directory for the unattended installation mode. The next parameter must be the desired installation directory.
-Dinstall4j.nolaf=true Do not set the native look and feel but use the default. In some very rare cases, the Windows look and feel with the classic theme (Windows 2000-like appearance) on Windows XP is broken and prevents the use of the installer or any other Java GUI application. Switching to the default XP theme solves this problem. Alternatively, passing this parameter to the installer will prevent the native look from being set.