Evaluation Version requires Activation - Serial Number needed
![]() Evaluation Version requires Activation - Serial Number needed |
![]() |
![]() |
![]() |
||
Evaluation Version requires Activation - Serial Number needed |
![]() |
![]() |
![]() |
![]() |
If you want to offer an evaluation version, which needs to be activated using a unique Serial Number, use the following workflow. If the evaluation version should be usable without a Serial Number but with a registration and activation, see workflow: Evaluation Version requires registration - no key 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).
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 demo 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
• | 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.