Install a local license from the command line

You can license the Genero Report Writer from the command line using the licence controller program.

Different licence controller programs are used for both Genero Report Writer for Java, C# and PHP and Genero Report Engine. The licence controller appropriate for your product is provided in the product package.
Genero product Licence controller
Genero Report Writer for Java, C# and PHP grXwrt
Genero Report Engine greWrt
Before you begin: Before you begin:
  • You must have a valid license number and license key.
  • Your Genero environment must be set:
    • GREDIR must be set to the Genero Report Writer installation directory.
    • PATH must include GREDIR/bin.
  • To register the license automatically, you must have internet access.
  1. Run the license controller with the command to install the license:
    • To license Genero Report Writer for Java, C# and PHP with a local license, run the following command:

      grxWrt -l

    • To license GRE with a local license, run the following command:

      greWrt -l

  2. At the prompts, enter your license number and license key. An installation number is generated.
    Note: You have 30 days to register the installation number and obtain an installation key.

Register the license automatically

  1. If you have internet access from the machine you are installing the license, at the prompt:

    Do you want to obtain the installation key using http ? (y/n)

    enter: y The installation key is retrieved automatically from the Four Js Activation server.
    Note: Licensing can be completed by installing the maintenance key.

Registering the license manually

If you do not have internet access, follow the procedure to register the license in Register a local Genero Report Writer license, and then continue with the installation procedure described in Install the installation key.
Note: Until registration is completed:
  • Your Genero product has a temporary license, which means that all product features are available for use for 30 days.
  • You also have 30 days to fully complete the license installation.