install4j
Best Java Installation Tool
Please see the change log for a detailed list of changes.
install4j 4.2 introduces the following notable new features:
-include-options [path to other .vmoptions file]was added. The path to the other .vmoptions file can be
-include-options \My Aplication\my.vmoptionsOn Linux/Unix, you could use
-include-options /.myapp/my.vmoptions
Object myVariableValue = Variables.getInstallerVariable("myVariable");All form components register their variables as response file variables automatically, so all user-input from forms is automatically available in your applications without the need for any further configuration.
String version = Variables.getCompilerVariable("sys.version");In addition to response files, installer variables can now be persisted to the Java preference store with the new "Save installer variables to the Java preference store" action. Those variables could be read by another installer with a different application id by using the "Load installer variables from the Java preference store" action. Also, you can load them in your application by calling
Map variables = Variables.loadFromPreferenceStore(true);(the boolean flag indicates that the user-specific registry is to be used). In that way, you can modify the variables and save them back with
Variables.saveToPreferenceStore(variables, true);to maintain a single configuration store used by installers and your application.
String version = Variables.getCompilerVariable("sys.version");In addition to response files, installer variables can now be persisted to the Java preference store with the new "Save installer variables to the Java preference store" action. Those variables could be read by another installer with a different application id by using the "Load installer variables from the Java preference store" action. Also, you can load them in your application by calling
Map variables = Variables.loadFromPreferenceStore(true);(the boolean flag indicates that the user-specific registry is to be used). In that way, you can modify the variables and save them back with
Variables.saveToPreferenceStore(variables, true);to maintain a single configuration store used by installers and your application.
-q -splash [window title]as arguments to the installer application.
-wait [timeout in seconds]If the timeout is reached and your application is still running, the unattended installer will exit with an error message.
-wait [timeout in seconds]If the timeout is reached and your application is still running, the unattended installer will exit with an error message.