Syntax:
Installs or uninstalls a license silently.
aslmpcsilent function serial_number license_key
Options:
1 - |
checks if any licenses are installed and if not, installs this license |
2 - |
checks if this license is already installed and if not, installs it |
3 - |
uninstalls the license |
serial_number
|
serial number on the license to be installed or uninstalled |
license_key
|
license key on the license to be installed or uninstalled |
0 - |
Success |
1 - |
Database location not found |
2 - |
This key already exists on the database |
3 - |
A different key already exists on the database (occurs when opition 2 is used) |
4 - |
Invalid license key |
5 - |
Development license key |
|
|
6 - |
Bad platform |
7 - |
License DB not found |
8 - |
Unable to open PRODFILE |
9 - |
Product and version are not in PRODFILE |
10 - |
License key not found |
|
|
11 - |
Incompatible license mix |
12 - |
Duplicate license - not added |
13 - |
Cannot reinstall this key |
14 - |
Expired license |
15 - |
Other failure |
On Exit:
The return-code settings on exit are as follows:
0 - |
Success |
1 - |
Database location not found |
2 - |
This key already exists on the database |
3 - |
A different key already exists on the database (occurs when opition 2 is used) |
4 - |
Invalid license key |
5 - |
Development license key |
|
|
6 - |
Bad platform |
7 - |
License DB not found |
8 - |
Unable to open PRODFILE |
9 - |
Product and version are not in PRODFILE |
10 - |
License key not found |
|
|
11 - |
Incompatible license mix |
12 - |
Duplicate license - not added |
13 - |
Cannot reinstall this key |
14 - |
Expired license |
15 - |
Other failure |
Example:
The following command checks if the specified license is already installed and if not, installs it. The license specified has the serial number 11122233 and the license key 1111222223333344444.
aslmpcsilent 2 11122233 1111222223333344444