The information on this page refers to LM-X versions prior to v5.3.3, which introduced the "-expire" option for xmllicgen. If you are running a previous version of License Statistics, see documentation for previous versions.


As of March 1, 2014, xmllicgen uses internet clock check; therefore, a connection to the internet is required to be able to successfully generate a license.

You can generate licenses using xmllicgen, the license generator provided with LM-X.

To generate a license:

  1. Modify the sample file detailed.xml, floating.xml or nodelocked.xml (as detailed in the following sections) to fit your specific business model.

  2. Execute the license generator by typing the following command:

    xmllicgen [options] xml_file

    You can specify the following options when running xmllicgen:


    OptionDefinition

    -output file

    Sets and overrides the OUTPUTFILE setting in XML file

    Note: As an alternative to specifying the output file path at the command line, you can specify this information in the XML file (using the optional attribute OUTPUTFILE, as described in LICENSEFILE tag)

    -expire

    Prints the expiration date

     -help

    Prints help for xmllicgen usage

  3. If xmllicgen succeeds in creating a license, it returns the error code 0. If xmllicgen fails, it returns the error code 1.