Evaluation Version requires registration - no key needed
![]() Evaluation Version requires registration - no key needed |
![]() |
![]() |
![]() |
||
Evaluation Version requires registration - no key needed |
![]() |
![]() |
![]() |
![]() |
If you want to offer an evaluation version, and the evaluation version should only start after it has been registered and activated, you can implement this with a few additional DLL calls. The user can download the demo version, activate it and use it. If the evaluation version should be usable only after the user activates it with a Serial number, see workflow: Evaluation Version requires Activation - Serial Number needed
Modify the Project Template and add a new module with type Yes/No (module type = 4). This module is only used for activation of the evaluation version. Set the default value for this module to No and name it e.g. Evaluation Version.
Use the workflow settings - No evaluation version, product activation, full version for the additional module (sample is QHD002).
The testing has to be done before you use PrepareAndCheck with EasyGo.
Implement this logic at the start of your application:
• | Open the license file without user interface - PrepareAdvanced - (in case of an error continue with PrepareAndCheck for the main module) |
• | Check if the module Evaluation Version is set to No with ValidatesYes - this indicates that the evaluation version was not activated |
If it is No (return code 3) then the evaluation version has to be activated - otherwise it was already activated. Continue with PrepareAndCheck for the main module (QHD001). Before validating the main module, change the workflow to Evaluation version, product activation, full version has no time limitation
• | Retrieve all installation codes of the machine with GetInstCode and add all codes to one string. This will be the unique identifier for the Activation Server |
• | In the command SetRegisterSettings, set the field SerialIsAKey to false. This allows using any ID for a Serial Number |
• | Now define, that the unique identifier you calculated is used as a Serial Number - command SetRegisterSerialNo. This ID will be automatically pasted in the Serial Number field |
• | Use PrepareAndCheck with the moduleID of the evaluation version module (in the example screenshot below it is QHD002). The user has to activate the evaluation version - he gets the screen: No Evaluation Version |
• | If the return code is 0 (activation was successful) then you could delete the module QHD002 (DeleteModule) and continue with PrepareAndCheck for the main module (in the example screenshot below it is QHD001). Before validating the main module, change the workflow to Evaluation version, product activation, full version has no time limitation |
• | If the return code is <> 0 quit the application |
Activation Server - Configuration Settings
The project.config file needs no changes. Only the workflow file (config-autogenerator-easygo.xml) has to be changed. You have to add a second product with the module ID of the Evaluation Version module.