Installing TestArchitect in silent mode

In some cases, you may need to install TestArchitect in silent mode. In this mode, the installation is performed automatically without any user interaction.

For example, you install TestArchitect in silent mode, when you would like to automate the installation process or deploy TestArchitect on various computers. Especially, CI/CD cycle for continuous integration, deployment and delivery fit your needs most.

Silent installation performed via InstallShield on Windows

  • The installation runs in the background. It does not show any dialog boxes or messages.
  • An installation response file is required. Response file is like a mold that helps replicate the installation process again and again.
    Warning: If you want to change something during installation, such as, installation directory, you are required to re-create this mold.

Creating an installation response file

To install TestArchitect in silent mode by using InstallShield, create an installation response file to store the needed installation settings.

  1. Choose a computer on which TestArchitect is not installed.
  2. Bring up a command window with administrator right. The command window opens with a prompt displaying your current directory.
  3. Run the TestArchitect installation file in record mode with the following command: <path_to_installation_file>\<TestArchitect_installation_file.exe> /r
    • /r: Use this command line to run the installation in record mode. (Learn more.)
    • If the path includes spaces, enclose it in quotes.
    For example, enter the following command:
    "D:\Silent installation\TestArchitect Build\TestArchitect_8.3.0.143_x64.exe" /r


    Where:
    • Path to the executable TestArchitect installation file: D:\Silent installation\TestArchitect Build\TestArchitect_8. 3.0.143_x64.exe
  4. Follow the onscreen instructions and install TestArchitect with the needed settings. The installation program tracks the choices you make during the installation and records them to the setup.iss file in the Windows folder on your system drive.
  5. Rename setup.iss into install.iss, which is in charge of silent installation.

Running silent installation

Deploying TestArchitect installation file on other computers and running the installation there using the created response file.

  1. Deploy the TestArchitect installation file and the installation response file to the target computer.
  2. Bring up a command window with administrator right. The command window opens with a prompt displaying your current directory.
  3. On the target computer, run the following command: <path_to_installation_file>\<TestArchitect_installation_file.exe> /s /f1<path_to_response_file>\<respone_file.iss> /f2<path_to_log_file>\<log_file.log>
    • /s: Runs the installation in silent mode. (Learn more.)
    • /f1: Specifies where the response file is. (Learn more.)
    • /f2: Specifies a log file location and file name. (Learn more.)
      Note: Specify an absolute path; using a relative path gives unpredictable results.
    • If the path includes spaces, enclose it in quotes.
    For example, enter the following command:
    "D:\Silent installation\TestArchitect Build\TestArchitect_8.3.0.143_x64.exe" 
    /s /f1"D:\Silent installation\Silent files\install.iss" 
    /f2"D:\Silent installation\Silent files\install.log"


    Where:
    • Path to the executable TestArchitect installation file: D:\Silent installation\TestArchitect Build\TestArchitect_8.3.0.143_x64.exe
    • Path to the response file: D:\Silent installation\Silent files\install.iss
    • Path to the log file: D:\Silent installation\Silent files\install.log
    The installation program installs TestArchitect in the background using the options specified in the response file. The installation program displays no dialog boxes. The installation progress is not shown either.

Verifying the silent installation success

In silent mode, the installation wizard shows no informative, warning or error messages. The installation program creates the log file and writes the installation status to that file. You can examine that log file to learn whether TestArchitect has been installed successfully.

The file is located in the folder, specified by the /f2 parameter (learn more). Open the file and check the ResultCode value. 0 indicates success, any other values indicate an error. A complete list of error codes is available here.