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 Yes, days = 0 , EasyGoWorkflow= 2, ActivationStateAfterCpon=2 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 user can start the application only if he has a valid Serial Number.
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 activation status of the module Evaluation Version is set to done (GetWebActivation = 2) - this indicates that the demo version was activated
If the evaluation version was NOT activated (GetWebActivation<>2) then
•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 quit the application
•Continue with check - main module
Continue with PrepareAndCheck for the main module (QHD001).