Connectivity Software User's Guide and Reference
Registry License Store
QuickOPC > Concepts > Development Concepts > Application Deployment > Licensing Elements > Registry License Store
In This Topic
This functionality is only available on (or the text applies to) Windows (it is not available on Linux or macOS).

Manual License Key Deployment

When you use the Registry License Store, proper license key (for runtime usage) must be installed on the target computer (the computer where the product will be running).

The standard method for installing the QuickOPC, OPC Wizard or Rapid Toolkit for Sparkplug license key on runtime machines is manual: The user runs the License Manager utility (GUI or console-based), and installs the license by pointing the program to the license file stored on the disk.

If you have multiple QuickOPC, OPC Wizard or Rapid Toolkit for Sparkplug versions installed on the computer, you need to deploy the license key that covers all versions of the product you want to run.

The subsequent part of the documentation describes how to automate the above procedure so that the user does not have to interact with the License Manager utility.

License Key Location in the Registry

The license key is stored in the registry, under the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Licensing\LicensingComponentName\Multipurpose

where LicensingComponentName is one of the following:

In order to install the license key, this registry key and anything that is beneath it, must be properly deployed to the target machine.

Note: On 64-bit systems, the license key is stored in 32-bit registry. When the registry is accessed from 64-bit application, you must use the following registry key instead:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Licensing\LicensingComponentName\Multipurpose

On 64-bit systems, if QuickOPC, OPC Wizard or Rapid Toolkit for Sparkplug is used from both 32-bit and 64-bit processes, you have to install the license into both 32-bit and 64-bit parts of the registry.

Access to the License Key

The license key is stored in the registry. For the license to be recognized, the process (that runs Connectivity Software components) must have read access to the corresponding registry keys. That is normally not a problem under "interactive" user accounts and traditional desktop applications, but it can be an issue e.g. when QuickOPC, OPC Wizard or Rapid Toolkit for Sparkplug program runs as Windows service, or in hosted environments (such as IIS).

Specifically, IIS has one process for each Application Pool, and the application pool runs under a configurable user account. You need to assure that this user account has read access to the registry keys where the license is stored.

 

Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.

See Also

Examples - Client Licensing

Tools and Online Services

Examples - Server Licensing