For overall considerations using the USB flash drive protection see chapter Using an USB flash drive as a Dongle replacement.
To deliver a USB flash drive with a ready to go license, there are only a few steps necessary.
•Open the License Generator and load the project template
•Configure all modules the customer has bought
•The license should have no time limitation or demo version status. You could add a time limitation, if the software should expire after x days or on a predefined expiry date
•Activation status must be done if you use EasyGo
•Type in the customer name and save the license file on the USB flash drive
The customer can use the license always only on the computer, where the USB flash drive is attached. The limitation by PC / user is an additional configuration setting to limit the usage.
•use a module from type computer/PC - this limits the usage to the defined number of computers (recommended option). To define an unlimited usage, just configure a license with 9999 computers
•use a module from type user- this limits the usage to the defined number of users (USB flash drive can be used only on one PC)
•use a module from type Yes/No - the USB flash drive can be used on any number of computers by an unlimited number of users
The computer license type uses the hostname to count the number of computers. As a hostname can be changed, you could use the hardware ID 13 (Windows ID) instead of the hostname or a combination of both.
•Retrieve hardware ID 13 using GetInstCode(13)
•In the command Validate or PrepareAndCheck use the hardware ID 13 as replacement for the hostname (Name = hardware ID13, UseWindowsUser = false)
•As now only a 8 digit number is displayed in the License Viewer, you could combine the hardware ID13 with the hostname - GetLPComputername - the result in the license file would e.g. be: 411B9C8E (My Computer)
First You have to load the correct project template for the file you want to protect. Then you can add the USB protection to this file.
In the License Generator, select the Tab Extras, then USB Protection on.
This opens a dialog, where you can select the license file on the USB flash drive. The copy protection is then activated.
If the USB flash drive does not support this option, an error message is displayed:
There is no valid instcode for file filename.lic
You have to use another USB flash drive.
The copy protection can be removed from the USB flash drive. Select the menu Tab Extras, then USB Protection off This opens a dialog, where you can select the license file on the USB flash drive. The copy protection is then removed.
The option: Allow SetVal function must be checked. Otherwise you get a write protection error.
If you need large quantities of USB flash drives with a license file already activated, you can use the service of the company OEM marketing - www.oem.de. They are specialized in CD and USB duplication and they have a special license from us to add the USB flash drive protection in a batch process. You have to send them a generic license file and the project template.
This feature is only available in the Professional Edition.