If you are currently using an in-house licensing system, or a competing product, you can automate the process of migrating your existing customers to QLM.
The first step in migrating to QLM is to import your existing data into the QLM database. The QlmImport tool allows you to import (a) your customers and (b) license information to the QLM database. For more details about the import process, please review the Readme.txt file included in the import tool project.
During the import process, the import tool will create a new QLM Activation Key for each existing license. The old license key should be stored in one of the following QLM fields: OrderID or UserData. Doing so will facilitate the automation of the migration.
Once the data is migrated, you will need to add code to the new version of your application to migrate the user to the new QLM licensing as described below:
- At application startup, try to read the QLM Activation Key from the system using the QLM ReadKeys API.
- If no QLM keys are found, try to read the old license key using the method you currently use to retrieve your license key. If no old license key is found, prompt the user to enter a QLM Activation Key.
- If an old license key is found, use the QLM API GetActivationKeyFromOrderID or GetActivationKeyFromUserData to retrieve the new QLM Activation Key based on the old license key.
- Once the QLM Activation Key is retrieved, you can activate it automatically using the ActivateLicenseEx API. If the license activates successfully, you call StoreKeys to store the QLM Activation Key on the end-user system.