Using the feature to transfer a license requires special configuration settings in the license file and for the Activation Server.
To use this feature the license file needs special settings:
You can also configure these settings in your Project Template - see details <TamperDetection>, <TamperDetectionMode>, <licenseVerification>, <EndVerification>, <AllowSetVal> |
The project.config file on the Web Activation Server needs special settings:
demo-easygo.config
<?xml version="1.0" encoding="utf-8" ?> <Configuration> <Project> <ProjectID>demo-easygo</ProjectID>
<CheckActivationKeys>yes</CheckActivationKeys> <ActivationKeyRequired>no</ActivationKeyRequired> <NoOfAllowedKeyOccur>1</NoOfAllowedKeyOccur>
<CheckEntries>yes</CheckEntries> <EntryRequired>no</EntryRequired> <NoOfAllowedEntryOccur>1000</NoOfAllowedEntryOccur>
<InstCodeType1>2</InstCodeType1> <InstCodeType2>3</InstCodeType2>
<AllowReactivation>yes</AllowReactivation>
<MinIdenticalInstcodes>2</MinIdenticalInstcodes> <!-- Notice that CheckInstCodeType overrides MinIdenticalInstcodes --> <IgnoreLocalInstCodes>yes</IgnoreLocalInstCodes> <CheckInstCodeType1>1</CheckInstCodeType1> <CheckInstCodeType2>3</CheckInstCodeType2>
<GeneratorPath>c:\inetpub\wwwroot\lpweb\alg</GeneratorPath> <GeneratorApp>autolicgenerator.exe</GeneratorApp> <GeneratorConfig>config-workflow-easygo.xml</GeneratorConfig> </Project>
</Configuration>
demo-easygo-transfer.config <?xml version="1.0" encoding="utf-8" ?> <Configuration> <Project> <ProjectID>demo-easygo-transfer</ProjectID>
<CheckActivationKeys>yes</CheckActivationKeys> <ActivationKeyRequired>no</ActivationKeyRequired> <NoOfAllowedKeyOccur>1</NoOfAllowedKeyOccur>
<CheckEntries>yes</CheckEntries> <EntryRequired>no</EntryRequired> <NoOfAllowedEntryOccur>1</NoOfAllowedEntryOccur> <CheckLicenceDays>3650</CheckLicenceDays> <InstCodeType1>2</InstCodeType1> <InstCodeType2>3</InstCodeType2>
<GeneratorPath>c:\inetpub\wwwroot\lpweb\alg</GeneratorPath> <GeneratorApp>autolicgenerator.exe</GeneratorApp> <GeneratorConfig>config-workflow-easygo.xml</GeneratorConfig>
</Project>
</Configuration>
The project configuration file (config-workflow-easygo.xml) file should have the default settings when using EasyGo.
The Project File
In your main project file, you have to remove one line - <WebActivation>
|
||||||||
< <NoOfAllowedKeyOccour> defines how often an Activation Key (not the Serial Number) can be used. An Activation Key is normally used to modify a module (e.g. new licenses or new expiry date) after the initial product activation with the Serial Number has been done. Therefore the definition, that an Activation Key can only be used once has to be <NoOfAllowedKeyOccur>1</NoOfAllowedKeyOccur>
<NoOfAllowedEntryOccur> defines how often a module can be activated. EasyGo performs a module activation and uses the Serial Number Key as the unique ID to activate a module. As the license is activated multiple times (each time a license is transferred), a definition has to be made how often the license transfer should be possible: <NoOfAllowedEntryOccur>1000</NoOfAllowedEntryOccur>
The additional projectname-transfer is necessary to control the CheckLicence command
Details are explained in the chapter What is happening inside the license?