C H A P T E R  7

Installing the Java Studio Enterprise Software Using Silent Mode

Silent installation is useful for installing the Java Studio Enterprise software on multiple hosts that share similar configurations. Silent installation requires that you run the installer once to capture input values in a state file. The state file contains your responses as a list of parameters, each representing a single prompt or field. You can then run the installer on many hosts, using the state file as input after editing certain host-specific values. This process propagates one configuration across multiple hosts in your enterprise.



Note - Before you create a state file, perform the same preinstallation steps that you perform for an interactive installation. See Before You Install the Java Studio Enterprise Software for details.



This chapter covers the following topics:


Guidelines for Using Silent Mode

Follow these guidelines for successful silent installation:

Do not manually create a state file. A state file generated by the installer uses the installer's real-time dependency checking and error reporting.


Preparing a State File

To prepare a state file, you must first run the installer using command-line options to suppress actual installation.


procedure icon  To Prepare a State File for Microsoft Windows Platform

1. Log in with administrator privileges.

2. In the command prompt window, change to the directory where the installer program is located.

3. Start the installer and provide an absolute path name for the state file.

The format for the installer command is as follows:


install-launcher -options-record statefile 

where statefile specifies an absolute path and file name for the state file.

For example:


jstudio_ent81-ml-windows.exe -options-record C:\temp\SilentStateFile.txt 

4. Follow the instructions in Microsoft Windows: Installing and Starting the Java Studio Enterprise Software to complete the installation.

As you respond to the installer, it records all your input values in the state file. When you complete the installation, the state file is available in the location that you specified.


procedure icon  To Prepare a State File for UNIX Platforms

1. In the terminal window, change to the directory where the installer program is located.

2. Start the installer, providing an absolute path name for the state file.

The format for the installer command is as follows:


install-launcher -options-record statefile 

where install-launcher is one of the following:

and where statefile specifies the name of the state file.

For example:


jstudio_ent81-ml-solaris-x86.sh -options-record SilentStateFile.txt 

3. Follow the instructions in Solaris OS and Linux: Installing and Starting the Java Studio Enterprise Software to complete the installation.

As you respond to the installer, it records all your input values in the state file. When you complete the installation, the state file is available in the location that you specified.

4. (Optional) Edit the state file to modify values.

Review the information in the state file for details.


Running the Installer in Silent Mode

You must run the installer on a machine that has the same operating system as the machine on which you generated the state file.


procedure icon  To Run the Silent Installer on Microsoft Windows Platforms

1. On the system where you want to install Java Studio Enterprise, log in with the required permissions.

2. Disable desktop firewall software to avoid interference with the port assignment logic used by the installer.

3. Open the command prompt window and change to the directory where the installer program is located.

4. Start the silent installer, providing an absolute path name for the state file.

The format for the silent installer command is as follows:


jstudio_ent81-ml-windows.exe -options statefile -silent 

where statefile specifies an absolute path and file name for the state file.

For example:


jstudio_ent81-ml-windows.exe -options C:\temp\SilentStateFile.txt -silent


procedure icon  To Run the Silent Installer on UNIX Platforms

1. On the system where you want to install Sun Java Studio Enterprise 8.1, log in with the required permissions.

2. In a terminal window, change to the directory where the installer program is located.

3. Start the silent installer, providing the name of the state file.

The format for the silent installer command is as follows:


install-launcher -options statefile -silent 

where install-launcher is one of the following:

and where statefile specifies the name of the state file.

For example:


jstudio_ent81-ml-solaris-x86.sh -options SilentStateFile.txt -silent