Silent installation

This section describes how to perform a silent installation of components, an installation that is performed automatically, without the need for user interaction.

Prerequisite software

Before you perform the installation, review the pre-installation information, including the system requirements, described in Before you install.

Install the prerequisite software silently by running the relevant commands as follows.

Prerequisite Software

Command

.NET Framework 4.8

<Installdir>\Setup\Common\dotnet48\ndp48-x86-x64-allos-enu.exe /LCID /q /norestart /c:"install /q"

Note: .NET Framework 4.8 replaces the .NET Framework 4.6.2 and earlier files. If there are any applications that are using the .NET Framework 4.6.2 or earlier files and are running during the installation of .NET Framework 4.8, you may need to restart your machine. If you are prompted to restart the machine, restart it before continuing the installation. For details, see the .NET documentation.

.Net core hosting 6.0.15

<Installdir>\Setup\Common\dotnet_hosting\dotnet-hosting-6.0.15-win.exe /quiet OPT_NO_RUNTIME=1 OPT_NO_SHAREDFX=1 OPT_NO_X86=1

Microsoft Visual C++ Redistributable for Visual Studio 2015-2019 / 2015-2022

For 2015-2019 (OpenText Enterprise Performance Engineering 2022 R1 or earlier):

<Installdir>\Setup\Common\vc2015_redist_x86\vc_redist.x86.exe /quiet /norestart

For 2015-2022 (OpenText Enterprise Performance Engineering 2022 R2 or later on hosts only):

<Installdir>\Setup\Common\vc2022_redist_x86\vc_redist.x86.exe /quiet /norestart

Microsoft Visual C++ Redistributable for Visual Studio 2015-2019 / 2015-2022 (x64)

For 2015-2019 (OpenText Enterprise Performance Engineering 2022 R1 or earlier):

<Installdir>\Setup\Common\vc2015_redist_x64\vc_redist.x64.exe /quiet /norestart

For 2015-2022 (OpenText Enterprise Performance Engineering 2022 R2 or later on hosts only):

<Installdir>\Setup\Common\vc2022_redist_x64\vc_redist.x64.exe /quiet /norestart

Internet Information Services (IIS)

See the Microsoft documentation for the PowerShell command required for your IIS version.

Note:OpenText Enterprise Performance Engineering server only.

Back to top

Customize silent installation

This section describes how to customize the parameters in the UserInput.xml file, the file used for silent configuration. This file contains parameters for the server and host configurations.

You then instruct the Installer to use the customized file for the silent configuration input.

To configure the properties in the UserInput.xml file:

  1. Copy the UserInput.xml file from the installation directory (...\Setup\Install\[Host][Server]\) to another location.

  2. Open the copy of the file and enter a user-defined value for the LW_CRYPTO_INIT_STRING property.

    Note: This passphrase must be identical to the passphrase defined during the installation.

  3. Configure the following properties on the server.

    Property

    Description

    IIS_WEB_SITE_NAME

    Choose the IIS web site used to host the server services.

    Note:

    • The web site must exists prior to running the configuration.

    • The value is optional. If no web site is specified and there is more than one defined on your machine, the configuration uses the first one (the one with the smallest ID value).

    SystemUserName

    Choose the name of the user configured as the OpenText Enterprise Performance Engineering Windows system user.

    Note: You can use a local or a domain user:

    • If you are using a local user, the user is added to the Administrator group.

    • If you are using a domain user, the value for this property should be in the form of <domain\user>. Make sure the machine and the user are part of the same domain and that the user exists on the machine.

    • If you do not provide a user name, the system uses the default user name ('IUSR_METRO').

    • A user name cannot include the following characters [ ] : | < + > = ; , ? * @

    • If the supplied user's details are invalid (for example, the user name contains invalid characters, or the domain user does not exist), the system uses the default user name ('IUSR_METRO') instead.

    For details on defining a user, see Install and configure servers and hosts.

    SystemUserPwd

    Choose the password for the OpenText Enterprise Performance Engineering Windows system user.

    Note:

    • If the installer uses the default user (for example, when the value for property 'SystemUserName' is empty), the password property is ignored and the installer uses the default password (‘P3rfoRm@1nceCen1er’).

    • A password cannot include the following characters < > | & " ^ or space.

    • A password cannot be empty. If this field is empty, the system uses the default password (‘P3rfoRm@1nceCen1er’).

    • If using an existing user for the ‘SystemUserName’ property, the password must match the password used by the existing user.

  4. Configure the following properties on the host.

    Property

    Description

    LRASPCHOST=1

    Add this property to install as a Host.

    IMPROVEMENTPROGRAM=0

    The option to participate in the VuGen improvement program is enabled by default. Add this property if you want to deactivate it.

  5. Save the UserInput.xml file.

  6. Specify the location of the saved file when running the silent installation command.

Back to top

Silent installation on server and hosts

This section describes how to run the silent installation of the server and hosts on a Windows platform.

The silent installation is followed by the silent configuration which calls the UserInput.xml file for configuration parameters. You can customize the parameters in this file for the server configuration. For details, see Customize silent installation.

You can perform a silent installation using one of the following options:

Note: If you are installing Network Virtualization (NV), you must deactivate Windows SmartScreen before proceeding with the silent installation. To do this, open HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer in the Registry Editor, and change the Value data for "SmartScreenEnabled" to "Off".

Option 1: Install prerequisite software and the component separately

  1. Install the prerequisite software. For details, see .

    Note: If you are prompted to restart the computer after installing the prerequisite software, you must do this before continuing with the installation.

  2. After you have installed all the prerequisite software, install the component by running the appropriate command from the command line.

    Example of server installation with default properties:

    Copy code
    msiexec /i <installdir>\Setup\Install\Server\LRE_Server.msi
    INSTALLDIR="<Target Installation Directory>" NVINSTALL=Y  /qnb /l*vx "<Path to log file>"

    Example of server installation with customized UserInput.xml:

    Copy code
    msiexec /i <installdir>\Setup\Install\Server\LRE_Server.msi
    USER_CONFIG_FILE_PATH="<Full path to UserInput file>" INSTALLDIR="<Target Installation Directory>" NVINSTALL=Y  /qnb /l*vx "<Path to log file>"

    Example of host installation:

    Copy code
    msiexec /i <installdir>\Setup\Install\Host\LoadRunner_x64.msi
    USER_CONFIG_FILE_PATH="<Full path to UserInput file>" [optional installer properties - see list below] /qn /l*vx "<Path to log file>"

    In the above examples:

    Property Description
    <Full path to UserInput file> Path to your customized UserInput.xml file.
    <Target installdir> Directory in which to install the OpenText Enterprise Performance Engineering server or host.
    <Path to log file> Full path to installation log file.
    NVINSTALL

    Indicates whether to launch the OpenText Network Virtualization installation in silent mode, after the installation is complete.

    By default, OpenText Network Virtualization is not installed in silent mode.

Note: You must restart the machine in order for NV to function properly.

Option 2: Install prerequisite software together with the components

You can also install in silent mode using the setup.exe file from the installation directory. This enables you to install the prerequisites in silent mode automatically before running the MSI installation in silent mode. Using this option also invokes the correct MSI file depending on the operating system platform.

Example of server installation:

Copy code
<installdir>\Setup\En\setup_server.exe /s 
USER_CONFIG_FILE_PATH="<Full path to UserInput file>" 
INSTALLDIR="<Target Installation Directory>" NVINSTALL=Y

Example of host installation

Copy code
<installdir>\Setup\En\setup_host.exe /s 
INSTALLDIR="<Target Installation Directory>" 
USER_CONFIG_FILE_PATH="<Full path to UserInput file>" NVINSTALL=Y INSTALL_GATLING=1 INSTALL_JMETER=1

In the above examples:

Property Description
<Full path to UserInput file> Path to your customized UserInput.xml file.
<Target installdir> Directory in which to install the OpenText Enterprise Performance Engineering server or host.
setup.exe

When using the setup.exe file, the installation log is created under the user's temp directory.

  • Host installation: %temp%\LREHost.log

  • Server installation: %temp%\LREServer.log

NVINSTALL

Indicates whether to launch the OpenText Network Virtualization installation in silent mode, after the installation is complete.

By default, OpenText Network Virtualization is not installed in silent mode.

INSTALL_GATLING

To install Gatling as part of the OneLG installation, add the following to the installation command: INSTALL_GATLING=1

By default, Gatling is not installed in silent mode.

INSTALL_JMETER

To install JMeter as part of the OneLG installation, add the following to the installation command: INSTALL_JMETER=1

By default, JMeter is not installed in silent mode.

Note: Restarting the machine is required in order for OpenText Network Virtualization to function properly.

Installing an upgrade in silent mode

If you are installing an upgrade, run the following command:

Copy code
msiexec.exe /i <full path to msi file> [/qn] [/l*vx <full path to log file>]

The msi files are located in the installation package.

The /qn option sets the silent mode and /l*vx enables logging in verbosity mode.

Back to top

Notes and limitations

If you attempt to download OpenText Network Virtualization installation files from the Internet or an FTP site, the files are blocked to protect the computer from untrusted files and you get the following message: "This file came from another computer and might be blocked to help protect his computer."

Resolution: Before installing OpenText Network Virtualization, unblock the files as follows:

  1. Right-click one of the installation executable files located in <NV installation path>\Additional Components\Network Virtualization, and select Properties.

  2. If there is an Unblock check box in the General tab, select it and click OK.

  3. Verify that the Unblock check box is gone.

  4. Repeat for each executable file in the Network Virtualization folder.

Back to top