Automated Installation
You can install the COMSOL software using an automated installation process with minimal user interaction. This method requires installation from a DVD or DVD image and an answer file.
The answer file is a text file with a specific format that contains predefined settings for the COMSOL installer. If non-ASCII characters are used, the answer file is expected to be UTF-8 encoded by default, but UTF-16 is also supported if the file starts with a byte order mark (BOM).
A template answer file, setupconfig.ini, with detailed usage information is available on the DVD. Create a copy of this file and customize it with a text editor.
When the answer file is ready, start the installation by running
<path to DVD>\setup.exe -s <answer file path>
where <answer file path> is the full path to your answer file.
Automated Removal (Uninstallation) of COMSOL
You can also uninstall COMSOL with an answer file by following these steps:
1
Edit the answer file and set installmode to uninstall.
2
Set installdir to the path of the installation you want to remove.
3
Run <path to COMSOL>\bin\win64\setup.exe -s <answer file path>
where <answer file path> is the full path to your answer file. If you are running this command in a command prompt (for example, cmd), make sure that the current working directory is outside the COMSOL installation directory.