Help with deploying software on Catalina

olamike
New Contributor III

Hello all

I am trying to deploy our new web security to all mac. I deploy the dmg file and it is pushed to the root directory

326d9ed3c0b64e42be265c0dfed6cff4

and with the following script to run the installer:

!/bin/bash

cd /UssAgent Installer.app
./Contents/MacOS/UssAgent Installer -q -u

This works ok on all the other OS version but Catalina, I was wondering if anyone else have had similar issue and what they did to fix it

thank you

1 REPLY 1

mm2270
Legendary Contributor III

I would try putting in a full path to the main partition in your command, like:

/Volumes/Macintosh HD/UssAgent Installer.app/Contents/MacOS/UssAgent Installer -q -u

Also just to add, you could package this up as a regular .pkg installer, with an embedded postinstall script that would do the same thing. For example, drop the installer into /Volumes/Macintosh HD/private/tmp/ and then have the postinstall script run the installer from there. That would keep the installation self contained, as opposed to a DMG and a separate script.