Install UFT One silently
You can install UFT One and the ALM Add-in silently on your computer or a remote computer.
To install the Package for the Web Bundle of UFT One silently, see Install UFT One from the Package for the Web Bundle.
Before running a silent installation
Before installing silently:
-
Review the Installation packages and the information in Before you install.
-
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 a UFT One installation package and extract it:
- Full UFT One DVD Release or Core UFT One DVD Bundle: You downloaded a .zip file and extracted it.
- Package for the Web Bundle: You downloaded a Setup.exe file and ran it to extract the package content.
Caution: Make sure that the installation files are extracted to an empty folder, at a location whose path does not exceed 80 characters.
Windows is limited to 260 characters in these files. The installation will fail if the file paths of the individual installation files are longer. In such cases, move the extracted installation files to a location with a shorter path.
Silent commands for installing UFT One prerequisites
Use the command syntaxes listed below to install UFT One prerequisites.
If you are installing only 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 and later, Microsoft no longer officially supports WSE.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
<UFT One Installation files>\Unified Functional Testing\EN\setup.exe /InstallOnlyPrerequisite /s
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
<UFT One Installation files>\prerequisites\dotnet48\ndp48-x86-x64-allos-enu.exe /q /norestart
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
UFT One 23.4: Install .NET 6.0.3 Desktop Runtime using the following commands:
<UFT One Installation files>\prerequisites\dotnet_desktop_runtime6_3\windowsdesktop-runtime-6.0.3-win-x86.exe /q /norestart
<UFT One Installation files>\prerequisites\dotnet_desktop_runtime6_3\windowsdesktop-runtime-6.0.3-win-x64.exe /q /norestart
UFT One 24.2: Install .NET 8 Desktop Runtime using the following commands:
<UFT One Installation files>\prerequisites\dotnet_desktop_runtime8_0\windowsdesktop-runtime-8.0.0-win-x86.exe /q /norestart
<UFT One Installation files>\prerequisites\dotnet_desktop_runtime8_0\windowsdesktop-runtime-8.0.0-win-x64.exe /q /norestart
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Install Microsoft Visual C++ 2022 Redistributable using one of the following commands:
<UFT One Installation files>\prerequisites\vc2022_redist_x86\vcredist_x86.exe /quiet /norestart
<UFT One Installation files>\prerequisites\vc2022_redist_x64\vcredist_x64.exe /quiet /norestart
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
<UFT One Installation files>\prerequisites\msade2016\AccessDatabaseEngine.exe /quiet
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Download the .msi from Marketplace and run the following command.
MicrosoftWSE2.0SP3Runtime.msi /quiet /norestart ALLUSERS=1
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Download the .msi from Marketplace and run the following command.
MicrosoftWSE3.0Runtime.msi /quiet /norestart ALLUSERS=1
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
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
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Install the following prerequisites on your machine when installing only the UFT One Add-in for ALM or the UFT One Run Results Viewer:
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
The following features and add-ins are installed by default:
-
Runtime Engine
-
UI Designer and IDE
-
Run Results Viewer
-
Samples
-
AI Object Detection (UFT One 23.4: AI Features)
-
ABBYY OCR Engine
Note: If you downloaded the Core UFT One DVD Bundle, the ABBYY OCR Engine feature is not installed by default. For details, see Installation packages.
-
Add-ins:
-
ActiveX Add-in
-
Visual Basic Add-in
-
Web Add-in
-
If you want to customize which features are installed, see UFT One silent installation: Include specific UFT One features.
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"
UFT One silent installation: Include specific UFT One features
By default, the silent installation command installs UFT One with default features and add-ins, as described in Default features and add-ins.
To specify which features and add-ins to include in the installation, add the ADDLOCAL MSI property to the silent installation command. In the ADDLOCAL property's list of features, specify what to include in the installation by using the values described below.
Note:
-
When using the ADDLOCAL property, you must include the Core_Components feature, which installs the Runtime Engine.
- Values must be separated by commas and must not contain spaces.
- When installing a feature using the ADDLOCAL property, its parent always is installed as well.
The following examples show the syntax of the ADDLOCAL property and its associated features.
This example uses the ADDLOCAL property to install the 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
This example uses the ADDLOCAL property to perform 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>">"
This example uses the ADDLOCAL property to perform 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:
- ADDLOCAL values for UFT One features
- ADDLOCAL values for UFT One Add-ins
- ADDLOCAL values for UFT Developer components
ADDLOCAL values for UFT One features
Value | Description |
---|---|
Core_Components | (Mandatory) Installs the UFT One Runtime Engine. |
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. Note: UFT One Add-in for ALM is installed with the same user interface language as UFT One. |
AIServices |
Enables you to use AI Object Detection and AI-based testing in UFT One. Prerequisites: Make sure you have the following installed.
|
Abbyy_OCR |
Enables you to use ABBYY OCR text recognition in UFT One. Note: The Core UFT One DVD Bundle does not include the ABBYY OCR Engine files. If you downloaded that installation package and then you want to install the ABBYY OCR Engine feature, do the following:
|
ADDLOCAL values for UFT One Add-ins
Use these values in the ADDLOCAL property's list of features to install various UFT One add-ins:
- ActiveX_Add_in
-
Visual_Basic_Add_in
-
Web_Add_in
-
Delphi_Add_in
-
Flex_Add_in (No longer supported by default)
-
Java_Add_in
-
_Net_Add_in
-
Silverlight_Add_in (No longer supported by default)
-
WPF_Add_in
-
Oracle_Add_in
-
PDF_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
If you plan to use the Web 2.0 Add-ins, you must install the Web Add-in as well. To install Web 2.0 Add-ins, see Install Web 2.0 Add-ins.
ADDLOCAL values for UFT Developer components
Value | Description |
---|---|
UFTDeveloper_Engine | Installs the UFT Developer run-time engine. |
UFTDeveloper_Client | Installs the UFT Developer client. |
Vs2013Addin
Vs2015Addin Vs2017Addin Vs2019Addin Vs2022Addin |
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. |
UFT One silent installation: Set UFT One configuration options
This section lists the silent installation properties to use for the installation configuration options described in UFT One Configuration screen.
Configuration option | Property to add to the installation 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. |
IMPROVEMENTPROGRAM=0 | (Optional) Instructs the silent installation to deactivate usage data collection for the UFT One improvement program. For details, see UFT One improvement program. |
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 syntax in your silent installation command:
ALLOW_RUN_FROM_ALM=1 ALLOW_RUN_FROM_SCRIPTS=1
UFT One silent installation: Additional command properties
This section lists additional properties that you can use in the UFT One silent installation command:
Command / Argument |
Description |
---|---|
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 if you provided a license ID) The name or IP address of the license server to specify when installing UFT One licenses. |
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. |
MsiFlags |
(Optional) Any MSI options, flags, and other instructions that are not included in the MsiProperties arguments, such as logging commands. |
UFT One silent installation: 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. The property value you use determines the language of the localized UFT One.
Make sure to use the property value that matches your operating system language, otherwise UFT One is installed in English.
OS Language | Value for the PRODUCT_LOCALE property |
---|---|
Chinese | "CHS" |
French | "FRA" |
German | "DEU" |
Japanese | "JPN" |
The following example installs the Chinese version of UFT One and uses the ADDLOCAL property to install 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>"
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, which requires a separate installation.
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 values for the Web 2.0 Add-ins you need.
Install a standalone UFT One Add-in for ALM
To install the UFT One Add-in for ALM without installing UFT One, run the standalone ALM plugin MSI file.
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\Unified_Functional_Add-in_for_ALM.msi" /qn
You can install the Add-in for ALM in the language of your operating system by adding the PRODUCT_LOCALE property to the msiexec command. For details on the PRODUCT_LOCALE property, see UFT One silent installation: Install localized versions of UFT One.
Next steps: