License GRE from the command line (no internet)

Without internet access, you register the license with Four Js from another machine via the internet, or by phone. Then use the greWrt command line tool to license your Genero Report Engine (GRE) product.

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. For further information, see Installation conventions.
  1. Install license using license string.
    Type the command greWrt --install-license-string license-string
    Important: This step involves a license string. 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 create a license string, see Encode a license string.

    The license is installed in temporary mode.
    Note: The license number and an installation number is displayed in the output. The installation number is needed for registering the license.
  2. To register the license, go to the License your products page on the Four Js web site. See the procedure described in Register license on Four Js website.

    When your license is registered, you have the installation key.

  3. Activate the license:
    1. Type greWrt -k license-number
    2. At the prompt:
      Enter the installation KEY (call your vendor to obtain it)
      Enter the installation key.
    License installation is now completed.

If you do not have a license string, you can alternatively license using the license number and license key. Follow these steps.

  1. At the command line, enter:
    greWrt -l
  2. When prompted, enter the license number.
  3. When prompted, enter the license key.
    An installation number is generated and is displayed in the output.
  4. At the prompt:
    Do you want to continue using HTTP ? (y/n)  
    Enter: n
  5. At the prompt:
    Enter your maintenance KEY (Empty to continue) > 
    Enter the maintenance key.

Register the license

  1. To register the license, go to the License your products page on the Four Js web site. See the procedure described in Register license on Four Js website.

    When your license is registered, you have the installation key.

  2. At the prompt:
    Enter the installation KEY (call your vendor to obtain it) >
    Enter the installation key.
    Figure: Installing license with greWrt

    Screenshot of installation of license using the greWrt -l command, output explains how to get the installation key and complete licensing.

    License installation is now completed.