ActiveReports 18 .NET Edition
Developers / License ActiveReports / Offline Licensing with Command Line
In This Topic
    Offline Licensing with Command Line
    In This Topic

    MESCIUS licensing requires the build machine to be licensed. Licensing a build machine is included with any developer license and does not require purchasing additional keys. If your development or build machine has no internet connection, see License ActiveReports on a machine without an internet connection topic.

    Offline activation is a manual process that can be tedious for many developers. Instead, you may implement a process to perform the offline activation by command. This process is somewhat automatic, but also requires a manual step in the middle that can be performed at once for all machines or for a single machine. The steps below detail this process:

    Before offline activation by command line, install the MESCIUS License Manager tool (gclm) as follows. If ActiveReports or any MESCIUS inc. product is installed, then the gclm tool is already installed at C:\ProgramData\GrapeCity\gclm.

    1. Download the gclm deployment tool:
    2. Write a bat file or program that runs on each offline machine and executes:
      1. Windows: C:\ProgramData\GrapeCity\gclm\gclm.exe "product id" -g "key" "activation file name"
      2. Linux/MacOS: gclm "product id" -g "key" "activation file name"
        • Windows:
          C:\ProgramData\GrapeCity\gclm\gclm.exe "463c4179-288c-48fe-a4df-3b609586667d" -g "key" “[file:/%3Cnetwork-location%3E%computername%-gcactivation.lic]\\<network-location>\%computername%-gcactivation.lic”
          
        • Linux/MacOS:
          gclm "463c4179-288c-48fe-a4df-3b609586667d" -g "key" “[file:/%3Cnetwork-location%3E%computername%-gcactivation.lic]\\<network-location>\%computername%-gcactivation.lic”
          
      Notes: This creates an "activation file name" (.lic) which includes the name of the machine (computer environment variable). This could be put on a network location such as [file:/%3Cnetwork-location%3E%computername%-gcactivation.lic]\\<network-location>\%computername%-gcactivation.lic.               
    3. From an online machine, go to the https://sa2.mescius.com/activate website and manually generate the KeyFile for each machine using the activation file.
    4. Run a second bat file or command on each offline machine with:
      1. Windows: C:\ProgramData\GrapeCity\gclm\gclm.exe "product id" -i "keyfile"
      2. Linux/MacOS: gclm "product id" -i "keyfile"
      Notes:
      • You should name the KeyFile so that it identifies the machine the activation file came from.
      • All the KeyFiles will be different and tied to a specific machine.