Licenses
  • 29 Sep 2023
  • 3 Minutes to read
  • Dark
    Light
  • PDF

Licenses

  • Dark
    Light
  • PDF

Article Summary

Manage product licenses for your packages, define pricing information and display them in Catalog.
License keys can also be used as dynamic variables within packages.

Overview

The details screen provides basic information of the currently opened license.

License Tracking - How license usage is calculated. The following options are available:

  • Unspecified - License usage is not specified.
  • Concurrent Usage - Is calculated based on the number of licenses in active use at a particular time.
  • User - Calculation is based on the total number of users using it.
  • Device - Calculation is based on the total number of devices using it.

License count - How many units you have.
License key - Here you can insert a dynamic variable defined for a package. See dynamic variable for more details about variables.
License cost - The cost for a license, which is displayed in the user Catalog as a red label, for all applications assigned to this license.

app-license-price.png

Packages screen

View a list of all packages currently assigned, assign new or remove existing ones.
To view the details of a package or edit it, double click its entry.
To add a package, simply start typing in the lookup field for the desired package and select it from the results lists.

For more information see Packages.

How to create a license and assign packages to it

Before creating a license, make sure the desired packages are created.

  1. Go to Manage > Workspace > Licenses.
  2. Click + Create in the table toolbar.
  3. In the Create license dialog box that opens, in Overview, fill in the necessary info. Click Next.
  4. In License fill in the necessary info and click Next.
  5. In Summary, leave the Modify license after creation selected. Click Next.
  6. In the detailed view screen that opens, in Overview, insert the license key.
  7. In Packages, search for the necessary package and add it.
  8. Double-click the entry of the package to open it.
  9. Go to Entitlements and add the necessary identities and select the Catalog publish stage for them. This step makes the category available for the user in the Side Menu of Catalog.

How to use a license key as a dynamic variable

Creating a dynamic variable for a license key can help you save time instead of wasting it searching for a key each time you install an application. Then you use that variable inside an Install action as a placeholder for a dynamically value obtained by Liquit.
In the example below we will create a dynamic variable for the license key of FolderSizes, a disk space analysis software.

  1. Go to Manage > Workspace > Licenses.
  2. Create a new license with the following parameters:
    • Name FolderSizes License
    • License count 2
    • License cost 20
    • License key 123-123-123-123
  3. Go to Manage > Workspace > Variables.
  4. Create a new variable with the following parameters:
    • Type Dynamic
    • Name FolderSizes_License
    • Entity type License
    • Entity select the FolderSizes License created at step 2
    • Property License key
  5. Go to Manage > Workspace > Packages.
  6. Create a new package with the following parameters:
    • Type Custom package
    • Name File Size Reporting
      Leave the Modify package after creation selected. Click Finish.
  7. In the detailed view screen that opens, go to Releases > Actions.
  8. Click enlarge.png Create action set in the screen toolbar. Name the action set Install and select the Type Install.
  9. Inside the action set click enlarge.png Create action in the table toolbar. Insert the following parameters:
    • Type Start process
    • Name Start fs9-setup.exe
    • Process select the fs9-setup.exe file
    • Arguments /qn LICENSECODE=$(FolderSizesLicense)

The installer is run silently and it gets the license key from your variable. Now you only have to think how you want to make the app available to your users and create actions accordingly.


Was this article helpful?

What's Next