Runtime Distribution Licenses

From Lianjapedia
Jump to: navigation, search

Purchase a license

License Troubleshooter

Overview

Runtime distribution licenses for desktop clients are no longer required from Lianja 9.0.

In desktop applications running in Lianja 6.0 to Lianja 8.x, a runtime distribution license is needed for each client.

Desktop runtime licenses are included in the Lianja App Builder Professional Subscription (25 clients) and Lianja ISV Subscription (unlimited for ISV Apps). See here for additional details. Contact us to request runtime license product keys.

Desktop runtime licenses can also be purchased separately from the Lianja Online Store.

Activation

You can activate your license in several ways:

  1. When the user runs the application they will be prompted for the key.
  2. Add the --activate xxxx-xxxx-xxxx-xxxx-xxxx switch to the App Center shortcut or lianjaruntime command.
  3. In your code execute sys(-2, "xxxx-xxxx-xxxx-xxxx-xxxx"). Activating a second time will be ignored.
  4. Define the environment variable LIANJA_LICENSE.

The LIANJA_LICENSE environment variable value can be:

  • The license key emailed to you: xxxx-xxxx-xxxx-xxxx-xxxx
  • A filename on a network drive containing the license key. e.g. z:\mylicenses\filename.txt
  • A URL that points to a file on your server e.g. http://www.myserver.com/mylicences/customer.html where the customer.html file contains the license key.

Standalone Runtime License Manager for Windows

Available from Lianja v7.0, the Runtime License Manager for Windows installs the lianja-lm command line utility to allow a single-user runtime license to be activated for Standalone Executables on Windows on client machines that do not have the Lianja App Builder or Lianja App Center installed.

  1. Download the Lianja Runtime License Manager from Download->Windows onto the client machine.
  2. Double-click the downloaded executable to run it. You can select the drive where it will be installed.
  3. Create the environment variable LIANJA_LICENCESDIR and set it to drive:\lianja\server\licenses, where 'drive' is the drive you selected during installation.
  4. In a Windows Command Window run the following command, where 'key' is your runtime product key:
lianja-lm --activate key

The license activation will be confirmed. If not, please submit a support ticket

The following commands are also available to deactivate and validate the license respectively:

lianja-lm --deactivate
lianja-lm --validate