UFT silent installation

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

Before running a silent installation

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.

  • If you are installing the lighter installation package from the web, in the silent installation commands, change <UFT installation directory> to the download directory you used.

Back to top

Install UFT silently

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

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

64 bit

msiexec /i "<UFT installation directory>\Unified Functional Testing\MSI\Unified_Functional_Testing_x64.msi" /qb

86 bit

msiexec /i "<UFT installation directory>\Unified Functional Testing\MSI\Unified_Functional_Testing_x86.msi" /qb

For more details, see:

Back to top

Silent commands for installing UFT prerequisites

Use the command syntaxes listed below to install UFT prerequisites:

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

Note: Some items have different commands for different systems. Run the command most appropriate for your system.

Install all UFT prerequisites

<UFT installation directory>\Unified Functional Testing\EN\setup.exe /InstallOnlyPrerequisite /s

Install .NET Framework 4.5

<UFT installation directory>\prerequisites\dotnet45\dotnetfx45_full_x86_x64.exe /q /norestart

Install Microsoft Access database engine 2016

<UFT installation
directory>\prerequisites\msade2016\AccessDatabaseEngine.exe /quiet

Install Microsoft WSE 2.0 SP3 Runtime

<UFT installation directory>\prerequisites\wse20sp3\MicrosoftWSE2.0SP3Runtime.msi /quiet /norestart ALLUSERS=1

Install Microsoft WSE 3.0 Runtime

<UFT installation directory>\prerequisites\wse30\MicrosoftWSE3.0Runtime.msi /quiet /norestart ALLUSERS=1

Install Microsoft Visual C++ 2010 Run-time Components for 32/64 bit Operating Systems

Use one of the following commands:

<UFT installation directory>\prerequisites\vc2010_redist\vcredist_x86.exe /q  
<UFT installation directory>\prerequisites\vc2010_X64_redist\vcredist_x86.exe /q  

Install Microsoft Visual C++ 2012 Redistributable

Use one of the following commands:

<UFT installation directory>\prerequisites\vc2012_redist_x86\vcredist_x86.exe /quiet /norestart
<UFT installation directory>\prerequisites\vc2012_redist_x64\vcredist_x64.exe /quiet /norestart

Install Microsoft Visual C++ 2015 Redistributable

Use one of the following commands:

<UFT installation directory>\prerequisites\vc2015_redist_x86\vcredist_x86.exe /quiet /norestart
<UFT installation directory>\prerequisites\vc2015_redist_x64\vcredist_x64.exe /quiet /norestart

The Microsoft Visual C++ 2015 Redistributable requires a Microsoft update:

Windows 7 https://support.microsoft.com/en-us/kb/2999226

Windows 8

Windows 8.1

Windows Server 2012

https://support.microsoft.com/en-us/kb/2975061, or the following: 

If the installation does not start due to missing KB files, check the VC2015Prerequisite_yyyymmdd_XXXXXX.log file in the %TEMP% directory.

Install Microsoft PDM installer

Use one of the following commands:

<UFT installation directory>\prerequisites\pdm\ScriptDebugging_x86.msi /quiet /norestart
<UFT installation directory>\prerequisites\pdm\ScriptDebugging_x64.msi /quiet /norestart

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

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

Back to top

Silent commands for installing individual UFT features

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

If you want to install only the UFT 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 Runtime Engine only.

msiexec /i "<UFT installation directory>\Unified Functional Testing\MSI\Unified_Functional_Testing_x64.msi" /qb ADDLOCAL="Core_Components" TARGETDIR="<UFT_Folder>" ALLOW_OTHERSRUNTESTS=1

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

msiexec /i "<UFT installation directory>\Unified Functional Testing\MSI\Unified_Functional_Testing_x64.msi" /qb ADDLOCAL="Core_Components,IDE,Test_Results_Viewer,Samples,Java_Add_in" TARGETDIR="<UFT_Folder>">"

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

msiexec /i "<installation_download_directory>\Unified Functional Testing\MSI\Unified_Functional_Testing_x64.msi" /qb ADDLOCAL="Core_Components,Samples,Java_Add_in" CONF_DICOM=1 TARGETDIR="<UFT_Folder>"

For more details, see:

Mandatory commands

Command Syntax Description

Core_Components

Installs the UFT Runtime Engine.

Optional commands for UFT core components

Command Syntax Description

IDE

Installs the UFT user interface.

Test_Results_Viewer

Installs the Run Results Viewer.

Samples

Installs the sample applications included with the UFT installation.

ALM_Plugin

Installs the UFT Add-in for ALM.

Commands for LeanFT components

Command Syntax Description
LeanFT_Engine Installs the LeanFT run-time engine.
LeanFT_Client Installs the LeanFT client.
Vs2012Addin Installs the LeanFT Plugin for Microsoft Visual Studio 2012.
Vs2013Addin Installs the LeanFT Plugin for Microsoft Visual Studio 2013.
IntelliJAddin Installs the LeanFT Plugin for IntelliJ IDEA.
EclipseAddin Installs the LeanFT Plugin for Eclipse.
ECLIPSE_INSTALLDIR The path to your Eclipse IDE.

Optional commands for UFT Add-ins

Installs various UFT 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

  • 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's Web 2.0 Add-ins, such as JQueryUI or Dojo, are supported as part of UFT's Web extensibility.

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

msiexec /qn /i "<UFT installation directory>\Extensibility and Toolkits\Web2AddinSetup\Web2AddinSetup.msi" ADDLOCAL=AddASPAjax,Dojo,GWT,jQueryUI,YahooUI,SiebelOpenUI,ExtJS

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

Install a standalone UFT Add-in for ALM

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

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

msiexec /i "<UFT installation directory>\ALMPlugin\MSI\<ALM_Plugin_File>" /qn

For example:

msiexec /i "<UFT installation directory>\ALMPlugin\MSI>\Unified_Functional_Testing_Add-in_for_ALM.msi" /qn

Back to top

Set UFT remote configuration options

By default, the Allow running UFT remotely from ALM and Allow running UFT remotely from Automation Scripts options are not included. To set this option for a silent installation, set the value of each option to =1

Option Command
Configure Internet Explorer settings CONF_MSIE
Allow running UFT remotely from ALM ALLOW_RUN_FROM_ALM

Allow running UFT remotely from Automation Scripts

ALLOW_RUN_FROM_SCRIPTS

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

By default, the silent installation does not configure DCOM settings required for remotely controlling UFT 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 features and add-ins. For more details and a list of available features, see Optional commands for UFT core components.

Note:

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

  • If you do not use this argument, UFT 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.

LICSVR=<server name>

(Mandatory) The name or IP address of the license server to specify when installing UFT 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 TARGETDIR. Each MSI property and its definition must be contained in quotes ("") and must not contain spaces.

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 Add-in for ALM installation only.

<UFT installation directory>

The path to the full installation UFT package.

<installation_download_directory>

The path to the UFT Installation executable that you downloaded.

Back to top

Install a lighter version of UFT

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

Command Syntax

Description

UFTSetup.exe -y

Installs the lighter version of UFT using a simple UI (a single dialog box with a progress bar only).

UFTSetup.exe -y -gm2

Installs the lighter version of UFT completely silently.

UFTSetup.exe -InstallPath="c:\<path>"

Installs the lighter version of UFT with a specific target directory instead of the default.

UFTSetup.exe -! <parameter list>

Installs the lighter version of UFT, passing the defined parameter values.

UFTSetup.exe -ExecuteFile=""

Extracts the installation package without running the UFT installation.

Examples:

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

UFTSetup.exe -y -ExecuteFile=""

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

UFTSetup.exe -y -gm2 -InstallPath="c:\UFTinstall" -ExecuteFile=""

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

UFTSetup.exe -y

Extract the package and start installing UFT silently:

UFTSetup.exe -y -gm2 -! /s

Back to top

Next steps: