You may have customers who want to install the LM-X license server License Server on a platform that you do not have in-house. To accommodate such needs, you can use a license server pre-compiled for a particular platform.
To do this, you copy the vendor library liblmxvendor.dll (for Windows) or liblmxvendor.so (for Unix) for the desired platform to your Windows or Unix machine, and run the lmxdev command (see Lmxdev developer tool LM-X Developer utility) to embed the security configuration information into the liblmxvendor.dll/so file. You then ship the LM-X End-user Tools installer (lmx-enduser-tools_version.msi/sh), which also installs the license server and the vendor library to the customer.
This procedure needs to be done only once, for each platform on which you will distribute your software but do not have a physical machine.
...
- Copy the liblmxvendor.dll/so file from the LM-X distribution to the machine that contains the lmxdev executable.
Run lmxdev using the -embedsecurityconfig option, as follows:
Code Block language cpp C:\lm-x\win32_x86\no_security_config> ..\lmxdev.exe -embedsecurityconfig ..\..\config\xformation.lmx liblmxvendor.dll
v3.3LM-X Developer Tool
Copyright
2010v4.5.1 Copyright (C) 2002-
2015 X-Formation. All rights reserved.
Licensed to X-FORMATION
Security configuration successfully embedded!
Run lmxdev again using the -embedlicense option, as follows:
/Code Block language cpp C:\lm-x\win32_x86\no_security_config> ..\lmxdev.exe -embedlicense ..\..
/\config
\lmx.lic liblmxvendor.dll
4LM-X Developer Tool v4.
05.
20121 Copyright (C) 2002-
2015 X-Formation. All rights reserved.
License file successfully embedded!
- Send the LM-X End-user Tools installer and the liblmxvendor.dll/so file to your customers who wish to run the license server on that particular platform.
Note that failure to embed the security configuration file in the liblmxvendor.dll/so file will result in errors such as the following when the user attempts to start up the license server:
[2010-01-16 21:28:17] FAIL: Vendor security configuration is not embedded!