...
To automate license server registration, make sure your installer first copies the file to its destination, and then executes it with the appropriate parameters to install it as a service. If the installation is successful, the return code is zero; otherwise, it is non-zero.
...