This section explains the silent installation of the download installer.
The silent installation performs an installation automatically, without displaying dialog boxes at runtime for the user response. This can be used in the case that the installation folders and installation options are the same on all client machines. The silent installation enables to reduce the amount of the user's work during installation as well as to prevent installation failure due to incorrect operations.
Tasks to be performed by the system developer
Customize the JBK Plugin setting files in the procedure for "4.2.2 How to Use".
Create a response file for silent installation.
To create the response file, execute the file setup.exe of the main installer in the command prompt, by specifying the -r option. An example is shown below:
C:\TEMP>Setup.exe -r |
When the -r option is specified, the download installer is executed in response file creation mode. When the installer is executed in this mode, the same dialog boxes as those explained in "4.3 Running the Download Installer" open, and selection results for each dialog box are recorded in the response file (setup.iss). The file is not actually installed in this mode.
According to the instruction in the dialog boxes, enter information such as the names of installation folders and installation options for the client machine.
Note
The silent installation of this download installer, when doing silent installation the modules is not installed correctly at request file creation mode disabled some JRE shown in [Select Components].
Include only required subinstallers in the main installer.
In response file creation mode, select all of the JRE displayed in the [Select Components] dialog box.
If the user select Yes in the last dialog box, [Complete Setup], the silent installation automatically reboots the client machine after the installation is completed. To prevent the machine from rebooting automatically, select No in the [Complete Setup] dialog box.
Copy the created response file to the work folder.
The response file (setup.iss) is created in the Windows folder (e.g., C:\Windows). Copy this file to the work folder for customization of the download installer.
Note
Copy the response file to the same folder as that of setup.exe of the main installer. If this file is copied to another folder, the silent installation does not work.
Compress and save the work folder files, including the response file, to a single file. After that, the system developer has only to store the compressed file to a Web server.
Note
When the download installer runs in response file creation mode, no file installation is performed, but installation information is recorded in the Windows registry. For deleting the information in the registry, select Add/Remove Programs in the control panel window and uninstall the information by selecting "JBK Download Installer".
Tasks to be performed by the system user
To perform a silent installation, first download the download installer containing a response file from the appropriate Web server, and then expand it on a client machine.
Next, in the command prompt, execute the file setup.exe in the folder where the file has been expanded, by specifying the -s option. An example is below:
C:\TEMP>Setup.exe -s |
If the installer containing the response file is executed with the option -s, it runs in silent mode. In this mode, the installer performs the installation using the information recorded in the response file instead of opening dialog boxes and waiting for responses from the user.
Point
Some archive tools automatically execute specified executable files after expansion of a compressed file. Use this type of tool to automatically start a silent installation by executing "setup.exe -s".
When silent installation ends, execution results are recorded in a log file (setup.log). The log file is created in the same folder as that of setup.exe. To determine whether the installation succeeded, check the following line in the log file:
[ResponseResult] |
If ResultCode is 0, the installation succeeded. If an error occurred, a value other than 0 is recorded. If this occurs, the response file may be invalid. In this case, execute setup.exe without the -s option to install according to the usual procedure.