Installing Adobe Unit Types 2.1.0

Standard

This post advises why you may need to update the Adobe Unit Types.osax file & how to do so using Casper.

The Adobe Unit Types.osax file that shipped with Photoshop CS4 and CS3 is a 32-bit component. Mac OS X 10.6 (Snow Leopard) requires some 64-bit scripting environments.

This file is placed in /Library/ScriptingAdditions/ & can cause Applescripts to fail to run.

Both Adobe & JAMF have posted help docs on how to fix this & this post is to advise how I’ve deployed to corrected osax file to affected machines.

If your already a competent Casper User follow the Short Guide, if not follow the Step By Step Guide.

Short Guide:

    1. Download Adobe Unit Types.osax 2.1.0 from here.
    2. Copy the downloaded Adobe Unit Types.osax file to /Library/ScriptingAdditions/
    3. Whilst the newly downloaded Adobe Unit Types IS 2.1.0 Adobe haven’t updated the CFBundlVersion in the Info.plist, we can do this via the following in terminal:
    4. Open “Composer” & create a DMG of /Library/ScriptingAdditions/Adobe Unit Types.osax called “Adobe Unit Types 2.1.0.osax” .
    5. Add “Adobe Unit Types 2.1.0.osax 2.1.0.dmg” to Casper Admin & index.
    6. Set priority to “12,” set stage to “Deployable,” Tick “Allow this package to be uninstalled by Casper or a Policy,” set “OS Requirements” to “10.6.x” & tick “Install Only if Processor is:” & from the drop down list to the right select “x86.”
    7. Save & close Casper Admin.
    8. Login to JSS.
    9. Create an Extension Attribute called “Adobe Unit Types” using the below script: 
    10. Create two smart groups, one  scoped to “Operating System” is like “10.6,”  Extension Attribute “Adobe Unit Type” is “2.0.0” & named  “Adobe Unit Types 2.0.0 Installed 10.6” the other group scoped to “Operating System” is like “10.6,”  Extension Attribute “Adobe Unit Type” is “2.1.0” & named  “Adobe Unit Types 2.1.0 Installed 10.6.”
    11. Create a policy triggered by the “every15” trigger, executed “Ongoing” scoped to the “Adobe Unit Types 2.0.0 Installed 10.6” installing the “Adobe Unit Types 2.1.0.osax 2.1.0.dmg” & updating inventory afterwards.

    Step by Step Guide:

      1. Download Adobe Unit Types.osax 2.1.0 from here.
      2. Copy the downloaded Adobe Unit Types.osax file to /Library/ScriptingAdditions/
      3. Whilst the newly downloaded Adobe Unit Types IS 2.1.0 Adobe haven’t updated the CFBundlVersion in the Info.plist, we can do this via the following in terminal:
      4. Open “Composer” & authenticate as a local admin when prompted.
      5. Once changed, created a DMG of the Adobe Unit Types folder by dragging /Library/ScriptingAdditions/Adobe Unit Types.osax into Composer.
      6. In the sources list, rename the dmg “Adobe Unit Types 2.1.0.osax”
      7. With “Adobe Unit Types 2.1.0.osax” selected, click the “Library folder” in Composers main pane.
      8. Next click the gear icon at the bottom of the Composer window & from the drop down list select “Apply Permissions to “Library” & all enclosed items.”
      9. Click “Build as DMG” to the lower right of the Composer screen.
      10. Save the “Adobe Unit Types 2.1.0.osax 2.1.0.dmg” to your Desktop.
      11. Close Composer.
      12. Open Casper Admin & authenticate as to your JSS when prompted.
      13. Drag the “Adobe Unit Types 2.1.0.osax 2.1.0.dmg” to Casper Admins centrally located packages pane.
      14. Find the “Adobe Unit Types 2.1.0.osax 2.1.0.dmg” dmg in the list of packages (name should be in blue) & single click it.
      15. With “Adobe Unit Types 2.1.0.osax 2.1.0.dmg” selected, click the “Index” button to the bottom right of the Casper Admin window.
      16. Authenticate as a local admin when prompted & wait for the indexing process to complete.
      17. Once complete double click “Adobe Unit Types 2.1.0.osax 2.1.0.dmg”
      18. A window should now appear titled: “Information for Adobe Unit Types 2.1.0.osax 2.1.0.dmg.”
      19. Click the “Info” tab & enter details in the “Info” & “Notes” text fields for the DMG as per your usual convention.
      20. Under “Category” click the drop down list & select an appropriate catergory.
      21. Click the “Options” tab.
      22. To the right of the “Priority:” field select “12” from the drop down list.
      23. To the right of the “Stage:” field select “Deployable” from the drop down list
      24. Tick “Allow this package to be uninstalled by Casper or a Policy”
      25. In the “OS Requirements:” text field enter “10.6.x”
      26. Tick “Install Only if Processor is:” & from the drop down list to the right select “x86”
      27. To the right “If the target computer is not x86” select “Do not install” from the drop down list.
      28. Click “OK”
      29. Quit Casper Admin clicking “Save” when prompted.
      30. Once DMG has been uploaded, open JSS Web Page & login.
      31. Once logged in click Settings > Inventory Options > Inventory Collection Preferences > Extension Attributes & create a new Extension Attribute called “Adobe Unit Type.”
      32. To the right of the “Input Type:” field select “Populated by Script” from the drop down list.
      33. In the  “Mac OS X Script Contents” text field enter the below:
      34. Next create a Smart Group by clicking Management > Smart Computer Groups > Create smart Group.
      35. Enter “Adobe Unit Types 2.0.0 Installed 10.6” in the group name you like in the Computer Group Name field.
      36. Click the “+” to the right of “OS Configuration Information.”
      37. Select “Operating System” from the list.
      38. Once returned to the Edit Smart Group screen change the option next to “Operating System” to “like” & in the text field enter “10.6.”
      39. Click the “+” to the right of “Extension Attributes Information.”
      40. Select “Adobe Units Type”  from the list.
      41. Once returned to the Edit Smart Group screen change the option next to “Adobe Units Type” to “is” & in the text field enter “2.0.0.”
      42. Click “Save”
      43. Repeat steps 34-42 with replacing “2.0.0” with “2.1.0” where it exists.
      44. You’ll now have all the Smart Groups needed for this & will be ready to create a Policy to deploy Adobe Unit Types.osax 2.1.0 to all 10.6 Macs running the older version.
      45. Click > Management > Policies > Create Policy > select “Create Policy Manually” > Continue.
      46. Under “Display and Execution Settings” in the field “Display Name” type: “Install Adobe Unit Types.”
      47. In the “Category” drop down list select an option that’s applicable for your environment.
      48. In the “Triggered By” field select “The every15 trigger.”
      49. In the “Execution Frequency” field select “Ongoing.”
      50. Select “Scope” from the row of icons.
      51. Under “Assign to Specific Computers” click “Add Computer Groups.”
      52. Tick the box next to the  Smart group “Adobe Unit Types 2.0.0” installed.
      53. Click “Add Computer Groups”
      54. Select “Packages” from the row of icons.
      55. Click “Add Package.”
      56. Find the “Adobe Unit Types 2.1.0.dmg” we created & uploaded to Casper Admin.
      57. In the “Action” field to the right of “Adobe Unit Types 2.1.0.dmg” select “Install” from the drop down list.
      58. Click “Add Package(s)” at the bottom of the web page.
      59. Select “Advanced” from the row of icons.
      60. Tick “Update Inventory”
      61. Click “Save”

      Phew..

      The policy will now install “Adobe Unit Types 2.1.0.osax.dmg” on all macs that have Adobe Unit Types 2.0.0.osax installed & are 10.6. once installed the last update inventory command will remove them from the “Adobe Unit Types 2.0.0 Installed 10.6” smart group & add them too the “Adobe Unit Types 2.1.0 Installed 10.6” group.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.