License Controller (greWrt)
The greWrt command line tool is used to install, upgrade, or delete Genero Report Engine and Genero Report Writer licenses. There are also options to provide various types of license information and statistics.
Syntax
greWrt {
import-license
[
import-options ]
|
[
options ]
}
Option | Description |
---|---|
-h or --help |
Displays options for the tool. |
-V or -version |
Displays version information. |
--short-version |
Displays short version information. |
-L
license
license_key
|
Installs a temporary license (requires license number and license key). For example, you
can install an existing license on a new server on a temporary basis for 30 days.
In that time, you validate the license with Four Js and install the Installation
key ( |
--install-license-string
license-string
|
Install a license or update an installed license using the provided license string. If |
-l license
license_key
|
Installs a license. To escape when prompted to enter a
license number and license key, type " |
-m option |
Maintenance key installation, possible options are:
|
-u |
Check for active users. |
-k option |
Installation key for license validation, possible options are:
|
-d |
Remove current installed license. |
--decode-license-string
license-string
|
Decode the license string and write the license string information to the standard out. |
--encode-license-string |
Encode license information into a license string that is written to the standard out. |
-i |
Clears the list of registered user sessions. |
-a option |
Check or view options. Here option can be one of the following:
|
-x or -kill-session
pid |
Clears the session referenced by the specified pid. |
--batch
action=command |
Performs the specified action in
batch mode. Here command can be one of the
following:
|
--batch-console
action=command |
Opens greWrt in
console mode for the batch commands.
The
output is JSON formatted. You can enable / disable indentation on
the output. The default is indented. To quit the console type
exit . Type help for
instructions on its use. |
--log-rotate |
Force log rotation. You can force a log rotation even while log files are in use. |
Option | Description |
---|---|
-h or --help |
Display help for the command. |
--from
installation_directory |
Specify the product installation directory the license is to be moved from. |
--license license_num
|
Specify the license number if |
Usage
The greWrt is the command line tool you use to administer licensing:
- Use the greWrt -a info license command to get license information.
- Use the greWrt -l command to install licenses.
greWrt -L # install a temporary license
greWrt -l # install a license
greWrt -k # install an installation key
greWrt -m # install a maintenance or subscription key
greWrt -d # delete a license
greWrt --install-license-string
- If the commands above are run with the
--batch
option, the UAC prompt is raised too. greWrt import-license
If you need to disable the UAC prompt, you can set the environment
variable FLM_BYPASS_UAC=1
. Be aware that with the UAC prompt disabled, you will need to
open a terminal with "Run as Administrator" to run commands that need
administrator privileges.