If you do not have Internet access on the computer, where Metashape Professional license should be activated, the activation server is not available or standard activation procedure is not suitable for you for any reason, then the offline activation procedure should be performed.

The article describes the following steps:


Creation an offline activation file


Automatic creation an offline activation file


If you do not have Internet access, Metashape Pro will suggest to save an offline activation request file. In the Agisoft Metashape Professional Activation dialog window you need to click on Save Activation Request button:



Then specify the path where the *.act file will be saved. The activation request should be submitted to Agisoft support team via e-mail (support@agisoft.com) or via helpdesk form. 



How to create an offline activation file manually


If you have access to the Internet and you want to create a file for offline activation, then you can do it manually.


To create the offline activation request you need to start Agisoft Metashape Professional executable from the command line using --activate-offline argument. It may be slightly different depending on the OS you are using and the folder where Metashape Professional is installed or unpacked. Below you can find the main steps for your operating system.


Windows


On Windows (run cmd.exe without the administrator privileges from the Start/Search menu):

"%programfiles%/Agisoft/Metashape Pro/metashape.exe" --activate-offline 11111-22222-33333-44444-55555 C:/Windows/Temp/request.act


The screenshot below shows the input command and the output message, indicating that the offline activation request has been generated:


Note that valid license key sequence should be input! Word wrap is applied automatically in the example below, due to the width of cmd.exe window




Linux


On Linux (from terminal, providing that you have browsed to folder with unpacked Metashape Professional):

./metashape.sh --activate-offline 11111-22222-33333-44444-55555 /var/tmp/request.act


The screenshot below shows the input command and the output message, indicating that the offline activation request has been generated:


Note that valid license key sequence should be input! Word wrap is applied automatically in the example below, due to the width of Linux Terminal.






macOS


On macOS (from Terminal that can be started from the Launchpad, the example below assumes that MetashapePro.app bundle is put to /Applications/ folder, if it is the different location, use different absolute path):

/Applications/MetashapePro.app/Contents/MacOS/MetashapePro --activate-offline 11111-22222-33333-44444-55555 ~/Desktop/request.act


The screenshot below shows the input command and the output message, indicating that the offline activation request has been generated:


Note that valid license key sequence should be input! Word wrap is applied automatically in the example below, due to the width of macOS Terminal



If you observe the error message related to missing privileges to access /Library/Application Support/ folder contents, run the same command with sudo prefix to use the elevated privileges. When the command is input you'll be asked to confirm the administrator user password - once confirmed, the activation request file will be created:




Please note that you need to use your license key instead of the mock license key in the example, also check the path to the folder where the activation request is created (the last argument) - it should be valid and you need to have the write access rights for it.



The activation request should be submitted to Agisoft support team via e-mail (support@agisoft.com) or via helpdesk form.



An alternative way of offline activation (using tweak)


An alternative way of offline activation request file creation is using a special tweak in Metashape:


1. Open Advanced Preferences tab in Metashape window and click on Tweaks button.


2. Click on Add button to create a new parameter.


3. Name the parameter main/activate_offline and set its value to False


4. Click OK button to apply the changes.


5. Go to Help menu > Activate Product dialog, input your license key to the activation dialog, click OK and confirm the offline activation request creation (specify the target path to *.act file to be generated).



How to install license file


The license file (*.lic) that was received from Agisoft support team needs to activate program. You need to specify the path for the license file. Select Install existing license file and click OK button in the Agisoft Metashape Professional Activation dialog window:

Specify path for file with license (*.lic) in the Open dialog window and click Open button.



Alternatively, you can put the license file to Metashape Professional installation directory manually.


On Windows 

the default installation folder is C:/Program Files/Agisoft/Metashape Pro/


On Linux 

you need to put the license file to the directory where MetashapePro is unpacked to.


On macOS 

you need to put the license file either to the MetashapePro application bundle contents: MetashapePro.app/Contents/MacOS/ (right click on MetashapePro.app and choose Show Package Contents option from the context menu), or to the following directory: /Library/Application Support/Agisoft/Metashape Pro/

If the latter doesn't yet exist please use the elevated privileges to create this directory and give the required access rights to it with the following two commands executed from the Terminal:

sudo mkdir "/Library/Application Support/Agisoft/Metashape Pro"

and

sudo chmod 777 "/Library/Application Support/Agisoft/Metashape Pro"