Installs or uninstalls a license silently.
aslmpcsilent function serial_number license_key
| function |
|
||||||
| serial_number | serial number on the license to be installed or uninstalled | ||||||
| license_key | license key on the license to be installed or uninstalled |
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 |
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