Running a Silent Installation
The following sections provide details about executing the Code Insight installation in silent mode.
Basic Procedure for Executing a Silent Installation
Use the following basic procedure to run a Code Insight installation in silent mode.
To execute a silent installation, do the following:
-
Ensure that these steps are complete:
-
You have gathered the information listed in Information to Collect Before Running the Installer.
-
The Code Insight installer has been downloaded (see Downloading the Code Insight Installer).
-
The response file is created (see Creating a Response File for the Silent Installation).
-
-
At a command line, navigate to the directory containing the Code Insight installer.
-
Execute a command in the following format to run the silent installation:
<CodeInsightInstallerName>.[bin|exe] -i silent [-f <FileName>|<FilePath>|<FilePath/FileName>]where
-
<CodeInsightInstallerName>.[bin|exe] is the name of the Code Insight installer (for example,CodeInsight-0.00.0-00.bin). -
Either or both of these elements can be used with the
-fcommand-line option to identify a response file that uses a non-default path or name.-
<FilePath>identifies the path in which the response file resides. -
FilePath/FileNameidentifies the path and name of the response file.
For command examples and more information about the path and name defaults for a response file, see Example Commands for Running a Silent Installation.
-
-
-
Once the installation is complete, do the following:
-
If the installer did not automatically start Tomcat, use the procedure in Starting and Stopping Tomcat to start it. Best practice is not to run Tomcat under elevated privileges.
-
If the installer did not automatically launch the Code Insight Web user interface in a browser, use the procedure in Opening the Code Insight Web User Interface to do so.
infoIf the installation does not complete properly, contact Revenera Support for assistance.
-
Example Commands for Running a Silent Installation
The following provides some example variations of the command used to run an installation in silent mode.
Note that the -f command-line option uses an argument to identify a non-default file name or path (or both) for the response file. When the argument for either the file name or path is omitted (or the -f option is omitted altogether), the installer assumes that the default value for each omitted element is the following:
-
For the file name, either
installer.propertiesor<CodeInsightInstallerName>.properties. -
For the path, the directory in which the installer resides.
Neither the Response File Name Nor Path Explicitly Included
The following example command implies that the response file resides in the same directory as the Code Insight installer and has the default name installer.properties or <CodeInsightInstallerName>.properties.
CodeInsight-0.00.0-00.exe -i silent
File Name Explicitly Included
The following command uses a response file called MyResponse.txt, which resides in the same directory as the installer. The -f command-line option is used to identify the non-default file name.
CodeInsight-0.00.0-00.exe -i silent -f MyResponse.txt
Response File Path Explicitly Included
The following command uses a response file that resides in C:\responseFiles and has the default name installer.properties or <CodeInsightInstallerName>.properties. The -f command-line option is used to identify the non-default path, which can be either absolute or relative to the directory in which the Code Insight Installer resides.
CodeInsight-0.00.0-00.exe -i silent -f C:\responseFiles
Response File Path and Name Explicitly Included
The following command uses the response file C:\propertiesFiles\MyResponse.txt. The -f command-line option is used to identify this non-default file path and name. The file path can be designated as either absolute or relative to the directory in which the Code Insight Installer resides.
CodeInsight-0.00.0-00.exe -i silent -f C:\responseFiles\MyResponse.txt