Import license from Genero installation

Import a license from a Genero installation.

For example, if you have a Genero 3.21 product installation license (FLM 6) and you want to move it to another Genero 3.21 product installation (FLM 6), the fglWrt import-license command can be used to perform this task.

  1. 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. Type the command to change to your Genero installation directory. This is the target installation where you want the license moved to.
    cd /opt/fourjs/myfglgws
  3. Set the environment using the envcomp file.

    On UNIX (using sh as shell script):

    ./envcomp

    On Windows:

    envcomp.bat
  4. Type the command to import the license.
    fglWrt import-license --from /opt/fourjs/fglgws
    Where in the --from option you specify the source directory containing the license.

    Messages resulting from the analysis of the source and target installations are written to the standard output. Messages are also written to a log file specified in the output.

    If the operation fails, a message that relates to the failure should be self-explanatory. The move-license.log log file can be accessed at the target installation directory, for example, /opt/fourjs/myfglgws/etc

  5. Test your license move.
    Use the command fglWrt -a info to output the license information. Entries are written to stdout; it should now include the imported license.
    Details about the license are shown.