Automating product activation

Product activation

If you are using coolOrange products that contain at least the license version v18 it is possible to activate them using command line arguments of the License.exe. You can find the location to the License.exe in the Installation page of the product on the coolOrange wiki. You'll have to pass the name of the preferred licensing model and the serial number or the activation file, depending on the chosen licensing model.

To activate a product run the code in one of these examples:

Standalone Licenses

Using the Command Line

For StandAlone licenses the parameter "--StandAlone" and the "--SerialNumber" is needed

"Path\To\License.exe" --StandAlone --SerialNumber=XXXXX-XXXXX-XXXXX-XXXXX

Using PowerShell

& "Path\To\License.exe" --StandAlone --SerialNumber=XXXXX-XXXXX-XXXXX-XXXXX

Activation Files

Using the Command Line

In case you have an activation file you have to pass the "--StandAlone" parameter and the "--ActivationFile" parameter with an absolute path to your activation file.

"Path\To\License.exe" --StandAlone --ActivationFile="Path\To\ActivationFile.skm"

Using PowerShell

if the activation needs to be done via PowerShell you can use the following

& "Path\To\License.exe" --StandAlone --ActivationFile="Path\To\ActivationFile.skm"

See Also