Licence Protector

Create Unlock Key using own user interface

Hide Navigation Pane

Create Unlock Key using own user interface

Previous topic Next topic No directory for this topic  

Create Unlock Key using own user interface

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

If you want to provide an own user interface (e.g. a browser based interface or CRM system) to create an Unlock Key, you can create the Unlock Key in a batch mode process. This requires the Automatic License Generator.

 

The workflow would be as follows:

 

Your application writes the installation code in an xml file (customerdata.xml)

The Automatic License Generator is invoked

The result (Unlock Key) is provided in a text file (unlock-key.txt)

 

To create the Unlock Key, you need 3 configuration files:

 

the project template

a configuration file for the Automatic License Generator

a file with the customer data

 

All files are XML files.

Download sample configuration

Download the sample files and unzip all files into the folder of the Automatic License Generator (default is ..\Licence Protector\3.1\Automatic Generator).

Configuration File

The configuration file contains all the instructions for the Automatic License Generator. The name in the sample is config-autogenerator-unlockkey.xml.

 

 

 

Change

 

ProjectFilename = your project filename

 

 

All other settings need not be changed.

File with customer data

Your application has to create this file. It just contains the installation code you got by e-mail, fax or phone. The name in the sample is customerdata.xml.

 

 

 

The product ID must match the product ID in the configuration file config-autogenerator-unlockkey.xml. Use 1.

 

Change

 

InstallationCode to the installation code of the customer

CopyProtection = the copy protection type (.e.g 1= Volume ID, 2 = MAC address) you want to use. The 8 digit installation code has to be the code for this copy protection type

Invoke Automatic License Generator

 

Your application can invoke the Automatic License Generator using parameters for the filenames. The sample includes a batch file with the name create-unlock-key.bat to start the batch process.

 

Command Line

 

autolicgenerator313.exe -o customerdata.xml -c config-autogenerator-unlockkey.xml -xk unlock-key.txt

 

where

 

autolicgenerator313.exe is the latest Automatic License Generator

-o customerdata.xml specifies the file with the customer data

-c config-autogenerator-unlockkey.xml specifies the configuration file

-xk unlock-key.txt specifies the result file with the Unlock Key  (if the result file should be in xml format then just add the parameter -XML)

 

The Unlock Key is written into the text file unlock-key.txt and your application has to read this file.

 

A full documentation of all configuration options and additional settings is provided in the chapter Automatic License Generator.

See also
 
Unlock Key - all options
Explanation of all installation codes