Install GRE on Windows in silent mode
Install Genero Report Engine on Windows® platforms using the MSI installer.
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-grj-version-build-osident.exe /x
For example:
c:\fjs-grj-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 1 shows the most common options for msiexec relating to installation and un-installation.
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.
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.
|
FORCEREMOVEPRODUCTDIR=YES |
On uninstall, remove the PRODUCTDIR location, even if it is not empty.
Default value: "" (empty string)
|
Example
The following commands install the JRE and the GRE silently:
msiexec /qn /i fjs-grj-3.20.06-build156498-w64v140.msi /l*vx gre.log GREDIR=D:\grj3.20 STARTMENUFOLDER="Four Js Genero Report Engine 3.20.06 (64 bits)"