Running the Installation Program in Silent Mode

What Is Silent-Mode Installation?

Silent-mode installation allows you to define an installation configuration only once and then use the configuration to duplicate the installation on many machines. During installation in silent mode, the installation program reads the settings for your configuration from a SilentInstaller.conf file that you create before beginning the installation. The installation program does not display any configuration options during the installation process. Silent-mode installation works on UNIX systems.

Overview of Silent-Mode Installation Steps

The silent-mode installation process has two primary steps:

  1. Edit a SilentInstaller.conf file that defines the installation configuration that user would normally enter during an interactive installation process. For example, in SilentInstaller.conf, user can supply the configuration for the Ephesoft installation directory, the shared folder path, and the components to be installed.

Important Considerations for Silent-Mode Installation

When using silent mode, keep the following considerations in mind:

  1. Silent-mode installation requires the same amount of temporary disk space and uses the same temporary storage directories as a standard installation.
  2. A silent-mode installation takes the same amount of time as a standard installation. At the beginning of a silent-mode installation, an initial installation program window or message is displayed briefly, indicating that the installation has started.
  3. Incorrect entries in the SilentInstaller.conf file can cause installation failures. To help you determine the cause of a failure, Ephesoft installer will check for the incorrect entries before starting installation. If there is any incorrect entry then installer will stop installation displaying invalid entry.
  4. Please don’t use semi-colon or special characters in SilentInstaller.conf file.

Editing a SilentInstaller.conf File for Silent-Mode Installation

When you install Ephesoft in silent mode, the installation program uses a SilentInstaller.conf file (SilentInstaller.conf) to determine which installation options should be implemented. Before you can run the installation program in silent mode, you must first edit a SilentInstaller.conf file.

To edit a SilentInstaller.conf file:

  1. Open the file Respose-Files/SilentInstaller.conf file in any editor.
  2. In the SilentInstaller.conf file that you opened on your system, edit the values for the data-value names to reflect your configuration.
  3. Save the file, with the name SilentInstaller.conf, in the directory Response-Files.

Below table describes all of the data-value names that are currently available.

Data-Value Name Description
input_installation_directory The full path for the Ephesoft installation directory of your choice.
input_change_shared_folder_path
  • n not to change the default shared folder path.
  • y to change the default shared folders path. If you select y then shared folder path will be input_changed_shared_folder_path
input_changed_shared_folder_path The full path for the directory where you want to install SharedFolders.
input_tomcat_port_number Tomcat port number.
input_change_server_name
  • n not to change the default server name.
  • y to change the default server name. If you select y then server name will be input_changed_server_name
input_changed_server_name Server name
input_new_database_instance
  • y to install new database instance.
  • n to use existing database instance. input_system_ip_name database is used. input_database_username username of the database to login.
input_system_ip_name System IP of the server where database is present.
input_database_username Username of the database if existing database instance.
input_database_port_number Database port number
input_database_password Password of the database.
input_application_database_name Database name of Ephesoft application.
input_report_database_name Database name of Ephesoft report.
input_install_tesseract
  • y to install the tesseract.
  • n to skip the installation of the tesseract. The default is n.
input_existing_shared_folder
  • n not to use existing SharedFolders.
  • y to use existing SharedFolders. In this case input_existing_shared_folder_path will act as the path for SharedFolders.
input_existing_shared_folder_path The full path for the directory where SharedFolders are present, if user want to use existing shared folders.
input_database_patch_enable
  • y to execute database patch. This is the case of single server installation. Or database server in case of multiserver.
  • n not to execute database patch.
input_upgrade_application
  • y to upgrade the Ephesoft version. This upgrades if you have pre-installed Ephesoft lower version than current version and is upgradable.
  • n not to upgrade the Ephesoft version.

This is used for up gradation purposes.

input_forcefully_stop_running_server
  • y to stop the Ephesoft server if Ephesoft server is running while up gradation.
  • n not to stop the server. If Ephesoft server is running then this will exit the script.
input_install_multiserver
  • y to install the server as a multi-server environment.
  • n to install the server as a single server environment.
input_mounted_sharedfolder_path The full path for the mounted shared folder.

Starting Silent Mode Installation

This section describes how to start a silent mode installation. It contains the following sections:

Starting the Installation Program in Silent Mode

To start the installation program in silent mode, follow these steps:

  1. Copy the Ephesoft_4.0.0.0.tar.gz, Response-Files directory and installation scripts to some path using WINSCP or any other tool. As shown in the below example all the required files have been copied to /home/turbo directory.

2. Edit a SilentInstaller.conf file in Respose-Files/ directory that defines the configuration settings normally entered by a user during an interactive installation process, such as console-mode installation. For information about creating a silent.xml file, see Editing a SilentInstaller.conf File for Silent-Mode Installation.

3. In order to execute the scripts, give appropriate permission for executing the scripts using the command “chmod 755 * “.

4. Now, proceed with the fresh/silent installation of Ephesoft on Linux operating system (RedHat or Ubuntu). Run the installation script using command “./install -silentinstall”. The script must be run as a super user. Installation will be interrupted if script is not run with super user permission.

5. Now installer will start installation as a silent installer.

NOTE: User can also run silent installer by entering “y” option when prompted while running the command “./install”. As shown in below screenshot.

Sample SilentInstaller.conf File for Silent Mode Installation

The following sample SilentInstaller.conf file installs all default configuration of Ephesoft Server.

#This takes the input of installation directory.

input_installation_directory=/opt

#This takes the input of whether to change shared folder path. ‘y’ [without qoutes] changes the default shared folder path and ‘n’ [without qoutes] will install the shared folders at default path.

input_change_shared_folder_path=n

#If above switch change shared folder path is ‘y’ then this act as an input for shared folder path.

input_changed_shared_folder_path=/opt/Ephesoft

#This takes the input of tomcat port number.

input_tomcat_port_number=8080

#This takes the input whether to change the server name. ‘y’ [without qoutes] changes the server name and ‘n’ [without qoutes] do not change the default server name.

input_change_server_name=n

#If above switch change server name is ‘y’ then this act as an input for server name.

input_changed_server_name=turbo-VirtualBox

#This takes the input of whether to make a new database instance. ‘y’ [without qoutes] make a new instance of mariadb and ‘n’ [without qoutes] donot make a new instance of mariadb.

input_new_database_instance=y

#This takes the input of ip name.

input_system_ip_name=localhost

#This takes the input of database user name.

input_database_username=root

#This takes the input of database port number.

input_database_port_number=3306

#This takes the input of database password.

input_database_password=turbo

#This takes the input of application database name.

input_application_database_name=ephesoft

#This takes the input of report database name.

input_report_database_name=report

#The installation of tesseract is optional. This takes the input whether to install tesseract or not. ‘y’ [without qoutes] installs the tesseract and ‘n’ [without quotes] donot install the tesseract.

input_install_tesseract=n

#This takes the input of whether to use existing shared folder. ‘y’ [without qoutes] uses existing shared folder and ‘n’ [without qoutes] do not use existing shared folders.

input_existing_shared_folder=n

#This takes the input of existing shared folder path if above existing shared folder switch is ‘y’.

input_existing_shared_folder_path=/opt/SharedFolders

#This takes the input of whether to enable database patch. ‘y’ [without qoutes] enables the database patch and ‘n’ [without qoutes] do not enable the database patch.

input_database_patch_enable=y

#This takes the input of whether to upgrade or not. ‘y’ [without qoutes] upgrades the application and ‘n’ [without qoutes] do not upgrade the application.

input_upgrade_application=y

#This takes the input of whether to stop the server if it is running during upgrade installation. ‘y’ [without qoutes] stops the server and ‘n’ [without qoutes] do not stop the server and exit the script.

input_forcefully_stop_running_server=y

#This takes the input of whether to install as a multi server. ‘y’ [without qoutes] will install as a multi server and ‘n’ [without qoutes] installs as a single server.

input_install_multiserver=n

#If above multi server switch is ‘y’ then this takes the input as a path for mounted shared folder path.

input_mounted_sharedfolder_path=/opt/Ephesoft/SharedFolders

Running the Upgrade Installer in Silent Mode

The process for upgrading an installation in silent mode is similar to the process for a full installation in silent mode, except that the SilentInstaller.conf file is much simpler. Please note the following issues when performing an upgrade in silent mode:

  • Incorrect entries in SilentInstaller.conf can cause installation failures.
  • Please set these two data-value properly in case of up gradation.
input_database_patch_enable
  • y to execute database patch. This is the case of single server installation. Or database server in case of multiserver.
  • n not to execute database patch.
input_upgrade_application
  • y to upgrade the Ephesoft version. This upgrades if you have pre-installed Ephesoft lower version than current version and is upgradable.

 

<Back| 4.0.0.0 Release Documentation

Was this article helpful to you?

Engineering