Installing DeviceLock : Deploying DeviceLock Service for Mac : Unattended Installation
  
Unattended Installation
To install DeviceLock Service for Mac without user intervention, you will need using the command line installation tool in the silent mode.
Unattended installation is performed by running the installation tool with the parameter --silent or --delayed in the command line. The --delayed parameter also implies --silent. Note that depending on whether or not the “root” user appears in the list of DeviceLock Administrators, the installation tool will exhibit different behavior:
If the installation utility is launched without specifying a .pkg file, it will install the first .pkg file located in the same directory where the tool is located. If there are several .pkg files in that directory, a random one may be installed.
A specific .pkg file can be used by appending the full file name after the --package key. The keys can be used in any order. Relative file names are supported.
Finally, the installation utility will perform a silent install if “root” is not included in the list of DeviceLock Administrators. If this is the case, the installation tool will copy the .pkg file into the /Library/DeviceLockPackages directory. The service will reinstall or update on next reboot.
You can configure DeviceLock Service for Mac automatically immediately after installation. To pre-configure DeviceLock Service for Mac during installation, edit the file devicelock.ini by adding the path to the .dls settings file. You can use a local or network path.
For example:
sudo /MyDirectory/install --silent --package /SomeDir/DeviceLock.pkg --settings /SomeDir/devicelock.ini
 
Note: The format of the file devicelock.ini for Mac is the same as for Windows (see Unattended Installation for Windows), with the difference that only the SettingsFile parameter is in effect. This parameter specifies the path and name of the settings file (.dls) to be used to configure DeviceLock Service just following the installation.