lscgen - Interactive Input

You can run lscgen in an interactive mode. If there were command-line options and/or a global defaults file used, some or all of the prompts would not appear.

The following is an example of generating a long, non-trial (normal) license code for standalone environments.

......
Type the desired responses at the prompts below.
Desired length and options of licensing code format -
[1] - Long code
[2] - Short numeric code
Enter choice: 1
Feature name (any printable characters): AppEditor
Feature version number (any printable characters): 2.0.0
Desired licensing code -
[0] - No capacity
[1] - Non-pooled capacity
[2] - Pooled capacity
Enter choice: 0
Do you want to generate trial license? (Y/N) :n
Enter the desired client library behavior -
[0] - Network licensing
[1] - Standalone licensing
[2] - Repository licensing
Enter choice: 0
Enter log file encryption Level(0 - 4)[1]:4
Combining property of licensing code -
[0] - Additive license (number of tokens will get added)
[1] - Exclusive license (will override additive licenses)
[2] - Aggregate license (additive without any restrictions)
Enter choice: 0
Proprietary vendor information (any printable characters)
This information will be encrypted in the license string: LIC_295
Proprietary public vendor information (any printable characters)
This information will remain readable in the readable output license
string: LICENSE295
License vendor information (any printable characters)
License vendor information will remain encrypted in all types of licenses
string: LICENSE999777

Type of shared licenses -
[0] - No sharing of licenses
[1] - Username-based sharing
[2] - Hostname-based sharing
[3] - X-display-based sharing
[4] - Application-defined sharing
Enter choice: 0
Token lifetime options -
[0] - From 1 through 15 minutes (Multiple of 1 minute(s))
[1] - From 10 through 150 minutes (Multiple of 10 minute(s))
[2] - From 30 through 450 minutes (Multiple of 30 minute(s))
[3] - From 60 through 900 minutes (Multiple of 60 minute(s))
Type an option that suits you best : 0
Lifetime of each token (in minutes only) or <Enter> for no limit: 5
Type of held licenses -
[0] - Not allowed
[1] - Client application specifies hold time
[2] - The licensing code specifies hold time
Enter choice: 0
Number of challenge-response secrets or <Enter> for none:
License start information -
License start year (2006 - 2133), (NEVER) for no start date, or
<Enter> for a
current license: 2011
License start month (1-12 or Jan-Dec): 4
License start day of the month (1-30): 20
License expiration information -
Expiration year (2006 - 2133) or <Enter> for no expiration: 2011
Expiration month (1-12 or Jan-Dec): 12
Expiration day of the month (1-31): 31
Should Commuter licenses be issued?(Y/N)[Y]: n
Grace period options -
[0] No grace period allowed
[1] Standard grace period allowed
Enter choice: 0
Max number of concurrent tokens [0 - 4,294,967,294] or <Enter> for no
limit: 10
Soft limit [0 - 10] or <Enter> for no limit:
Application-server locking mode -
[0] - Server-locked (server locked to a host, clients not locked)
[1] - Client-and-Server-locked (server and clients locked to specific
hosts)
[2] - Any Host Type (server and clients not locked)
[3] - Client-locked (clients locked to specific hosts)
Enter choice: 0
Lock to multiple redundant servers? (Y/N)[Y]: n
Locking information (primary or group 1) for server -
Lock selector for this machine in hexadecimal (if known)
Press <Enter> to skip: 0x1A
Locking code for this machine (if known)
Press <Enter> to skip: *1E2TALL7JA2CNG7
Locking code for this machine is *1E2TALL7JA2CNG7
Locking information (secondary or group 2) for server -
Lock selector for this machine in hexadecimal (if known)
Press <Enter> to skip:
or input 'N' if don't want to specifiy secondary lock info: N
Site licensing information -
Number of subnets specifications for the site or <Enter> for none:
Should licenses be issued if clock tampering is detected? (Y/N): n
Enable VM Detection flag? (Y/N)[N]:n
Available normal license count : -1
License count that will be decremented from license meter - 8
Do you want to generate license? (Y/N) :y
Type of license code generated -
[0] - Encrypted license code
[1] - Expanded readable license code
[2] - Concise readable license code
Enter choice: 0
Please Wait, Generating License...
Do you want to generate more licenses? (Y/N) n
Wrote new licensing code(s) to "C:\Documents and Settings\
username\My Documents
\Thales\Sentinel RMS Development Kit\Tools\newcodes".

 

NOTE   Since some features are mutually exclusive, not all options will always be available. For example, in the case of redundant licenses, the command-line mode will ask for primary server-locking information only and will not ask for secondary server-locking information.