License GRE from the command line (via internet)

You can license a Genero Report Engine (GRE) product using the command line tool, greWrt.

Internet is required

Before you begin: Internet access is required to activate the license; a temporary installation does not require internet.

Important:

If your installation directory is in the C:\Program Files path, you must run as administrator when you license the product. This avoids any permission issues.

Tip:

Run the envgre script before starting. This ensures that the installation environment for Genero Report Engine is set.

Which procedure should I follow?

To install your license, you must have either a license string, or you must have your license number, license key, and your customer login.

If you are not provided with a license string, you can generate a license string from your license number, license key, maintenance key, and login. For instructions on how to generate a license string, see Encode a license string.

Install using a license string

  1. Start the command line interface.
    Open a command prompt.
    • On Linux®/UNIX®/macOS™, open a command prompt. "sudo" may be required.
    • On Windows®, open the Command Prompt from the Start menu .
  2. Install license for your Genero product .
    Type the command greWrt --install-license-string license-string auto

    For this command you need a license string. This command validates the license with Four Js over the internet.

    The installation of the license is complete.

Install using a license number and key

  1. Start the command line interface.
    Open a command prompt.
    • On Linux/UNIX/macOS, open a command prompt. "sudo" may be required.
    • On Windows, open the Command Prompt from the Start menu .
  2. At the command line, enter:
    greWrt -l
  3. When prompted, enter the license number.
  4. When prompted, enter the license key.
  5. At the prompt:
    Do you want to continue using HTTP ? (y/n)
    Enter: y
  6. When prompted, enter your customer code:
    Enter your customer code > 
  7. At the following prompt:
    Do you need to configure an HTTP proxy ? (y/n)
    Enter y if your access to the internet is through a proxy. Provide the required information for HTTP proxy, port, and authentication when prompted. Otherwise, enter n.
    Figure: Installing and registering a license via HTTP with greWrt

    Image shows installation of license using the greWrt command and taking the option for automatic registration of license over the internet
    License installation is now completed.