License Automation/Command Line Activation
    • 24 Jun 2024
    • 1 Minute to read
    • Contributors
    • PDF

    License Automation/Command Line Activation

    • PDF

    Article summary

    Info

    Applies to versions 7.1 and newer.

    The License Manager is extended with a command-line interface for automating, installing, and removing instances, as well as performing activation and deactivation. This should help you automatically install and activate the software without forcing the end-user to run the Lasernet License Manager manually. It still requires a unique activation key that can be activated a limited number of times.

    The following features are supported:

    • Add an instance (requires name and port)

    • Remove an instance (requires name)

    • Activate an instance (requires name and activation key)

    • Deactivate an instance (requires name)

    • Activate all installed instances (requires activation key)

    • Deactivate all installed licenses (requires nothing, optionally also deactivate Developer)

    • Activating Developer (if present)

    • Deactivate Developer (if present)

    To use Lasernet License Manager from the command line, it should be called from a console window such as:

    LnLicenseManager.exe <action> <parameters...>

    Note

    The actions and corresponding parameters are described in the following table, and also in help (LnLicenseManager.exe –help). Install and activate cannot be executed on the same command line.

    Arguments

    Description

    Install

    Install a service

    –name OR -n <name>

    Specifies instance name. Required.

    –port OR -p <port>

    Specifies port number. Required.

    Uninstall

    Uninstall a service instance

    –name OR -n <name>

    Specifies instance name to uninstall or…

    –all OR -a

    Uninstall all service instances.

    –deactivate OR -d

    Deactivate instance if activated. Uninstall will fail if this flag is not specified and the instance is activated. Optional

    –clean OR -c

    Remove datafiles. Optional.

    Activate

    Activate service instance or LN Developer (if present).

    –name OR -n <name>

    Specifies instance name. Use `LnDeveloper' for activating Developer. Required.

    –key OR -k <key>

    Specifies activation key. Required.

    –all OR -a

    Activate all instances using the specified activation key. This option has no effect when activating Developer. Optional.

    Deactivate

    Deactivate service instance or LN Developer (if present).

    –name OR -n <name>

    Specifies instance name. Use `LnDeveloper' for deactivating LN Developer. or…

    –all OR -a

    Deactivate all instances.


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.