Sun Java System Web Server 6.1 SP10 Installation and Migration Guide

Using Silent Installation

If you want to install several Sun Java System Web Servers, you can use silent installation to create a file of responses to the setup prompts of program. You can then edit the file, install.inf, and use it for future Sun Java System Web Server installations.

Silent installation works best when you use the Typical installation and your installations are all similar.

Caution – Caution –

The install.inf file contains the password used to log on to the Administration server. The password is not encrypted; it is in plain text. If you use silent installation, be sure to delete the install.inf file once you are through with it.

Because Sun Java System Web Server is downloaded as a self-extracting .exe file, you must first extract the files before running setup.exe.

ProcedureTo extract the files

  1. Double-click the self-extracting .exe file to start the installer.

  2. When you launch the installer, it unpacks the files to your TEMP directory. Without exiting the installer, go to the TEMP directory and copy the installation files to another location.

  3. Once the files are copied, exit the installer.

    You now have a copy of setup.exe that you can use for creating the install.inf file.

    To use silent installation, follow these steps:

  4. From the command line, run setup with the -k option, which creates a file called install.inf that contains all your responses to the prompts of installer. At the command prompt, type:

    setup.exe -k

  5. Answer the installer prompts and install Sun Java System Web Server.

  6. When the server is installed, go to the server_root /setup directory, where you will find the install.inf file.

  7. Copy the install.inf file to the directory where you will run setup to install the Sun Java System Web Server.

  8. Edit the values in the install.inf file to match the values of the next server you want to install.

    For example, change the port number, installation directory.

  9. Run setup using the install.inf file for input. For example:

    setup.exe -s -f install.inf

  10. The server is installed.

    The following is an example of an install.inf file.


    The following table shows some useful install.inf parameters to edit. For best performance, do not edit any parameters except those listed in the table.

    Parameter Name  



    The directory where you install the server. 


    The Administration Server port. 


    The port of the default Sun Java System Web Server instance. 


    The document root of the Sun Java System Web Server instance. 


    The user name used to access to administration screens of the Administration Server. 


    The password used to access to administration screens of the Administration Server. 


    The directory where your JDK is installed.