@ray.henry , I also use Manage Engine's DC and always run into issues using the agent. The only way to fix this issue is by re-packaging the agent on your own, here is what I normally do to package it via Composer:
1- Download the agent from the DC site
2- Open Composer and drag your package from step 1 into it
3- Create a folder structure as you see in the screenshot above
4- Package it 5- Copy the package to to your DP and create your policy
If this is a machine with an existing agent on it, you might want to configure Files and Processes in your policy so that the Agent restarts after the upgrade
And this is how the package looks like in Composer
Hope this helps
Hi, I am new to composer so please bear with me. Not sure what I am doing wrong. I have created the package from the source as described and applied the permissions. The files get copied to the target mac but the agent does not install. What am I missing - how do I get the agent to actually install?
Any help / guidance would be appreciated.
Hi @rnoureddine, first thanks for the lead on how to set this up.
But looking at your pictures, the Composer .pkg that you create would only place the folder in /users/shared/DCMacAgent... It would not install the agent on the machine. If you have the missing piece, it would be greatly appreciated.
I will also dig it to see if I can find a solution
Got it. I also have the package set to install… But since the .pkg we built is only placing the folder DCMacAgent into /Users/Shared/ when you install it that what it installs… It doesn’t actually install the .pkg that came from DC, it only places the DCMacAgent folder in /Users/Shared/
Anyways, I added
sudo installer -pkg /Users/Shared/DCMacAgent/DesktopCentral_MacAgent.pkg -target /
To Files and Processes and it seems to have worked. I only have tested on one Monterey and one Catalina.
Yes, the installer command from the readme needs to be run.
I didn't need to run the "kickstart" command, and scan results showed up instantly in SDP. If you have trusted communication enabled, you'll have additional files in the .zip file to include. It doesn't need to be go in /Users/Shared, it can be anywhere, but you'll want to set the owner/group in Composer.