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.
At the command prompt, navigate to the directory where the installer is located.
cd JavaES-install-dir
Use the Setup.bat /s command to initiate a silent mode installation process.
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".
(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.
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 Silent: This section identifies the file as a log file and provides the version of Install Shield Silent used in the silent setup.
Application: This section identifies the name and version of the installed application, as well as the company name.
Response Result: This section contains the result code indicating whether the silent setup succeeded. An integer value is assigned to the ResultCode key name in the Response Result section.
Install Shield places one of the following return values in the ResultCode key:
ResultCode Description
Success
General error
Invalid mode
Required data not found in the Setup.iss file
Not enough memory available
File does not exist
Cannot write to the response file
Unable to write to the log file
Invalid path to the Install Shield Silent response (.iss) file
Not a valid list type (string or number)
Data type is invalid
Unknown error during setup
Dialog boxes are out of order
Cannot create the specified folder
Cannot access the specified file or folder
Invalid option selected
The log file for a successful silent installation appears as follows:
[ResponseResult] ResultCode=0