Automated Installation
You can install the COMSOL software using an automated installation process with minimal user interaction. This method requires installation from the offline installer 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 in the DMG image.
To perform an automated installation:
1
2
Copy setupconfig.ini to a local directory and customize it as needed.
3
Right-click COMSOL 6.4 Installer and select Show Package Contents.
4
Navigate to Contents > Resources and locate the setup executable.
5
6
Click and drag the setup executable to the terminal window. The full path should be copied to the command prompt.
7
In the terminal, add -s and the full path of your setupconfig.ini file to the command, with spaces in between. If needed, it should be possible to click and drag the setupconfig.ini file to the terminal to input the path.
8
/Volumes/COMSOL64_full_macarm64/COMSOL\ 6.4\ Installer.app/Contents/Resources/setup -s /Users/username/Desktop/setupconfig.ini
or this:
/Volumes/COMSOL64_full_maci64/COMSOL\ 6.4\ Installer.app/Contents/Resources/setup -s /Users/username/Desktop/setupconfig.ini
depending on the CPU architecture.