Activating Licenses from the Local License Server
You can activate licenses from the Local License Server using the command line or a batch file.
Before you begin
Note: You can activate one or
more activation codes by separating them with a semicolon. Do not use spaces between
the activation codes.
Procedure
-
To activate licenses from the DOS command line:
You should receive the following response:
"License(s) were deployed successfully."
Note: If there is an error executing the command, a message appears. For more details, see the Proficy License Client log file. -
To activate licenses using a batch file, enter the commands in the following
format in your batch file:
echo off Start/wait ProficyLicenseWizard.exe -Lease=1111-1111-1111-1111;2222-2222-2222-2222 -Server=http://1.1.1.1 -Port=1111 if errorlevel 1 ( echo The command failed. Error code=%errorlevel% exit /b %errorlevel% ) echo Success
The command returns 0 when successful, or one of the error codes defined in the command return code table.