Administrators interested in automating deployment of FlexTerm to groups of user desktops should use the information below to assist. This is very useful when login scripts, Microsoft System Center Configuration Manager (SCCM), or any deployment tool is used to perform "push" installations of the software.


Extract MSI From Downloaded EXE

The downloaded FlexTerm installation is a 32-bit or 64-bit self-extracting zipped executable file, which contains a Microsoft Windows Installer (*.msi) package. To perform an automated, unattended or silent install, it is recommended to extract the MSI package to use for this purpose.


Use one of the following methods to perform the extraction:


    1. Use an archive/zip program such as 7-Zip or WinZip to open the FlexTerm_64bit.exe or FlexTerm_32-bit.exe file and extract the Flex.msi file.

    2. Use a Windows command prompt with elevated permissions (Run as administrator) to extract Flex.msi. For example, use the following command to extract the MSI from the 64-bit executable located on the current user's desktop:

      %USERPROFILE%\Desktop\FlexTerm_64bit.exe /T:"%USERPROFILE%\Desktop\" /C


Command Line Install

Due to Windows security settings, you must use a Windows command prompt with elevated permissions (Run as administrator). Failure to do so will result in a failed installation, without notification from the operating system.


Follow the steps below to perform a command line install:


    1. Type "cmd" in the Windows Search input box found next to the Start menu (assumes Windows 10 device; this step may vary for other operating systems).


    1. Right-click Command Prompt and select Run as administrator.


    1. Issue one of the following commands as an administrator to install FlexTerm:

      • Automatic installation:

        msiexec.exe /qb /i "\\ServerName\ShareName\Flex.msi" PIDKEY="XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX"


      • Silent installation:

        msiexec.exe /qn /i "\\ServerName\ShareName\Flex.msi" PIDKEY="XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX"

        Where XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX is the license code provided by FlexSoftware.


Additional Command Line Parameters

The following parameters are also available when using a command line to install FlexTerm:


    • INSTALLDIR
      Specifies the location for the FlexTerm installation files, for example:

      INSTALLDIR="C:\Program Files\FlexInstall\"


    • USERFILEDIR
      Specifies the location for the FlexTerm user directory where all configuration files are stored, for example:

      USERFILEDIR="%USERPROFILE%\Documents\FlexUser\"


For additional information on msiexec.exe command line parameters, please see the Microsoft Knowledge Base article on this topic found here:


https://msdn.microsoft.com/en-us/library/windows/desktop/aa367988(v=vs.85).aspx