Skip to main content
Mac Agent 24.31 (2024-08-19)
A
Written by Arick Disilva
Updated over 3 months ago

New Feature

Ability to Customize the Installation Package

We have added the ability to customize the standard installation package so that you can add any scripts or modify the configuration file post-installation.

For example, if you want to add the network-exclude-bundles parameter to exclude the Chrome process from the network driver, you can do the following:

1. Extract the content of the pkg file to any folder. For example:

pkgutil --expand tmagent-stealth-24.29.5022.pkg tmp


2. Open the postinstall script file using a text editor. For example:

nano tmp/Scripts/postinstall

3. Use the echo command to add lines to the configuration file:

echo "network-exclude-bundles=com.google.Chrome">>/usr/local/teramind/agent/etc/agent.conf

4. Save the file, and close it.

5. Pack the tmp folder to the pkg file using the packaging utility (pkgutil):

pkgutil --flatten tmp tmagent-stealth-24.29.5022.pkg

6. Run the package file. The network-exclude-bundles parameter will be added to the configuration file.

After the pkg file modification, macOS might show a warning about the pkg file not being trusted. If this case, hold the CONTROL(^) button, click the pkg file, and select the "Open" option from the context menu.

Check out the How to download and install the Teramind Agent article to learn more about the installation/configuration parameters.

Modifying the installer package this way might corrupt the installer and cause strange system behaviors. Use with caution!

Bug Fix

Network Connection Error on the Session Player

Due to a bug, the Session Player would show a "Network connection error" message after about 10 seconds of playback:

The bug is fixed now.

Did this answer your question?