Install GRE on Windows platforms using the MSI installer

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

The installation and licensing of Genero products requires you to read and accept the End User License Agreement, which can be found on the Four Js website at http://4js.com/end-user-license-agreements/.

MSI installer

The GRE installer uses MSI technology. To be compliant with Microsoft® User Access Control (UAC) requirements, the msi file is embedded inside an exe file. You can extract the msi file from the exe file using the /x option:

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

Example:

c:\fjs-gre-3.10.05-build156498-w64v140.exe /x

This creates a msi file with the same name.

Install and uninstall in silent mode

To install and uninstall GRE in silent mode, you can use the msiexec command line utility. The msiexec utility provides the means to install, modify, and perform operations on Windows Installer from the command line.

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

The following options for msiexec are the most common options regarding installation and uninstallation. Enter msiexec from the command prompt to view the complete list of available options.

msiexec /qn - Quiet mode with no UI

/i fjs-gre-version-build-osident.msi - Install the specified msi package

/x fjs-gre-version-build-osident.msi - Uninstall the specified msi package

/log logfile - Log to the specified log file

/l*vx logfile - Provide verbose (detailed) logs in the specified log file

Arguments

You can pass arguments to the msiexec installer on the command line.
Table 1. Arguments for the msiexec installer
Argument Description
PRODUCTDIR=your_gredir_path The path where GRE will be installed. It is an alias of GDCDIR 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|GRE,GDCFILEASSOCGDC] Set the features to install.
  • ALL (default): Install GRE (mandatory) and .gre file association
  • GRE: Install GRE only
  • GRE, GDCFILEASSOCGDC: Same as ALL
FORCEREMOVEPRODUCTDIR=YES On uninstall, remove the PRODUCTDIR location, even if it is not empty. Default value: "" (empty string)
  • YES = Force removal of PRODUCTDIR
  • Any other entry = Keep files in PRODUCTDIR
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-gst-3.10.05-build156498-alpha-w64v140.msi /l*vx gre.log GREDIR=D:\gre3.10 STARTMENUFOLDER="Four Js Genero Report Engine 3.10.05 (64 bits)"