- Print
- PDF
License Automation/Command Line Activation
This article describes a software version that Formpipe no longer supports. Although the software will no longer receive updates or technical support, existing documentation, such as this article, will be retained for reference purposes but will no longer be updated. If you have any questions, contact us via the Create Ticket button in the support portal.
Info
Applies to Lasernet versions 7.1 and later, up to Lasernet 10.
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...> and the folder to access is C:\Program Files\Formpipe Software\Lasernet 10.
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 the instance name to uninstall. |
–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. |
–all OR -a | Deactivate all instances. |