Install Four Js License Manager
To centralize licensing, install the Four Js License Manager. Four Js License Manager is a separate product, to be installed in a dedicated directory with its own configuration file.
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 https://4js.com/end-user-license-agreements/.
Installation can vary depending on the host operating system. Ensure you follow the installation instructions for your host operating system.
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.
FLM and Genero Report Writer compatibility
With Genero Report Writer 4.00 or greater, you must use Four Js License Manager (FLM) 6.00.
Upgrade the FLM without re-applying licenses
When you upgrade the Four Js license manager, you do not need to reinstall your existing licenses.
Patching a license controller
To make an older version of the Genero Dynamic Virtual Machine (DVM) and/or the Genero Report Engine compliant with the Four Js License Manager, or to use subscription licensing, you need to update the license controller.
To update the license controller to the latest version, download the operating system-appropriate version for your product from the Four Js web site.
If a license controller version is not available for your operating system and/or for assistance with a downloaded version, contact your Four Js support center for help.
- in the case of FGL, fglWrt and its shared library libwrtl.*
- in the case of GRE, greWrt and its shared library libwrtj.*
Genero product | Licence controller |
---|---|
Genero Enterprise | Four Js License Controller for BDL (fglWrt) |
Genero Report Engine | Four Js License Controller for GRE (greWrt) |
License controller versions
When patching a license controller, what version information do you need to examine when considering compatibility with the Four Js License Manager (FLM) and with the Dynamic Virtual Machine (DVM)?
The license controller (fglWrt or greWrt) works with the DVM and the FLM; the DVM does not know about the FLM, and the FLM does not know about the DVM.
The license controller and the FLM
To examine whether a version of the license controller works with a version of Four Js License Manager, start with the axiom:
license controller (fglWrt or greWrt) version = FLM version
If your license controller and FLM do not share the same version number, know that a license controller may require a minimum FLM version. If the FLM version is below the minimum version required by the license controller, an error is returned.
License Controller for BDL (fglWrt) | FLM minimum version |
---|---|
6.00.08 | 6.00.08 |
6.00.09 | 6.00.08 |
6.00.10 | 6.00.10 |
License Controller for GRE (greWrt) | FLM minimum version |
---|---|
6.00.08 | 6.00.08 |
6.00.09 | 6.00.08 |
6.00.10 | 6.00.10 |
FLM | License Controller for BDL (fglWrt) minimum version |
---|---|
6.00.08 | 6.00.08 |
6.00.10 | 6.00.10 |
If you encounter an issue regarding the versions installed, download and install the latest FLM, then patch (update) the license controller on all Genero BDL (FGLGWS) installations.
The license controller and the DVM
Release version | License Controller for BDL (fglWrt) minimum version |
---|---|
Genero BDL 4.00.03 | 6.00.08 |
Genero Evaluation Program (GEP) 4.00.03 | 6.00.09 |
In the Genero BDL package (FGLGWS), the license controller bundled is always compatible with the DVM in the same bundle. Attempts to downgrade the license controller may fail; however, an upgrade of the license controller is always allowed.
Version number commands
To find the version for the ... | Execute the command ... |
---|---|
license controller (fglWrt) | fglWrt -V |
license controller (greWrt) | greWrt -V |
Four Js License Manager (FLM) | flmprg -V |
DVM | fglrun -V |
Four Js License Manager packages
The Four Js License Manager (FLM) software is a self-extractable installation program.
On UNIX, the installation program is a shell script. On Windows, the installation file is an executable (exe) file.
A Four Js or Genero software package follows a specific naming convention:
fjs-product-version-build-osident.extension
where:
- product is the product identifier ("flm" for Four Js License Manager).
- version is the software release number.
- build is the software build number.
- osident is the operating system identifier.
- extension is the file extension: sh or run on UNIX platforms, exe on Windows platforms, and dmg or run on macOS platforms.
Launching the installation
Four Js License Manager can be installed on Windows, UNIX, or macOS platforms.
Be sure you are installing the correct binary files for your operating system. To do so, examine the installation package name, which includes the operating system brand name. For more information on the installation package name, refer to Four Js License Manager packages.
Install Four Js License Manager on UNIX platforms
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 https://4js.com/end-user-license-agreements/.
To display the installation options, run the installation command with the help
(-h
) option:
./fjs-flm-6.xx.xx-buildYYYYMMDDhhmm-osident.run
-h
For example:
./fjs-flm-6.00.12-build202209270907-l64xl217.run -h
When installation is complete, see for configuration information and instructions.
Install Four Js License Manager on UNIX platforms in silent mode
Install Four Js License Manager silently on GNU/Linux and UNIX platforms.
To start the installation, type the following:
./fjs-flm-version-buildYYYYMMDDhhmm-osident.run -a -q -t install_dir
For example:
./fjs-flm-5.20.17-build202005061204-l64xl25.run -a -q -t $PWD/fjs-flm-5.20.17
Options
Table 8 shows the options relating to installation.
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,
located on the Four Js website at http://4js.com/end-user-license-agreements/. |
-c or --check |
Check integrity of the archive and of bzip2/tar binaries embedded in this program. |
|
Specify what happens if the installation directory already exists:
|
-k or --keep |
Do not delete working directory when done. |
-l or --list |
Print the list of files in the archive. |
-h or --help |
Display help about all possible options. |
-i or --install |
Install the product. Important:
This option is not recommended. It is included only for backward compatibility. |
|
Display the license of the product. |
-n or --nocheck |
Escape the checksum test on the archive included in the installer. |
-q or --quiet |
Silent mode with no UI. If -q is not specified, the interactive installer is
used. |
-r or --root |
Allow the 'root' user to install the package. Important:
Installing as |
-V or --version |
Show the version number. |
|
Install the product in the specified target directory. If this option is not specified, the default installation is used. |
|
Specify the working directory. By default, a temporary directory is created in $TMPDIR or /tmp. |
-x or --extract |
Extract the contents of this program, but do not run fglgws-installer . This
option implies --keep . |
Install Four Js License Manager on Windows platforms
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 https://4js.com/end-user-license-agreements/.
When installation is complete, see for configuration information and instructions.
Install Four Js License Manager on Windows in silent mode
Install Four Js License Manager 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 https://4js.com/end-user-license-agreements/.
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:
fjs-product-version-build-osident.exe /x
For example:
fjs-flm-5.20.17-build202005061204-w64v141.exe /x
A msi file is created in the same directory and with the same name as the exe file.
Options
Table 9 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_flmdir_path |
The path where FLM will be installed. It is an alias of FLMDIR variable.
|
STARTMENUFOLDER=your_startmenufolder_path
|
Customize the location for the shortcuts in the startmenu. For example, "fjs\flm". |
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:
"" . |
FORCEINNONEMPTY=YES |
Force the installation of a folder, even if it is not empty. For any value other than
YES , do not allow installation into a non-empty folder. Default value:
"" . |
SERVICECONFIG=[NotToInstall|ServiceInstall|ServiceStart] |
Specify whether the service is installed.
|
Quotes are only required around the argument value when a space character is in the value string.
Installing the service (Windows only)
The installation wizard gives you the option of installing the Four Js License Manager as a service.
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 https://4js.com/end-user-license-agreements/.
flmprg --service-install
flmprg --service-start
On Windows you must run the command as administrator, it is not enough to simply have administrator permissions.
Install FLM on macOS
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 https://4js.com/end-user-license-agreements/.
You need a macOS and an user account which has administrator access level.
Download the installation package for the macOS .
Genero packages for Apple® Mac® and the macOS operating system are provided as x86 packages, which are designed to run on Intel® processors. Rosetta enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor. If you are using such a machine, you will be asked to install Rosetta the first time you install or open your Genero app. Rosetta works automatically in the background whenever you use an app that was built only for Mac computers with an Intel processor. It translates the app for use with Apple silicon. If Rosetta is already installed, you are not asked to install it again.
About this taskFollow these instructions to install the Four Js License Manager (FLM) on macOS.
When installation is complete, see for configuration information and instructions.
Setting the environment
Before starting the Four Js License Manager, the FLMDIR
and
PATH
environment variables must be set.
A script for setting the environment is created during the installation phase. Located in the
Four Js License Manager installation directory (FLMDIR
), this file is
named envflm on UNIX
platforms and envflm.bat on Windows platforms. By running this script file, the
following actions are performed.
On UNIX (using sh as shell script):
FLMDIR=/opt/fourjs/flm
export FLMDIR
PATH=$PATH:$FLMDIR/bin
export PATH
On Windows:
set FLMDIR=c:\fjs\flm
set PATH=%PATH%;%FLMDIR%\bin
Starting Four Js License Manager
To start the License Manager service, execute the following command:
flmprg -r
On Linux/UNIX, the License Manager runs as a daemon. On Windows, it runs as a service.
On Linux/UNIX systems, for security reasons, it is strongly recommended that the daemon be run as a non-privileged user (not root). To avoid issues with directory permissions, it is recommended that the non-privileged user should also add the licenses.
flmprg --service-start
On Windows you must run the command as administrator, it is not enough to simply have administrator permissions.
Stopping license manager
To stop the License Manager service, execute the following command:
flmprg -s
Alternatively, on Windows, you can also issue the following command:
flmprg --service-stop
On Windows you must run the command as administrator, it is not enough to simply have administrator permissions.