Summary: This page details the arguments that may be supplied to the licensetool command line utility (licensetoolcmd.exe).
Notes
- All of the following commands can also be supplied to the License Tool GUI application (licensetool.exe), when starting it from a command shell. However, since the license tool does not have stderr or stdout, the results of the following commands will not appear on the screen.
- In addition, when calling these commands from licensetool.exe (the GUI), all arguments must be preceeded by the "-nowin" argument.
Actions
Checkout
- Description:
- Arguments:
- productid:id -Numeric id of the product to check in. (mandatory)
- productversion:versionnumber -product version number (mandatory)
- productfeatures:"featurestring" -features of the product.(mandatory, if there are features associated with the product). NOTE: Because feature strings contain the pipe "|" symbol, they MUST be wrapped in quotes in order to work.
- checkoutperiod:days -Number of days for which this product will be checked out. (optional)
- email:noname@bentley.com - The email address of the user performing the checkout. (optional)
- Example:
licensetoolcmd checkout /productid:1000 /productversion:8.11.7.443 /email:username@company.com
Checkin
- Description:
- Arguments:
- productid:id -Numeric id of the product to check in. (mandatory)
- productversion:versionnumber -product version number (mandatory)
- productfeatures:"featurestring" -features of the product.(mandatory, if there are features associated with the product). NOTE: Because feature strings contain the pipe "|" symbol, they MUST be wrapped in quotes in order to work.with the product)
licensetoolcmd checkin /productid:1000 /productversion:8.11.7.443
Import
- Description:
- Import a checked out license
- Arguments:
- file:file name -license file to import (mandatory)
- Example:
licensetoolcmd import /file:c:\mymachine-MicroStation-License.xml
List
- Description:
- Lists either the products available for checkout or what products are currently checked out on the machine. The default is to produce both lists.
- Arguments:
- avail -Display only the list of products available for checkout. (optional)
- out -Display only the list of products currently checked out. (optional)
- Example:
licensetoolcmd list -avail
Status
- Description:
- Lists the current configuration of the license client on the machine running the command.
- Arguments:
- no arguments exist for this command.
- Example:
licensetoolcmd status
Configure
- Description:
- Configure a license client option. Takes a license client setting and a value for that setting.
- Arguments:
- setting:setting_name -The name of the setting to be saved. (mandatory)
- value:setting_value -The setting value. (mandatory)
- productid:id -The product id associated with this setting . (optional)
Available Settings:
SELECTserver | The name of the SELECTserver. |
ActivationKey | The Activation Key to be used. |
UseProxy | Determines whether or not the configured proxy should be used. The possible values are : “Yes”, “No”. |
ProxyServer | Name of Proxy Server. |
ProxyNeedsAuth | Determines if the configured proxy server requires authentication. The possible values are : “Yes”, “No”. |
ProxyDomain | Domain name to use for proxy authentication. |
ProxyUser | User name to use for proxy authentication. |
ProxyPassword | Password to use for proxy authention. |
licensetoolcmd configure /setting:selectserver /value:selectserver.bentley.com
Other Language Sources
Deutsch