MakeKey Tool (Magic xpi 4.7)
The MakeKey tool lets you create a feature license that can be checked out and in by users of the Magic xpi project.
-
You will find the makekey.exe tool in the Magic xpi installation directory. Click on it.
-
You will be prompted through a series of items. Your answers will depend on what you are trying to do. Here is an example of the questions you will se and answers that you might give (in bold):
-
license.data exists, Overwirte? <y,n>: n
-
please enter output filename: <default MAGIC.lic>: Magicxpi.dat
-
Do you want to use an existing file for SERVER and VENDOR lines [y/n]? y
-
What file do you want to use? <default C:\FlexLM\License.dat>: License.dat
-
Feature name: MYFEATURE1
Use the name of the feature that you defined in the tool.
-
FEATURE/INCREMENT/UPGRADE line? [f/i/u, default: f]: f
-
Version of MYFEATURE1 [default 1.0]: 3.000
-
Number of licenses [default: 4]: 1
-
Expiration date [dd-mmm-yyyy, default: permanent]: 31-Dec-2016
To provide an unlimited license, enter: 01-Jan-0000.
-
Enter an optional attribute [? to list]: SN=123456
SN is the serial number of the end customer’s license file.
-
Enter an optional attribute [? to list]: VENDOR_STRING=mykey=34567A#b=,P=N
Here you enter the VENDOR_STRING created by the Connector Builder's License Key utility.
In addition to the mykey property, the VENDOR_STRING must include the property P=N separated by a comma. Without P=N the server will not be able to validate the license.
-
Enter an optional attribute [? to list]: Press <Enter>
-
Feature name: Press <Enter>
If you want to create an additional feature, enter the next feature name. If not, press <Enter>.
-
When you are finished, you will have a feature that your users can use with your application. The end user can incorporate the created future for your application in your existing license file. In Runtime, Magic xpi will check that the encrypted text matches the expected text.