Install Genero Report Engine |
Install Genero Report Engine on Windows® platforms using the 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-2.50.03-build4949-w32v100.exe /x
This creates a msi file with the same name.
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
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.
|
ALLUSERS=1 | Perform a per machine installation (All Users). If not specified, it will perform a per user installation (Current User) |
FORCEREMOVEPRODUCTDIR=YES | On uninstall, remove the PRODUCTDIR location, even if it is not
empty. Default value: "" (empty string)
|
The following commands install the JRE and the GRE silently:
jre8u102windowsx64.exe INSTALL_SILENT=Enable INSTALLDIR="C:\Program Files\Java\jre1.8.0_102" STATIC=1 AUTO_UPDATE=Disable SPONSORS=Disable msiexec /qn /i fjsgre2.50.18build141868w64v100.msi /l*vx gre.log GREDIR=D:\gre2.50 STARTMENUFOLDER="Four Js Genero Report Engine 2.50.18 (64 bits)"