Skip to main content

Creating a Response File for the Silent Installation

A Code Insight silent installation requires a response file that the installer reads to determine the installation parameters. Best practice is to create this file through a command-line option that automatically generates the response file from the user input captured by the installer user interface during an actual installation. The file is saved as installer.properties and resides in the same directory as the installer. You can then use this response file for future silent installations.

To generate the response file for a silent installation, do the following:

  1. Launch the Code Insight installer using the following command.

    info

    The -r command-line option requires at least one argument. To meet this requirement, specify the destination path to use the default name or specify a full path and file name to rename the file. CodeInsightInstallerName.[bin/exe] -r InstallerFilePath|InstallerFilePath/FileName

    For example:

    CodeInsight-7.17.0-98.exe -r C:\CodeInsight_Installer

  2. Complete the required fields as you walk through the installer UI.

    Once the installation is complete, the response file is generated with the default name installer.properties and is saved to the installer directory. If you stopped the installer at any point, a response file is still generated with whatever inputs were entered up to the stopping point.

    For a description of the properties in the file, see Installation Properties in the Response File. The file can be tweaked and renamed as needed for use by the silent installation.

    note

    The other default name recognized by the installer is CodeInsightInstallerName.properties, but you can give the response any name as long as you explicitly designate its name when you run the silent installation.