You can use command line code to call CBLicenseActivator.exe and activate a user name and serial number combination.
To automatically license Crystal Ball:
Use the cd command to browse to the bin folder beneath the Crystal Ball installation folder. By default, this is C:\Program Files\Oracle\Crystal Ball\bin.
At the prompt symbol, enter the following text:
CBLicenseActivator.exe "username" serialnumber
where username is the user name for the provided serial number.
Note: | Enclose username in quotation marks and do not add spaces within the serial number. |
If the license is activated successfully, a message is displayed beneath the command line. It indicates that the license was successfully activated and is displayed the username, serial number, version, and other information contained in the license, including licensed product features.
If a failure occurs, an exception message is displayed and the exit code for the command line is set to a non-zero value.