Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-2671: Cannot remove scripts in the Mac 5.0.3 Agent for silent remote installation via ARD.

Mac & PC Management Service ,  

12 April,16 at 11:08 AM

Applies to: Centrify DirectControl Agent for Mac OS X version 5.0.3
The documentation for configuring the Centrify Agent for remote installation via Apple Remote Desktop state that the extracted CentrifyDC.pkg file can be navigated into for removal of, and editing of the post-installation script to allow for silent remote deployments and automatic post-install operations. 
However the 5.0.3 Mac Agent does not appear to be packaged in such a way that it can be opened, therefore the adjustments required for deployment via ARD cannot be made.
Is this an omission, or is ARD not supported as a deployment method for the 5.0.3 package? 
Reference: Admin Guide for Mac OS X (2012 Edition) - pg217
The 5.0.3 package was packaged slightly differently and requires an extra step for extraction - after taking the pkg file out of the dmg, it needs to be expanded with the pkgutil command: 
  pkgutil --expand /path/to/CentrifyDC-5.0.3.pkg ~/Desktop/5.0.3/ 
Inside there will be another .pkg file which will be navigable. 
After the changes have been made, a new pkg file can be created with the with the --flatten switch. 
For more information, see: pkgutil --help 
As of version 5.1.1 onwards, it is no longer necessary to modify the Centrify agent installer for silent remote installation. The package can be natively pushed via ARD and will be installed in the background without prompting the user. 

Post-installation scripts however are no longer supported. See the following KB for more info:

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.