License generator

Top  Previous  Next

The Script License Generator is an external tool for creating script license files. A Script license file is required to run protected scripts encoded with this option.

 

Using the script license is the best way of encoding if you need to distribute one script or entire project between different users but need to use different restriction options for each user.

 

Scripts encoded with this option will require an external license file to run. Protected scripts will search for the license file in the current directory and all parent directories. So you may have one license file for an entire protected project located in the top project directory.

 

If the protected script cannot find the specified license file it will display the error message: "script requires ... file to run"

 

licgen1

 

License file

 

File name - the name of license file. Should be the same as you specified during encoding of your scripts!

 

Project ID - this allows you to assign ID to your project to identify what license it should accept. Specify the same Project ID in license generator when you generate license for this project. This option is useful when you want to ship several products that uses external license so that each license would work only with its Project ID.

 

Project Key - this is used in pair with Project ID - required if you plan to use external license mode.

New algorithm in 5.0 uses the idea of two keys. The first key (Project Id) is stored in the encrypted area of protected script and used to decrypt an external license file. The second key (Project Key) is stored in the license file and used to decrypt the bytecode from the protected script.

Using the new algorithm protects your product from creating a full working copy from the demo version by some people who may be interested in this. As to decrypt and run a protected script a true license file for the full version of your product is required. Otherwise it's impossible to decrypt and run a bytecode. 

Project Id and Project Key values are required if external license protection method is selected. 

 

 

Target directory - directory path where you put the generated license file.

 

Compatibility mode with SourceGuardian 4.x - select this if you want to generate license for scripts encoded with SourceGuardian 4.x

 

licgen2

 

Binding - refer to Binding Options chapter for more detailed information about them.

 

licgen3

 

Custom constants - refer to Custom constants chapter for more detailed information about them.

 

 

At the bottom of licgen window you can see these buttons:

 

licgen4

 

'Save' - allows you to save license data so that you can open it next time using 'Load' button.

'Generate' - generates license file.

'Close' - closes license generator window.