Applies to version: 7.1 and later
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 to 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 like below:
LnLicenseManager.exe <action> <parameters...>
The actions and corresponding parameters are described in the table below, 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. |
Add a comment
Please log in or register to submit a comment.