8.5.3 Install from the Command Line

You can use the Setup program command line to install Reflection X Advantage from the distribution image, or from an administrative installation image. You can also include command-line options in a batch file to preset installation parameters, and limit user interaction while Reflection X Advantage is installing. You can even suppress installation dialog boxes to provide an unattended installation.

In addition, you can use command-line options to prepare Reflection X Advantage for installation by users. In general, any of the MSI command-line options can be used from the Setup program command line.

To install from the command line

  • At the command prompt or the Start menu Run command, change to the directory in which the setup.exe file resides, and do one of the following:

    • To create an administrative installation image, type:

      setup.exe /install /admin TARGETDIR=path

      where path is the path to the administrative installation image on the server.

      -or-

    • To install to a workstation with typical settings, type:

      setup.exe /install INSTALLDIR=path

      where path is the path to the installation directory (INSTALLDIR=path is optional).

NOTE:To view a list of the command-line options for customizing installations, change to the directory in which the setup.exe file resides and enter:

setup.exe /? 

To install directly with MSI

  • At the command prompt or Start menu Run command, change to the directory in which the msi file resides and enter:
  • msiexec.exe /i installation_file_name. msi

Handling prerequisites in command line installs

If you use setup.exe for your install, the setup program checks for any prerequisites required by the features you have selected and installs them automatically.

If you use msiexec.exe for your install, prerequisites are notinstalled automatically. You need to install them separately if they are not already on your users' workstations. You can find installers for Reflection X Advantage prerequisites in the Prerequisites folder in the distribution media, or in your administrative installation. The prerequisites you need to install depend on which programs and features you are installing:

  • All Reflection Workspace features require Microsoft .NET Framework 4.7.1. If you attempt an install using msiexec.exe and this prerequisite is not found, a message displays and the installer stops. To install the .NET framework, run the executable file in Prerequisites\DotNet471.

  • The Visual Basic for Applications feature requires Microsoft VBA 7.1. Use the core and language-specific *.msi packages in the Prerequisites\VB71 folder.

  • All Reflection X Advantage features require a Java Runtime Environment (JRE). Use MicroFocusJava.msi in the Prerequisites\JDK folder to install the JRE. If you install using msiexec.exe without installing this prerequisite, the install will run, but Reflection X Advantage applications will fail to run unless you have configured an alternate JRE.

Handling upgrades in command line installs

If you are upgrading a previous version of Reflection, the prior version must be uninstalled before you can install the current version.

If you use setup.exe for your install, the setup program checks for a previous versions of Reflection and uninstalls it automatically if one is found.

If you use msiexec.exe for your install, you must first manually uninstall any earlier versions. If you upgrade these products by deploying the .msi file directly and have not removed the earlier version, a message displays telling you to uninstall the older software first.