Generating a license file |
Top Previous Next |
When you select an option to lock to external license file, all the locking options are stored within it and that file is required for running protected script. In order to generate a license file please open locking options in the project window and click "Generate" on the top next to the External license file name field. You should already have "Lock to external license file" option selected and a license file name filled in as you used this locking mode for scripts.
The license generator takes all the locking options from the Lock screen and puts them into the license. It's OK to not have any locking options specified. In that case the license file will allow to run your protected files without setting any additional restrictions on them.
A new popup will show the license generation log. It will take a second and you see a message saying that the license file has been successfully created. The generated license file may be deployed along with your protected scripts or sent separately to your customers.
Normally, you will use a short name for your license file without a folder. In that case, when running protected files the license file will be searched in the encoded script's folder, then if not found, in the parent folder and so on. If you lock your project to a license file and use a short name for the license, you or your customers will need to install the generated license file to the root of your encoded project. In that case all the locked protected files will be able to find and load the license.
A full path may be specified for the license file. In that case when your protected files run, the license file will be checked by the full absolute path.When you click "Generate License" to create it, the full path is ignored and the license file will be created in the selected folder. However, the full path is stored along with the required license file name.
You may change locking options and generate different license files if you need.
Also you may automate license generation using a command line license generator tool. Using the command line license generator provides a method for licenses to be dynamically created and this may be useful when you are selling your scripts online or to automate your web site's backend etc. Please read about using the command line license generator in the "Using external script license generator" section in this manual.
|