Sun Java Enterprise System 5 Installation Guide for Microsoft Windows

Running the Installer in Silent Mode

Running an installation silently requires a previously recorded response file. For more information, see Creating a Response File. Run the installer on a host that has the same operating system as the host on which you generated the response file.

ProcedureTo Run the Installer in Silent Mode

  1. At the command prompt, navigate to the directory where the installer is located.

    cd JavaES-install-dir

  2. Use the Setup.bat /s command to initiate a silent mode installation process.


    Note –

    By default the Setup.iss file is created in Windows System folder. You need to copy this file from the Windows System to the folder where the Setup.bat exists before starting silent installation as Setup.bat /s. Otherwise, the command returns -3 error in setup.


    Use the /f1 option to specify the .iss file location. To avoid unpredictable results, specify an absolute path. For example, type:

    Setup.bat /s /f1"C:\Temp\example.iss".

  3. (Optional) Use the Setup.bat /s with /f2 option to specify an alternative location and file name for the log file. To avoid unpredictable results, specify an absolute path for the file. For example, type:

    Setup.bat /s /f1"C:\Temp\UninstallExample.iss /f2"C:\Setup.log".

    Silent installation can be lengthy, depending on the number and type of components that you are installing. While the installer is running, you can monitor its progress by examining changes to the installation log.

Understanding the Setup.log File

Setup.log is the default name for the silent installation log file generated when you run the Setup.bat command with the /s argument. The Setup.log file contains the following three sections:

Install Shield places one of the following return values in the ResultCode key:

ResultCode

ResultCode Description

0

Success

-1

General error

-2

Invalid mode

-3

Required data not found in the Setup.iss file

-4

Not enough memory available

-5

File does not exist

-6

Cannot write to the response file

-7

Unable to write to the log file

-8

Invalid path to the Install Shield Silent response (.iss) file

-9

Not a valid list type (string or number)

-10

Data type is invalid

-11

Unknown error during setup

-12

Dialog boxes are out of order

-51

Cannot create the specified folder

-52

Cannot access the specified file or folder

-53

Invalid option selected

The log file for a successful silent installation appears as follows:

[ResponseResult]
ResultCode=0