Silent Installation

The executable Jar file contains built-in support for silent or unattended installation. A normal wizard install guides the user through different graphical dialog boxes and expects some input. However, a silent install does not prompt the user for input. Instead it receives the required setup data from a configuration driver file that provides the information the user would otherwise enter as responses to dialog boxes.

The setup configuration driver file uses the standard java.util.Properties format. It consists of key/value pairs representing the data entries. Performing a wizard install automatically creates (or updates) a configuration driver file in the Jalopy settings directory that reflects the information given during the last setup run.

To perform a silent install, you normally type

java -jar jalopy-setup-Help_xxx.jar --silent

at the command line.

The installer supports a few more options to control the setup process. These are described below.

Options

Table 1.1. Install Wizard command-line options

OptionLong OptionArgumentsDescriptionSince
-c--config<filepath> Specifies the absolute path to the setup configuration driver file to use for the installation, e.g. "d:\tmp\tools\jalopy-install.ini". If omitted, the settings of the last installation run will be used when available. 1.4
-h--help Displays a short help1.4
-l--log  Specifies the directory where the log file should be written. When omitted, the log file is stored in the Jalopy settings directory (the section called "Overview") 1.4
-s--silent  Performs silent install 1.4
Example configuration driver file

Below you find an annotated sample configuration driver file, that explains all available keys and the possible values.

Example 1.1. Sample configuration driver file

#Jalopy installation data
#Fri Dec 03 09:14:37 CET 2004

delete.settings=false
import.settings=false
download.help=true

install.ant=true
install.ant.dir=T\:\\java\\programme\\ant1.6.2

install.console=true
install.console.dir=C\:\\tools\\jalopy

install.eclipse=true
install.eclipse.dir=T\:\\java\\programme\\eclipse_test

install.idea=true
install.idea.dir=T\:\\java\\programme\\idea4.5
install.idea.3.x=true
install.idea.3.x.dir=T\:\\java\\programme\\idea3.0

install.jbuilder=true
install.jbuilder.dir=T\:\\java\\programme\\jbuilder10.0

install.jdeveloper=true
install.jdeveloper.dir=T\:\\java\\programme\\jdeveloper9.0.5.2

install.jedit=true
install.jedit.dir=T\:\\java\\programme\\jedit4.2pre14

install.netbeans=true
install.netbeans.dir=T\:\\java\\programme\\netbeans4.0
install.netbeans.3.4=true
install.netbeans.3.4.dir=T\:\\java\\programme\\netbeans3.6
1 Header comment that contains the last modification date of the file
2 delete.settings = true|false

Indicates wether the settings of a prior version should be removed.

"false" to keep prior settings, "true" to remove them

3 import.settings = true|false

Indicates wether the settings of a prior version should be imported.

"false" to ignore prior settings, "true" to import them

4 install.[appKey] = true|false

Indicates wether the specified application Plug-in should be installed.

"false" means that the Plug-in won't be installed, "true" installs the Plug-in. The valid appKeys are ant, console, eclipse, idea, idea3.x, jbuilder, jdeveloper, jbuilder, jedit, netbeans, netbeans3.4.

5 install.[appKey].dir = absolute file path

Specifies the absolute path file of the root application folder. The file path is stored in platform notation.