Install Genero Report Engine

These topics relate to the installation of the Genero Report Engine.

Installation can vary depending on the host operating system. Ensure you follow the installation instructions for your host operating system.

If you do not have a valid maintenance key for Genero, you must License Genero Report Engine (GRE).

System requirements

For details about system requirements, refer to the Supported platforms and databases document (available on the Download page of the Four Js Web site) or contact your support center.

Important: The binary format of the GRE must match the binary format of the JVM. For example, a 64-bit GRE requires a 64-bit JVM.

Install GRE on UNIX platforms

Follow these steps to install Genero Report Engine on Gnu/Linux® and UNIX™.

Important: Before installation on Linux systems, verify the libxcb libraries are installed.
  1. Type the following command to start the installation:

    $ sh fjs-gre-version-buildYYYYMMDDhhmm-osident.run

    Example:

    $ sh fjs-gre-4.00.00-build202006051403-h64i112.run

  2. Follow the instructions provided on the screen.

When installation is complete, see Report Writer in the Genero Studio User Guide for configuration information and instructions.

Install Genero Report Engine on UNIX platforms in silent mode

Install Genero Report Engine silently on Gnu/Linux and UNIX platforms.

To start the installation, type the following:

./fjs-gre-version-buildYYYYMMDDhhmm-osident.run -a -q -t install_dir

For example:

./fjs-gre-4.00.00-build202006051403-h64i112.run -a -q -t $PWD/fjs-gre-4.00

Options

Table 1 shows the most common options relating to installation.

Table 1. UNIX install options
Install option Description
-a or --accept Bypass the display and the prompt for acceptance of the license agreement. Using the -a option indicates that you have read and accepted the End User License Agreement contained in the .txt files (in the license directory of the install directory).
-h or --help Display help about all possible options.
-q or --quiet Silent mode with no UI. If -q is not specified, the interactive installer is used.

-f backup|overwrite|remove or

--force backup|overwrite|remove

Specify what happens if the installation directory already exists:
  • backup: Back up the installation directory.
  • overwrite: Overwrite installation file.
  • remove: Delete installation directory before installing.

-t install_dir or

--target install_dir

Install the product in the specified target directory. If -t is not specified, the default installation is used.

Install GRE on Windows

Follow these steps to install the Genero Report Engine on Windows®.

Important: If your installation directory is in the C:\Program Files path, you must run as administrator when you license the product. This avoids any permission issues.
  1. Execute the installation package to start the Setup Wizard.

    fjs-gre-version-build-osident.exe

    Example:

    fjs-gre-4.00.00-build202006171111-w64v141.exe

  2. Follow the instructions provided online.
    The installation completes and the install wizard closes.

When installation is complete, see Report Writer in the Genero Studio User Guide for configuration information and instructions.

Install GRE on Windows in silent mode

Install Genero Report Engine on Windows platforms using the MSI installer.

Important: Before you install the GRE, you must install the Java Runtime Engine (JRE).

The msiexec utility provides the means to install, modify, and perform operations on Windows Installer from the command line. The /qn option allows you to install in silent mode. The msiexec utility expects an msi file. To be compliant with Microsoft® User Access Control (UAC) requirements, the msi file is embedded inside an exe file. To extract the msi file from the exe file, use the /x option:

c:\fjs-gre-version-build-osident.exe /x

For example:

c:\fjs-gre-3.20.06-build166789-w32v141.exe /x

A msi file is created in the same directory and with the same name as the exe file.

Options

Table 2 shows the most common options for msiexec relating to installation and un-installation.

Table 2. msiexec install and uninstall options
msiexec option Description
/qn Silent mode with no UI. If /qn is not specified, the graphical installer is used.
/i package-name.msi Install the specified msi package.
/x package-name.msi Uninstall the specified msi package.
/log logfile Write processing info to the specified log file.
/l*vx logfile Provide verbose (detailed) logs in the specified log file

Enter msiexec from the command prompt to view the complete list of available options.

Arguments

You can pass arguments to the msiexec installer on the command line.

Table 3. Arguments for the msiexec installer
Argument Description
PRODUCTDIR=your_gredir_path The path where GRE will be installed. It is an alias of GREDIR variable.
GREDIR=your_gredir_path The path where GRE will be installed. It is an alias of the PRODUCTDIR variable.
STARTMENUFOLDER=your_startmenufolder_path Customize the location for the shortcuts in the startmenu. For example, "fjs\gre".
ADDLOCAL=[ALL|GRE] Set the features to install.
  • ALL (default): Install GRE (mandatory) and .gre file association
  • GRE: Install GRE only
FORCEREMOVEPRODUCTDIR=YES On uninstall, force the removal of the PRODUCTDIR directory, even if it is not empty. For any value other than YES, keep the files in the PRODUCTDIR location. Default value: "".
Note: Quotes are only required around the argument value when a space character is in the value string.

Example

The following commands install the JRE and the GRE silently:

msiexec /qn /i fjs-gre-3.20.05-build156498-alpha-w64v140.msi /l*vx gre.log GREDIR=D:\gre3.20 STARTMENUFOLDER="Four Js Genero Report Engine 3.20.05 (64 bits)"

Install GRE on macOS

Follow these steps to install the Genero Report Engine on macOS™.

Before you begin

You need a macOS and an user account which has administrator access level.

Download the installation package for the macOS .

You must have Java installed. You will be asked to provide the Java directory as part of the installation.

If you plan to license the GRE during the installation process, ensure you have the license number, license key, and maintenance number available.

About this task

Follow these instructions to install the Genero Report Engine on macOS.

  1. Determine the directory where you will install the product.
    The wizard will eventually suggest /opt/fourjs/gre. If you plan to use this default, ensure you have write permission to this directory.
  2. Log in as a user with permission to write to the directory in which you plan to install this product.
  3. Copy the self-extractable file into a temporary directory.
  4. From a command prompt, run the self-extractable shell script with the -i option:
    sh fjs-gre-4.xx.xx-buildxxxxxx-m64x1011.run -i
    Note: The "x" entries in the file name example above must use the actual numbers of the downloaded file!
  5. Follow the instructions displayed.
    Tip: After you have read the licensing agreement, press "q" to return to the instructions and prompts.
    At some point in the instructions, you will be asked whether you wish to provide the licensing details for the Genero Report Engine. If you skip this step during the installation, you can always go back later to provide the licensing details.
What to do next

When installation is complete, see the Genero Studio User Guide for configuration information and instructions.