Install LeanFT for Windows

This section includes instructions for installing LeanFT on Windows.

By default, LeanFT is installed in C:\Program Files (x86)\Micro Focus\LeanFT.

Download the installation file

Download the LeanFT installation file to the machine where you plan to install LeanFT:

  1. Log into Micro Focus SaaS. If you do not have an account, create one.
  2. Go to the LeanFT download page.
  3. Download the installation file for Windows.

  4. Continue with Manual installation or Silent installation.

Back to top

Manual installation

  1. Download the installation file. See Download the installation file.
  2. Run the installation file, and follow the on-screen instructions.

    On the Custom Setup page, select an installation mode:

    Mode For computers where you plan to...
    LeanFT runtime engine only

    Run existing LeanFT tests without modifying them.

    Full installation

    Develop and run LeanFT tests.

    • Eclipse or Spring Tool Suite, a path field is displayed.  Click Change to browse to the folder where your Eclipse or Spring Tool Suite IDE is deployed.

    • IntelliJ IDEA: If you have multiple versions of IntelliJ IDEA, click Select versions to select the version where you want to install the LeanFT plugin.

    When the full installation is complete, a LeanFT menu is added to your IDE, and LeanFT project templates are available in the IDE.

    Note: If you run the Full installation, but do not select any IDEs for the LeanFT plugin, the LeanFT SDKs are still installed in <LeanFT installation>\SDK.

  3. Restart the machine, and then continue with Post installation.

Back to top

Silent installation

  1. Prerequisites for silent installation:

    • Administrator permissions

    • Node.js 8.9.4 or later must be installed

      Caution: If Node.js is not installed, the silent installation will fail.

  2. Download the installation file. See Download the installation file.

  3. Restart the machine where you plan to install LeanFT.

  4. From the command line, change to the directory where you downloaded the installation file.

  5. Run the following commands to extract the setup file.

    \<LeanFTVersionSetupfile>.exe -y -ExecuteFile=""

  6. Run the relevant commands.

    Full silent installation commands

    Customized silent installation commands

  7. When the installation is complete, restart the machine, and continue with Post installation.

Full silent installation commands

Installation Command
LeanFT default installation (including the prerequisite software) <extracted setup folder>\setup.exe /s

Note: When you use the setup.exe /s command, there is no visual indication of the installation progress. To verify completion, monitor the process in the Windows Task Manager or check the installation log file.

You can also append the following:

Functional Testing concurrent license server LICSVR=<server name or IP>

ADDLOCAL=<component name>, where <component name> is one or more of the following, separated by commas:

  • LeanFT runtime engine: LeanFT_Engine

  • LeanFTClient (SDK): LeanFT_Client
  • Visual Studio 2012, 2013, 2015 plugin:

    RegVS2012, RegVS2013, RegVS2015

  • Eclipse plugin


  • IntelliJ IDEA plugin


    Note: You must include installation paths for Eclipse and Spring Tool Suite. For IntelliJ IDEA, you need to provide the paths only if you have more than one IDE installed.

    ( ECLIPSE_INSTALLDIR=<path>, INTELLIJ_INSTALLDIRS=<path1>,<path2>,...,<path-n>) after the ADDLOCAL attribute. See the example below.

  • Android Studio plugin


Example of a full silent installation

The following command:

  • Installs prerequisites
  • Installs the LeanFT runtime engine and client
  • Installs the LeanFT plugin on Visual Studio 2012, Eclipse, and on 2 versions of IntelliJ IDEA, in the specified folders
  • Generates an installation log

c:\Temp\LeanFT\setup.exe /s ADDLOCAL=LeanFT_Engine,LeanFT_Client,RegVS2012,RegEclipse,RegIntelliJ ECLIPSE_INSTALLDIR=c:\eclipse, INTELLIJ_INSTALLDIRS=c:\intellij14,c:\intellij15 /l*xv %TEMP%\LeanFTinstall.log

Customized silent installation commands

Alternatively, you can use any of the following to install specific elements of the installation silently.

LeanFT default installation, excluding prerequisites

The following command runs the LeanFT default installation, excluding the prerequisites. A log is produced at the end of the installation.

32-bit msiexec /i "<extracted setup folder>\LeanFT_x86.msi" /qb /l*xv %TEMP%\LeanFTinstall.log
64-bit msiexec /i "<extracted setup folder>\LeanFT_x64.msi" /qb /l*xv %TEMP%\LeanFTinstall.log

Note: When you use msiexec /qb, a progress bar displays during the installation.

Prerequisite product silent installation commands

.NET Framework 4.5

<extracted setup folder>\prerequisites\dotnet45\dotnetfx45_full_x86_x64.exe /q /norestart


<extracted setup folder>\prerequisites\dotnet45\dotnetfx45_full_x86_x64.exe /q /norestart

Microsoft Visual C++ 2015 Redistributable
32-bit <extracted setup folder>\prerequisites\vc2015_redist_x86\vcredist_x86.exe /quiet /norestart

<extracted setup folder>\prerequisites\vc2015_redist_x64\vcredist_x64.exe /quiet /norestart

Microsoft Visual C++ 2012 Redistributable
32-bit <extracted setup folder>\prerequisites\vc2012_redist_x86\vcredist_x86.exe /quiet /norestart

<extracted setup folder>\prerequisites\vc2012_redist_x64\vcredist_x64.exe /quiet /norestart

Microsoft Visual C++ 2010 Redistributable

<extracted setup folder>\prerequisites\vc2010_redist\vcredist_x86.exe /quiet /norestart

64-bit <extracted setup folder>\prerequisites\vc2010_x64_redist\vcredist_x64.exe /quiet /norestart
Microsoft Visual C++ 2008 Redistributable v 9030729

<extracted setup folder>\prerequisites\vc2008_sp1_redist_V9030729\vcredist_x86.exe /quiet /norestart

Install all LeanFT prerequisites
32-bit <extracted setup folder>\setup.exe /InstallOnlyPrerequisite /s
64-bit <extracted setup folder>\setup.exe /InstallOnlyPrerequisite /s


To install components, append the LICSVR and ADDLOCAL commands to the msiexec command, as described in Full silent installation commands.

Example of customized silent installation

msiexec /qb /i c:\temp\leanft\leanft_x64.msi ADDLOCAL=LeanFT_Engine,LeanFT_Client,RegVS2013,RegEclipse ECLIPSE_INSTALLDIR=C:\eclipse /norestart /l*xv C:\Users\ALM_UF~1\AppData\Local\Temp\LeanFTinstall.log

Back to top