ManageEngine Endpoint Central Agent

dgeiler
Contributor

To all, we are trying to create a package for self-service to install and launch. 

I have followed the directions from tech support:
1. Open the Endpoint Central Cloud Console 
2. Redirect to the Agent Module
3. Click on the Computers sub-tab
4. Click on the Download Agent/Copy the download link for Mac
I followed the read me 

Follow the steps mentioned below to install/Uninstall Endpoint Central Agent:

Installing Mac Agent
Mac agents can be installed manually in the computers that need to be managed. If a previous version of the Endpoint Central agent is already installed on the client computer, then uninstall it before installing the latest agent.
To install the agent, log in to the computer as an administrator and follow the steps mentioned below:

1. Login into the Mac computer as an administrator and navigate to the location where the agent is downloaded.
2. Extract the zip file and locate UEMS_MacAgent.pkg and serverinfo.plist file.
3. Double-click to install the agent. Ensure that the extracted folder contains both the files in the same location, serverinfo.plist and UEMS_MacAgent.pkg
4. Enter the administrator's password when prompted to complete installation.
Once the agent is installed successfully, the Mac computer will be listed in the SoM page in the Endpoint Central web console.

It works fine when I load from the file. When I try to repackage from composer it fails to install. I have tried to use the ManageEngine UEMS - Agent.app it will install through jamf but will not launch. I have tried to recreate a package from there but the new package has a package inside. 

I was hoping some one can help

 

 

3 REPLIES 3

AJPinto
Honored Contributor III

You probably want to reach out to the vendor and ask for managed distribution instructions. No business grade application worth having does not have managed distribution instructions this day in age.

 

Taking the vendors instructions literally for a clean install.

  1. You will want to put their package, and .plist file in a temp directory (something like /private/tmp/nonsense_here).
  2. Then use Jamf Composer to package this directory.
  3. In Jamf Composer, put a post install script on the packge you are making to run the vendors package (sudo installer -pkg /path/to/package.pkg -target /).
  4. Upload the Jamf Composer created package to Jamf Pro, add the package to a policy and deploy.

This will cache the vendor package, and plist to the same working directory as their instructions tell you to do. Then the terminal command in the Jamf Composer package will run the vendors package with admin permissions, again as the vendor says to do. You may need to tinker a bit to get a good work flow, but this should be the nuts and bolts of automating what you are doing manually. 

 

Note: If you use /private/tmp macOS will automatically delete the files when the device reboots. If you place them somewhere else, you will need a script to come behind and delete the files.

jamf-42
Valued Contributor II

googlefu provides some info for intune..  basically take the serverinfo.plist rename it, make it a config profile and deploy, then the deploy the pkg in a policy.... https://www.manageengine.com/products/desktop-central/how-to/agent-installation-with-intune.html 

really the vendor should provide a bit more assistance.. 

How to deploy a Mac agent using Jamf ?

Description

Install Mac agents using Jamf

Steps

To successfully install a Mac agent using Jamf, follow the steps given below:

Prerequisites

  • Login to the Endpoint Central web console and navigate to Agent --> Computers --> Download Agent.
  • Choose the appropriate remote office and select the operating system as Mac.
  • Navigate to the folder where the agent is downloaded. Extract the zip file and locate UEMS_MacAgent.pkg and serverinfo.plist file.
  • Rename serverinfo.plist to com.manageengine.ems.plist.

Steps to deploy com.manageengine.ems.plist:

  1. In the Jamf console, Select Computers --> Configuration profiles --> New
  2. Select Application and Custom Settings and click Configure.
  3. Click Upload file.
  4. Enter the preference domain as com.manageengine.ems.
  5. Click Upload Plist file and then choose com.manageengine.ems.plist.
  6. Click the Scope tab and then modify the scope of the configuration profile.
  7. Click Save.

dgeiler_2-1713972425999.png

 

com.manageengine.ems.plist will be deployed to /Library/Managed Preferences/ folder in the mac machine. It can be verified there.

Steps to deploy UEMS_MacAgent.pkg:

  1. In the Jamf Console, Select Computers > Policies > New.
  2. Use the General payload to configure basic settings for the policy, including the trigger and execution frequency.
  3. Select the Packages payload and click Configure.
  4. Click Add to add the package you want to install.
  5. Configure the settings for the package.
  6. Click the Scope tab and configure the scope of the policy.
  7. Click Save.

dgeiler_3-1713972425994.png

 

The pkg will find the preference plist deployed before and will install successfully.

Was this article helpful?