How to I make use of the activate.ini file to activate standalone MATLAB installations?
Silent activation is available for two activation scenarios:
- Offline activation (requires that a license file be manually generated at the License Center) and
- Unassociated activation is only available for certain Designated Computer license types.
- To use silent activation you must first complete the self-documented template activate.ini file.
- Navigate to the folder containing the activation application.
# (Windows) $MATLABROOT\bin\$ARCH
# (Mac/Linux) $MATLABROOT/bin
- Launch the activation application from the command line,
# using the -properties File option to specify the name of your activation initialization file.
# (Windows) activate_matlab.exe -propertiesFile <file_name>
# (Mac/Linux) activate_matlab.sh -propertiesFile <file_name>
The basic instructions for running the Silent Installer can be found in the silent installation file.
- For R2010b or later: installer_input.txt
- For R2009b or earlier (only available on Windows): installer.ini
There are several things you should be aware of:
1) Any of the options in the file that have a true/false option must be filled out. Leaving the field blank will result in errors
2) The DEBUG OUTPUT FILE option can be left blank.
3) Do not use quotation marks around the destination path in the file.
4) UNC paths (paths that use the form \\SERVER\directory\) will not work inside the silent installer file for R2010a and earlier. These paths the must be to mapped drive letters.
The installer must be started with the -inputFile tag. This looks like:
– Obtaining the machine’s HostID.
– Activating your license through the License Center on a machine that is connected to the Internet.
– Performing an offline installation and activation using the File Installation Key and license file.