Skip to main content
Question

Help with deploying software on Catalina

  • March 17, 2020
  • 1 reply
  • 7 views

Forum|alt.badge.img+4

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

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

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • March 17, 2020

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.