# Install LeanFT for Windows

This section includes instructions for installing LeanFT on Windows.

In this topic:

## Manual installation

Download the LeanFT installation file and install LeanFT on your machine:

1. Make sure your machine meets the installation Prerequisites before you start, otherwise the installation will fail.

2. 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 and download the installation file for Windows.

3. 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. Select the IDEs on which to install the LeanFT plugin: Eclipse/Spring Tool Suite/JBoss Developer Studio: A path field is displayed. Click Change to browse to the folder where your IDE is deployed. The LeanFT installation can install the LeanFT plugin only on one of the Eclipse/Spring Tool Suite/JBoss Developer Studio IDEs. Accordingly, you can enter only one IDE path for this option. 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 the IDEs you selected, and LeanFT project templates are available when creating a new project 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.

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

Back to top

## Silent installation

1. Make sure your machine meets the installation Prerequisites before you start, otherwise the installation will fail.

2. 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 and download the installation file for Windows.

3. Restart the machine.

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>`
Components | `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 `RegEclipse` IntelliJ IDEA plugin `RegIntelliJ` Note: You must include installation paths for Eclipse, Spring Tool Suite, and JBoss Developer Studio. 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 `RegAndroidStudio`

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
32-bit | <extracted setup folder>\prerequisites\dotnet45\dotnetfx45_full_x86_x64.exe /q /norestart
64-bit | <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
64-bit | <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
64-bit | <extracted setup folder>\prerequisites\vc2012_redist_x64\vcredist_x64.exe /quiet /norestart
Microsoft Visual C++ 2010 Redistributable
32-bit | <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
32-bit | <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

Components

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

## Default LeanFT installation location on Windows

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

Back to top

See also:

- Maintaining and uninstalling LeanFT

https://admhelp.microfocus.com LeanFT 8942
Tips to improve your search results...TOC Lean Functional Testing Help Center LeanFT Help Center 14.50 - 14.53 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version:(Undefined variable: _rscC_Basic_Variables.FloatingTocShow)