SDA supports silent installation on macOS using the standard "installer" command from the terminal
# Purpose
To help admins push installation to their users' systems silently using the "installer" command.
# Details
SDA can be automatically installed from the terminal. The process of customizing the settings that appear in the installer is described below.
- We have 2 distinct files that take user settings and permissions settings.
- These 2 files have to be created as "/tmp/sym_settings.txt" and "/tmp/sym_permissions.txt" respectively for the user settings and permissions settings.
- Both are plain text files containing values of corresponding settings that'll be read by a `post-install script` in the installer.
- So, both have to be set up correctly in order to avoid installation issues.
## sym_settings.txt
The parameters that should be configured in `sym_settings.txt` are listed below. They need to be in the same order as they'll be picked up by the installer in the same order. Do not skip any parameters.
The parameters that should be configured in `sym_permissions.txt` are listed below. They need to be in the same order as they'll be picked up by the installer in the same order.Do not skip any parameters.
To install the package, use the below command with appropriate changes to the path where the app gets installed. It should ideally be in the "/" (root) volume.
**Note:** Since we are installing the package in the root volume, you need to run the above command as `sudo`.
# Fully Packaged Script
We've also provisioned a shell script that can be used to cut out all of the above manual processes. You'll just need to edit the script to set appropriate values (for which we've added comments in the script) for the parameters which are self-explanatory.
You can find the script below. Ensure that you copy the below content to a shell script and provide executable permissions.
```
#!/usr/bin/env bash
## Set the path where the package file exists
package_path=/Users/johndoe/Downloads/SDA.pkg
## DO NOT CHANGE THIS
settings_temp_file="/tmp/sym_settings.txt"
## Set the POD URL and other user related settings.
## Note, all the user related settings should be either "ENABLED", "DISABLED" or "NOT_SET"