Mac Management Group

 View Only

Deploy Adobe CS4 to the Mac with Altiris Client Management Suite 7 

Aug 05, 2010 01:04 PM

Altiris®Client Management Suite™ reduces the total cost of owning client systems by automating time-consuming and redundant tasks. By minimizing the efforts and costs associated with deploying, managing, securing and troubleshooting client systems, organizations can gain control of their environments. This easy-to-use, integrated suite of software for Windows, Mac and Linux is designed to address IT management needs for desktop and notebook computers throughout their entire IT lifecycle.


Objectives

This document will focus on using Altiris® Client Management Suite™ 7 to deploy Adobe CS 4 and all applicable security updates to the Mac. 


Adobe® Creative Suite® 4

Getting Started

Prerequisites

First and foremost, this tutorial assumes that the user is using the Mac OS X operating system.  It is required that users follow the instructions found in the Adobe® Creative Suite® 4 Enterprise Manual Deployment User Guide to create the necessary files and installer that support a silent installation.  The PDF can be downloaded from this location:

http://www.adobe.com/aboutadobe/openoptions/pdfs/manualenterprisedeployment_cs4_help.pdf


This will create the following required files for a silent installation.  It is absolutely imperative that these files are located in the correct directories:
  • application.override.xml
  • install.xml
  • remove.xml
*Note: In my testing, the initial deployment failed with an error code of 7, which is “Unable to complete the silent workflow.”  More specifically, the install logs revealed the error, “Exception: Could not get the list of supported languages.”  Further investigation revealed that the Adobe Installer appears to be hard-coded to search for certain payload items in the default path.  For example, my installer path was /Volumes/Adobe/CS4/payloads/….  However, the installer was looking under /Volumes/Adobe Creative Suite 4 Design Premium Disc 1/Adobe CS4 Design Premium/payloads/….  I have not found where in the XML where this can be changed.  It appears the only answer is to create everything using the EXACT path that the original source media uses.


Create DMG File

Once the folder structure is established, follow these steps to create a DMG file.
  1. Right click (or CTRL-Click) the folder and select “Get Info” and note the size of the contents
  2. Open Disk Utility (Applications > Utilities > Disk Utility)
  3. Click the “New Image” icon to create a new disk image – Enter a name for the image, and select a size adequate or the size of your CS4 folder.  Set the encryption to “none” and Format to “read/write disk image.” 
  4. Place the contents of he CS4 folder into the newly mounted disk image.
  5. Unmount the disk image.

Create Installer Shell Script

  1. Create a new shell script file and add the following line
  2. <setup.app path>/Contents/MacOS/Setup --mode=silent --deploymentFile=<install.xml or remove.xml path in quotes>
  3. Sample:/Volumes/Adobe/CS4/Setup.app/Contents/MacOS/Setup --mode=silent --deploymentFile=“/Volumes/Adobe/CS4/install.xml”
  4. Place this file and the DMG file previously created into a folder.  Do NOT include this shell script file in the DMG.  We will not be able to select it as the installation file if it is inside the DMG.
*Note: ‘sudo’, in this instance, is superfluous as the Altiris Agent already runs under a context with sufficient privileges to install this software.


Installation
 

Import CS4 Installer into the Software Catalog


Copy the folder structure you previously created to the Altiris Notification Server or another Windows file share.  Due to the typically large file size of a CS4 installer, the Software Library will not be able to accommodate this file due to a 2GB size limit.  Follow these steps to import the software:
  1. Navigate to Manage > Software in the Symantec Management Console
  2. Go to Software > Software Catalog > Deliverable Software
  3. Select “Import” – this will bring up a modal dialogue
  4. Set Software type to Software Release
  5. Set the Package source to match the specific type of source on which your software is hosted.  We will be using Access package for a directory on the Notification Server
  6. Browse to the location and select the folder that holds the DMG and shell script files
  7. Select Display Location to ensure you have selected the correct folder.  You should see your DMG and shell script files.
  8. Select your shell script file (.sh) and then select Set Installation File.  *Note: if you fail to set the installation file in this step, you will not be able to create command lines.
  9. Select Next
  10. Select the Create a new software resource option
  11. Give this software a meaningful name (e.g. Adobe Creative Suite 4 Design Premium)
  12. Set Company to Adobe Systems
  13. Set Version to 4 (or some other specific version)
  14. Leave the option selected to "Open software resource for editing when finished."  *Note: if you have a popup blocker enabled, it will prevent a new window from opening – please disable beforehand.  If the window gets blocked, simply locate the software in the list, highlight it, and choose edit (pencil icon).
  15. On the Properties tab, Software Product may be “blank”.  Feel free to create a new Software Product named Create Suite.
  16. Select the Package tab.  You will notice a package has already been created for you.  However, a command line may be missing.
  17. Select Add command
  18. Set the Name to Install (Description is optional)
  19. Leave the option selected that Command line requires a package
  20. Your Adobe CS4 package should be selected by default in the Package field
  21. Set Installation file type to “<other>”
  22. Set Command type to Install
  23. Choose option Set as the default for this command type
  24. Select the Edit button for the Command line
  25. Select the .sh file and select OK – the resulting command line should be “NameOfYourFile.sh”
  26. Set Success Codes: 0, 8 (comma delimited)                 
  27. Set Failure Codes to 1, 2, 6, 7, 9, 10, 11, 12, 13, 14 (See above referenced PDF file for details)
  28. Select OK and close the window

Create Disable Adobe Product Improvement Program Task

This task will be run post CS4 installation to disable the Product Improvement popup for new users.
  1. Navigate to Manage > Jobs and Tasks in the Symantec Management Console.
  2. At the root of this folder, create a folder to work in.
  3. Right click on this folder and choose New > Task
  4. Choose the Run Script task type
  5. Name it DisableAdobeProductImprovementProgram (or whatever you like)
  6. Set Script type to UNIX Script
  7. Add the following to the body
  8. defaults write /Library/Preferences/com.adobe.headlights.APIP Enabled -int 0
  9. Save the task by selecting OK

Create Managed Software Delivery Policy

Due to the flexible nature of Managed Software Delivery policies, we will be using this technology to distribute CS4 to Mac users. 
  1. Navigate to Manage > Policies in the Symantec Management Console
  2. Go to Policies > Software > Managed Software Delivery
  3. Right-click on the Managed Software Delivery folder and choose New > Managed Software Delivery
  4. Click on the New Managed Software Delivery title and give it a more meaningful name
  5. Optionally, you can add a Description
  6. While on the Software tab (under Policy Rules/Settings), select Add > Software Resource
  7. Select the CS4 software resource that we created earlier and choose OK
  8. In the right hand pane, make sure we are using the Install Command line and the correct CS4 package
  9. Select Add > Task.  Find the  DisableAdobeProductImprovementProgram task that we created earlier (Type is Run Script), highlight it, and choose OK
  10. Make sure that in the distribution tree that the Task appears AFTER the software
  11. On the Policy settings tab, provide a meaningful Display name (again, description is optional)
  12. On the Software Publishing tab, you have the option of making this software available for end users through the Software Portal.
  13. Collapse the Policy Rules/Actions sections by clicking on the upward facing arrow button on the far right side (next to the Red “Off” you see)
  14. In the Applied to section we will select which machines will receive this policy.  Select Apply to > Computers.
  15. We start with all resources and can “filter” out the ones to which we do not want to distribute this software.  Click Add rule and further refine your results until you are confident that you are only applying this policy to the desired Macs (Hint: continually use the Update results button to see which resources will be targeted by this policy).  Hit OK once you are done.
  16. Again, use the upward arrow on the right hand side to collapse this section.
  17. Use the Add schedule option to determine a time to install the software.  Leave the Remediation option on “Immediately” so that the software installs at that time.
  18. Save changes.
  19. When you are ready, you can turn this policy “On” by clicking the red circle next to the “Off” label and choosing “On.”  Make sure to save changes again.
  20. As soon as the scheduled time occurs, the software will install silently.  This will install using under the Altiris Agent context so if there are any logged in users, they do not have to be local Administrators.


Adobe® Creative Suite® 4 Updates

Getting Started

Prerequisites

  1. Find any relevant CS4 updates and download them
  2. www.adobe.com/support/downloads/collection.jsp?collID=1&platform=Macintosh
  3. We will be using the update Adobe Photoshop CS4 11.0.1 update - multiple languages for demonstration purposes.

Create Installer Shell Script

  1. Create a new shell script file and add the following line
  2. <Path to Adobe Patcher>/Contents/MacOS/AdobePatcher --mode=silent
  3. Sample:  /Volumes/Photoshop_11.0.1_mul_AdobeUpdate/Adobe Photoshop CS4/Setup.app/Contents/MacOS/Setup --mode=silent
  4. Place this file and the downloaded DMG file in a folder, which will be copied to the Symantec Management Server
*Note: ‘sudo’, in this instance, is superfluous, as the Altiris Agent already runs under a context with sufficient privileges to install this software.


Installation

Import software update into the Software Catalog

  1. Navigate to Manage > Software in the Symantec Management Console
  2. Go to Software > Software Catalog > Deliverable Software
  3. Select “Import” – this will bring up a modal dialogue
  4. Set Software type to Software Update
  5. Set the Package source to Software Library.  *Note: If the software update is larger than 2GB then an alternate Package source location is required.
  6. Select the Add button and browse to the folder than contains the software update and installer shell script.  You can multi-select the DMG and .sh file and select Open
  7. With the files listed under the Package Folder, select your shell script file (.sh) and then select Set Installation File.  *Note: if you fail to set the installation file in this step, you will not be able to create command lines.
  8. Select Next
  9. Select the Create a new software resource option
  10. Give this software a meaningful name (e.g. Photoshop CS4 Update)
  11. Set Company to Adobe Systems
  12. Set Version (e.g. 11.0.1)
  13. Leave the option selected to "Open software resource for editing when finished."  *Note: if you have a popup blocker enabled, it will prevent a new window from opening – please disable beforehand.  If the window is blocked, simply locate the software in the list, highlight it, and choose edit (pencil icon).
  14. On the Properties tab, Software Product may be “blank”.  Feel free to create a new Software Product. (e.g. Photoshop CS4)
  15. Select the Package tab.  You will notice a package has already been created for you.  However, a command line may be missing.
  16. Select Add command
  17. Set the Name to Install (Description is optional)
  18. Leave the option selected that Command line requires a package
  19. Your Adobe CS4 package should be selected by default in the Package field
  20. Set Installation file type to “<other>”
  21. Set Command type to Install
  22. Choose option Set as the default for this command type
  23. Select the Edit button for the Command line
  24. Select the .sh file and select OK – the resulting command line should be “NameOfYourFile.sh”
  25. Set Success Codes: 0, 3 (comma delimited)                 
  26. Set Failure Codes to 5, 6, 7, 8, 9 (see kb2.adobe.com/cps/491/cpsid_49171.html)
  27. Select OK and close the window
  28. Select the Associations tab
  29. Set Association type to Updates
  30. Select the Add button and find the CS 4 Suite Software Release (this would have been created above)
  31. Save Changes

Update Managed Software Delivery Policy

Any Managed Delivery policy that was previously created to distribute the base CS4 Suite will automatically be updated.  It is recommended that this updated policy be fully tested in a QA environment before targeting production systems.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.