UFT One silent installation

You can install UFT One and the ALM Add-in silently on your computer or a remote computer.

Before running a silent installation

Check the list of UFT One installation prerequisites and download the UFT One package that you want to install. For details, see Install UFT One .

Before installing silently:

  • Verify that you have administrator privileges.

  • Save any open files and close all open applications.

  • Restart your system to ensure a complete system configuration.
  • Note that silent installation commands are case-sensitive and should be entered exactly as listed.

Installation file location: 

All of the silent installation commands below run programs from the <UFT One Installation files> folder.

These are the files available after you download the UFT One installation package and extract it:

  • Full installation package: You downloaded a .zip file and extracted it.
  • Lighter installation package: You downloaded a Setup.exe file and ran it to extract the package content.

Back to top

Install UFT One silently

Run the msiexec command to install UFT One using the following syntax.

If you do not specify an installation folder, UFT One is installed in the default installation folder.

64-bit

msiexec /i "<UFT One Installation files>\Unified Functional Testing\MSI\Unified_Functional_Testing_x64.msi" /qb

32-bit

msiexec /i "<UFT One Installation files>\Unified Functional Testing\MSI\Unified_Functional_Testing_x86.msi" /qb

Other msiexec options are supported as well.

To repair an existing installation, use:

msiexec /q /fa "<UFT One Installation files>\Unified Functional Testing\MSI\Unified_Functional_Testing_x<64 or 86>.msi"

To uninstall the program, use:

msiexec /q /x "<UFT One Installation files>\Unified Functional Testing\MSI\Unified_Functional_Testing_x<64 or 86>.msi"

For more details, see:

Back to top

Silent commands for installing UFT One prerequisites

Use the command syntaxes listed below to install UFT One prerequisites:

If you are only installing the UFT One Add-in for ALM or the UFT One Run Results Viewer, install a subset of these prerequisites. For details, see Install prerequisites for the UFT One Add-in for ALM or the UFT One Run Results Viewer.

Note:  

  • Some items have different commands for different systems. Run the command most appropriate for your system.
  • In Windows 10, Microsoft no longer officially supports WSE.

Install all UFT One prerequisites

<UFT One Installation files>\Unified Functional Testing\EN\setup.exe /InstallOnlyPrerequisite /s

Install .NET Framework 4.8

<UFT One Installation files>\prerequisites\dotnet48\ndp48-x86-x64-allos-enu.exe /q /norestart

Install .NET 5.0.6 (required for the UIA Pro add-in and the ParallelRunner UI)

<UFT One Installation files>\prerequisites\dotnet_desktop_runtime5_6\windowsdesktop-runtime-5.0.6-win-x86.exe /q /norestart

Install Microsoft Visual C++ 2013 Redistributable (required only for AI Features)

<UFT One Installation files>\prerequisites\vc2013_redist_x64\vcredist_x64.exe /quiet /norestart

Install Microsoft Visual C++ 2019 Redistributable

If you do not have the Microsoft Visual C++ 2019 Redistributable (or a later version) installed, use one of the following commands:

<UFT One Installation files>\prerequisites\vc2019_redist_x86\vcredist_x86.exe /quiet /norestart
<UFT One Installation files>\prerequisites\vc2019_redist_x64\vcredist_x64.exe /quiet /norestart

Install Microsoft Access database engine 2016

<UFT One Installation files>\prerequisites\msade2016\AccessDatabaseEngine.exe /quiet

Install Microsoft WSE 2.0 SP3 Runtime (required only to run web service testing using WSE security settings)

Download the .msi from https://marketplace.microfocus.com/appdelivery/content/uft-one-installation-prerequisites and run the following command.

MicrosoftWSE2.0SP3Runtime.msi /quiet /norestart ALLUSERS=1		

Install Microsoft WSE 3.0 Runtime (required only to run web service testing using WSE security settings)

Download the .msi from https://marketplace.microfocus.com/appdelivery/content/uft-one-installation-prerequisites and run the following command.

MicrosoftWSE3.0Runtime.msi /quiet /norestart ALLUSERS=1

Install Microsoft PDM installer

Use one of the following commands:

<UFT One Installation files>\prerequisites\pdm\ScriptDebugging_x86.msi /quiet /norestart
<UFT One Installation files>\prerequisites\pdm\ScriptDebugging_x64.msi /quiet /norestart

Install prerequisites for the UFT One Add-in for ALM or the UFT One Run Results Viewer

Install the following prerequisites on your machine when installing only the UFT One Add-in for ALM or the UFT One Run Results Viewer:

Back to top

Silent commands for installing individual UFT One features

Use the ADDLOCAL MSI property in the silent installation command line to define specific UFT One features and add-ins that you want to install.

If you want to install only the UFT One core components, you do not need to use this option.

Note: When installing a feature using the ADDLOCAL property, its parent always is installed as well.

The following example installs UFT One Runtime Engine only.

msiexec /i "<UFT One Installation files>\Unified Functional Testing\MSI\Unified_Functional_Testing_x64.msi" /qb ADDLOCAL="Core_Components" INSTALLDIR="<UFT_Folder>" ALLOW_OTHERSRUNTESTS=1

The following example performs a standard installation with the Java Add-in

msiexec /i "<UFT One Installation files>\Unified Functional Testing\MSI\Unified_Functional_Testing_x64.msi" /qb ADDLOCAL="Core_Components,IDE,Test_Results_Viewer,Samples,Java_Add_in" INSTALLDIR="<UFT_Folder>">"

The following example performs a standard installation with Web and Java Add-ins and the DCOM configurations set.

msiexec /i "<UFT One Installation files>\Unified Functional Testing\MSI\Unified_Functional_Testing_x64.msi" /qb ADDLOCAL="Core_Components,Samples,Java_Add_in" CONF_DICOM=1 INSTALLDIR="<UFT_Folder>"

For more details, see:

Mandatory commands

Command Syntax Description

Core_Components

Installs the UFT One Runtime Engine.

Optional commands for UFT One core components

Command Syntax Description

IDE

Installs the UFT One user interface.

Test_Results_Viewer

Installs the Run Results Viewer.

Samples

Installs the sample applications included with the UFT One installation.

ALM_Plugin

Installs the UFT One Add-in for ALM.
AIServices

Enables you to use AI-based testing in UFT One.

Prerequisites:

Make sure you have the following installed: 

  • A 64-bit operating system, Windows 8 or later.

  • Microsoft Visual C++ 2013 Redistributable

  • The required Windows feature, depending on your Windows operating system:

    For the most up-to-date instructions on enabling Windows features, see the Microsoft documentation.

Commands for UFT Developer components

Command Syntax Description
UFTDeveloper_Engine Installs the UFT Developer run-time engine.
UFTDeveloper_Client Installs the UFT Developer client.
Vs2012Addin
Vs2013Addin
Vs2015Addin
Vs2017Addin
Vs2019Addin
Installs the UFT Developer Plugin for the relevant version of Microsoft Visual Studio.
IntelliJAddin Installs the UFT Developer Plugin for IntelliJ IDEA.
EclipseAddin Installs the UFT Developer Plugin for Eclipse.
ECLIPSE_INSTALLDIR The path to your Eclipse IDE.

Optional commands for UFT One Add-ins

Installs various UFT One add-ins:

  • ActiveX_Add_in
  • Visual_Basic_Add_in

  • Web_Add_in

  • Delphi_Add_in

  • Flex_Add_in

  • Java_Add_in

  • _Net_Add_in

  • Silverlight_Add_in

  • WPF_Add_in

  • Oracle_Add_in

  • PDF_Add_in (Tech preview)

  • PeopleSoft_Add_in

  • PowerBuilder_Add_in

  • Qt_Add_in

  • SAP_Solutions_Add_in

  • SAP_eCATT_integration

  • Siebel_Add_in

  • Stingray_Add_in

  • TE_Add_in

  • VisualAge_Add_in

Install Web 2.0 Add-ins

UFT One's Web 2.0 Add-ins, such as JQueryUI or Dojo, are supported as part of UFT One's Web extensibility.

Install Web 2.0 Add-ins using an msiexec command in the following syntax:

msiexec /qn /i "<UFT One Installation files>\Extensibility and Toolkits\Web2AddinSetup\Web2AddinSetup.msi" ADDLOCAL=ASPAjax,Dojo,GWT,jQueryUI,YahooUI,SiebelOpenUI,ExtJS,SalesforceLightning

Include or exclude the specific ADDLOCAL commands for the Web 2.0 Add-ins you need.

Install a standalone UFT One Add-in for ALM

If you are installing UFT One, you cannot use the ADDLOCAL command to install the UFT One Add-in for ALM. Instead, see Silent commands for installing individual UFT One features.

In the command line, run the msiexec command to install the UFT One Add-in for ALM, using the following syntax:

msiexec /i "<UFT One Installation files>\ALMPlugin\MSI\<ALM_Plugin_File>" /qn

For example:

msiexec /i "<UFT One Installation files>\ALMPlugin\MSI>\Unified_Functional_Testing_Add-in_for_ALM.msi" /qn

Install localized versions of UFT One

By default, UFT One is installed in English.

To install UFT One in the language of your operating system, add the PRODUCT_LOCALE property to the msiexec command.

Make sure to use the command that matches your operating system language, otherwise UFT One is installed in English.

OS Language Command to install a localized UFT One
Chinese PRODUCT_LOCALE="CHS"
French PRODUCT_LOCALE="FRA"
German PRODUCT_LOCALE="DEU"
Japanese PRODUCT_LOCALE="JPN"
Russian PRODUCT_LOCALE="RUS"

The following example installs the Chinese version of UFT One with the .NET Add-in:

 msiexec /i "<UFT One Installation files>\Unified Functional Testing\MSI\Unified_Functional_Testing_x64.msi" /qb ADDLOCAL="Core_Components,Samples,_Net_Add_in" PRODUCT_LOCALE="CHS" INSTALLDIR="<UFT_Folder>"

Back to top

Set UFT One configuration options

This section lists the silent installation options to use for the installation configuration options described in UFT One Configuration screen.

Option Command
Set Chrome, Chromium Edge, Firefox options

ALLOW_BROWSER_EXT

Default: 1.

Run the installation with ALLOW_BROWSER_EXT=0 to prevent UFT One from updating your browser policies or to undo updates performed by previous UFT One installations.

Configure Internet Explorer settings CONF_MSIE
Allow running UFT One remotely from ALM

ALLOW_RUN_FROM_ALM

Default: 0. To set this option for silent installation, set its value to 1.

Allow running UFT One remotely from Automation Scripts

ALLOW_RUN_FROM_SCRIPTS

Default: 0. To set this option for silent installation, set its value to 1.

Caution: Running UFT One remotely from Automation Scripts enables remote users to control UFT One on this machine, exposing the UFT One computer to security risks.

By default, the silent installation does not configure DCOM settings required for remotely controlling UFT One using automation scripts.

To configure the DCOM settings for automation scripts, use the following synax in your silent installation command:

ALLOW_RUN_FROM_ALM=1     
ALLOW_RUN_FROM_SCRIPTS=1      

Back to top

Additional silent installation commands

Command / Argument

Description

ADDLOCAL

(Optional) Instructs the silent installation to install specific UFT One features and add-ins. For more details and a list of available features, see Optional commands for UFT One core components.

Note:

  • This command is relevant for the UFT One core installation only.

  • If you do not use this argument, UFT One is installed with the default add-ins.

  • You must include Core_Components in the ADDLOCAL command.

  • Values must be separated by commas and must not contain spaces.

LICID=<license ID>

(Optional) The license ID to specify when installing UFT One licenses. Default: 20528 (Functional Testing Concurrent User).

Note: If you installed the UFT Developer feature when installing UFT One, using this feature requires license ID 10594 (UFT One Concurrent User) or 23078 (UFT Ultimate Concurrent User).

LICSVR=<server name>

(Mandatory) The name or IP address of the license server to specify when installing UFT One licenses.

MsiFlags

(Optional) Any MSI options, flags, and other instructions that are not included in the MsiProperties arguments, such as logging commands.

MsiProperties

(Optional) Any MSI properties or parameters, such as INSTALLDIR. Each MSI property and its definition must be contained in quotes ("") and must not contain spaces.

Note: You can use INSTALLDIR to specify the installation folder only when performing a new installation. When you run the silent installation in an upgrade scenario, UFT One is installed in the same location as the previous version.

ALM_Plugin

(Mandatory) The name of the MSI installation file.

There is a different MSI file for each available user interface language.

Note: This command is relevant for the UFT One Add-in for ALM installation only.

IMPROVEMENTPROGRAM=0 (Optional) Instructs the silent installation to disable usage data collection for the UFT One improvement program. For details, see UFT One improvement program.

Back to top

Install a lighter version of UFT One

Make sure that when downloading the UFT One installation package, you selected the compressed installation package.

This package is a self-extracting installation package, which contains an MSI installation program.

Installing this version of UFT One includes the following steps: 

  1. Extract the installation package.

  2. Run the MSI installation program to install UFT One.

Do one of the following, choosing the appropriate parameters for your command line:

  • Run UFT_One_<version>_Setup.exe to extract the installation package and automatically run the MSI program.

    This option does not install the UFT One prerequisites.

  • Run UFT_One_<version>_Setup.exe only to extract the installation package then run the MSI program separately.

    If you need to install prerequisites, use this option. After you extract the installation package and before you run the MSI installation, use the silent commands for installing prerequisites.

Use the following commands to install the light version of UFT One:

Command Syntax

Description

UFT_One_<version>_Setup.exe -y

Extracts the installation package and installs the lighter version of UFT One using a simple UI (a single dialog box with a progress bar only).

UFT_One_<version>_Setup.exe -y -gm2

Extracts the installation package silently, and installs the lighter version of UFT One using the full installation wizard UI.

UFT_One_<version>_Setup.exe -InstallPath="c:\<path>"

Extracts the installation package to a specific target folder instead of the default.

UFT_One_<version>_Setup.exe -! <parameter list>

Extracts the installation package and installs the lighter version of UFT One, passing the defined parameter values to the MSI installer.

Possible parameters: 

  • /s. Do not present the prerequisite dialog box.
    Without this option, user intervention is required during installation to close this dialog box.

  • /qn. Install the lighter version of UFT One completely silently.

  • /l*v "<custom log file location>.log". Generate the installation log file in a custom location; the default location is %temp%.

  • INSTALLDIR="<installation folder>". Install UFT One to a custom location (not relevant in upgrade scenario).

  • ADDLOCAL="components to install". For details, see Additional silent installation commands.

UFT_One_<version>_Setup.exe -ExecuteFile=""

Extracts the installation package without running the UFT One installation.

Once the extraction is complete, use the commands and options described in the earlier sections to install prerequisites, perform a silent UFT One installation, selecting the required add-ins and so on.

Tip: In the silent installation commands, change <UFT One Installation files> to the folder where you extracted the installation content.

Examples:

Extract the package to the default location (c:\temp), but do not start the UFT One installation:

UFT_One_15.0.1_Setup.exe -y -ExecuteFile=""

Extract the package to the specified location (c:\UFTinstall) in silent mode, but do not start the UFT One installation:

UFT_One_15.0.1_Setup.exe -y -gm2 -InstallPath="c:\UFTinstall" -ExecuteFile=""

Extract the package silently and start installing UFT One using the simple UI:

UFT_One_15.0.1_Setup.exe -y

Extract the package and start installing UFT One silently:

UFT_One_15.0.1_Setup.exe -y -gm2 -! /s /qn

Extract the package to a specified location, install UFT One silently, customizing the log file location and installation location, and installing several add-ins and features:

UFT_One_15.0.1_Setup.exe -InstallPath="C:\15.0.1\extractedUFT" -y -gm2 -! /s /qn /l*v "C:\UFT_INSTALL.log" INSTALLDIR="C:\UFT_Program" ALLOW_RUN_FROM_ALM=1 ALLOW_RUN_FROM_SCRIPTS=1 CONF_MSIE=1 DLWN_SCRIPT_DBGR=1 ADDLOCAL="Core_Components,Web_Add_in,ALM_Plugin,Test_Results_Viewer,Samples,ActiveX_Add_in,Visual_Basic_Add_in,Delphi_Add_in,Flex_Add_in"

Back to top

Next steps: