In case you deliver single user installations in a huge number to one company and online access is always available, a product activation without user interaction is possible. The workflow could also be used for standard single user installations, if always an online access is available and a trial version is not needed.
•The Serial Number is already stored in the the license file. On the activation server is a definition, how often this Serial Number can be used
•During the program start, the Serial Number is retrieved, sent to the activation server and the result is a product, which is instantly activated
•If the company needs more licenses, just increase the number of activations on the Activation Server 6
•Create a new license file in the Generator which is time limited. Save the file.
•Create a Serial Number in the Generator. It is important to save the the Serial Number in the file
•Add this Serial Number on the Activation Server and define, how often the Serial Number can be used - see Add a key on the Activation Server
Code Integration
•SetLanguage - define language for all screens and error messages. Necessary even if you use own screens
•Open the license file with PrepareAdvanced - implement an own error handling. Error 1024 (copy protection violation) should allow to type in an Activation Key to switch copy protection type. Use SecurityLevel and PrepareForce to open the file and ShowLicViewer or an own user interface to provide the necessary information
•Now test the main module with ValidateEX or ValidatesYes
•If the status Activation is required (1) then the software is not activated yet. Retrieve the activation status with GetWebActivation
Activate the product online
The Online Activation process can be implemented with a few DLL calls. The configuration files are the same as used for EasyGo - see configure a project
The Serial number would be used as the unique ID on the Activation Server.
Use the command: GetSerial
The command SetRegisterSerialNo would display this Serial Number as a default value in the activation dialogues when using the PrepareAndCheck command
The sequence for the Online Activation is as follows:
•Activate the license for the main module using WebRegisterExt and use as the unique ID the Serial Number
•You can turn on/off the activation dialogs with ShowWAStartPage, ShowWAProgressPage, ShowWAResultPage
•By defaults all other necessary parameters are retrieved from the license file but could also be set individually
Url to Activation Server - WebServiceURL
Project name - ProjectName
Proxy Settings - LocalProxyPort, LocalProxyServer, UseLocalIEProxy, UseLocalProxy
•If the status Activation is done (2) then the software is activated - a screen should be displayed only in case of an error generated during PrepareAdvanced
•If the status Activation is erroneous (3) then the activation was not successful. Try to activate again.
•Provide an Own License Viewer
•To display errors, you could use ShowStartErrorPage, which would also cover to view the license and apply keys. You can retrieve a language specific error message with GetErrorMessage for your own dialogs
•Use Quit at the end of the application