Cortex XDR Mac OS Install Script?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Cortex XDR Mac OS Install Script?

L1 Bithead

Does anyone have a shell script they can share for a silent install of the Cortex XDR agent?

 

Thanks in advance.

1 accepted solution

Accepted Solutions

Got is sorted out. The code above does work. The issue was our current path was not correct.

View solution in original post

2 REPLIES 2

L1 Bithead

I should add the reason I ask it because the code below seems to be exiting with a result code of "1" indicating an error, and Cortex does not get installed. Note: I removed the space from the package name to simplify the script.

 

installer -pkg "CortexXDR.pkg" -target /

Got is sorted out. The code above does work. The issue was our current path was not correct.

  • 1 accepted solution
  • 3012 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!