ELA command-line activation – Mac

Lumivero does not provide a standard package for scripted installation on Macs. Customers are free to use third-party tools for this.

Mac unattended activation

You can activate the license via the Internet using a shell script and an activation file. A valid license key is required for this process. You must have administrator

privileges.

The following commands need to be run on each computer you intend to activate:

  1. Navigate to the location of the NVivo executable file—for example:
    cd "/Applications/NVivo.app/Contents/MacOs"
  2. Initialize and activate the license key using the following command:
    sudo "./NVivo" -initialize <license key> -activate <activation filename>

This command performs a silent product initialization using the specified license key and the activation details in the specified activation file. Refer to Activation

file format for details on the content and format of the activation file.

NOTE

  • Enter the license key in the following format: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
  • If you want to use NVivo as a free trial, you can use the '-initialize' parameter without a license key.
  • Angle brackets < > indicate that the enclosed element is mandatory. You need to replace the text within the angle brackets with relevant information. Do not type the angle brackets themselves in the command line.

Activation file format

You need to provide a valid activation file when performing an unattended activation.

IMPORTANT: Make sure the document format is plain text before pasting the sample content into the editor.

To create an activation file:

  1. Open TextEdit.
  2. Select Format > Make Plain Text.
  3. Copy and paste the text below into the editor.
  4. Set the values within the tags.
  5. Save as a plain text file with UTF-8 encoding.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<Activation>

<Request>

<FirstName>John</FirstName>

<LastName>Sysadmin</LastName>

<Email>[email protected]</Email>

<Phone>+1-555-555-5555</Phone>

<Fax>+1-555-555-5555</Fax>

<JobTitle>Your Job Title</JobTitle>

<Sector>Your Sector</Sector>

<Industry>Your Industry</Industry>

<Role>Your Role</Role>

<Department>Your Department</Department>

<Organization>Your Organization</Organization>

<City>Boston</City>

<Country>USA</Country>

<State>Massachusetts</State>

</Request>

</Activation>

You can also download a zip file containing the sample activation file. Extract the file and then open it in your text editor.

NOTE: You must observe the following rules, or the activation will fail:

  • Fields in bold are mandatory.
  • State is a mandatory field if you set the country field to USA, Canada or Australia.
  • You must use a valid email address.
  • You must use abbreviations for the following countries:
    • For United States of America, use USA
    • For United Kingdom, use UK
  • For all other countries, capitalize the first letter of each word—for example, 'Mexico'or 'New Zealand'. Refer to the list of accepted country names for the specific format and spelling for your country name.