adobe cs6 hide

Adobe CS6: Hide Undesired Items

This is another of those, ‘a customer asked for a solution and a I wrote a script that I want to share’ posts.

One of our customers wanted Adobe CS6 Master Collection deployed out, but didn’t like all the ‘gubbins’ that got installed too, like the uninstaller shortcuts and the pre-sets folders. I didn’t want to just gut these as they might be needed later on, for example to troubleshoot an issue.

The Solution

Instead, I made use of the ‘chflags hidden’ command and flag to hide the items from the GUI and to clean up the applications folder somewhat.

The end result was a bash script just shy of 150 lines (with some comments) to complete the task that hides the following items from the GUI:

  1. “/Applications/Adobe”
  2. “/Applications/Adobe Acrobat X Pro/Acrobat X Uninstaller”
  3. “/Applications/Adobe After Effects CS6/aerender”
  4. “/Applications/Adobe After Effects CS6/Legal”
  5. “/Applications/Adobe After Effects CS6/Plug-ins”
  6. “/Applications/Adobe After Effects CS6/Presets”
  7. “/Applications/Adobe After Effects CS6/Scripts”
  8. “/Applications/Adobe After Effects CS6/Uninstall Adobe After Effects CS6”
  9. “/Applications/Adobe Audition CS6/Legal”
  10. “/Applications/Adobe Audition CS6/Uninstall Adobe Audition CS6”
  11. “/Applications/Adobe Bridge CS6/Legal”
  12. “/Applications/Adobe Bridge CS6/Plug-Ins”
  13. “/Applications/Adobe Bridge CS6/Presets”
  14. “/Applications/Adobe Bridge CS6/Required”
  15. “/Applications/Adobe Dreamweaver CS6/Configuration”
  16. “/Applications/Adobe Dreamweaver CS6/en_US”
  17. “/Applications/Adobe Dreamweaver CS6/Installer”
  18. “/Applications/Adobe Dreamweaver CS6/Legal”
  19. “/Applications/Adobe Dreamweaver CS6/Sample_files”
  20. “/Applications/Adobe Dreamweaver CS6/Uninstall Adobe Dreamweaver CS6”
  21. “/Applications/Adobe Encore CS6/Legal”
  22. “/Applications/Adobe Encore CS6/Uninstall Adobe Encore CS6”
  23. “/Applications/Adobe Extension Manager CS6/Legal”
  24. “/Applications/Adobe Extension Manager CS6/Resources”
  25. “/Applications/Adobe Fireworks CS6/bridgeDefaultLanguage”
  26. “/Applications/Adobe Fireworks CS6/Configuration”
  27. “/Applications/Adobe Fireworks CS6/Legal”
  28. “/Applications/Adobe Fireworks CS6/Required”
  29. “/Applications/Adobe Fireworks CS6/Uninstall Adobe Fireworks CS6”
  30. “/Applications/Adobe Flash Builder 4.6/Adobe Flash Builder 4.6 – Bitte lesen.pdf”
  31. “/Applications/Adobe Flash Builder 4.6/Adobe Flash Builder 4.6 — Lisez-moi.pdf”
  32. “/Applications/Adobe Flash Builder 4.6/Adobe Flash Builder 4.6 Read Me.pdf”
  33. “/Applications/Adobe Flash Builder 4.6/Adobe Flash Builder 4.6 お読みください.pdf”
  34. “/Applications/Adobe Flash Builder 4.6/Adobe Flash Builder 4.6 自述.pdf”
  35. “/Applications/Adobe Flash Builder 4.6/assets”
  36. “/Applications/Adobe Flash Builder 4.6/configuration”
  37. “/Applications/Adobe Flash Builder 4.6/dropins”
  38. “/Applications/Adobe Flash Builder 4.6/eclipse”
  39. “/Applications/Adobe Flash Builder 4.6/Legal”
  40. “/Applications/Adobe Flash Builder 4.6/p2”
  41. “/Applications/Adobe Flash Builder 4.6/player”
  42. “/Applications/Adobe Flash Builder 4.6/sdks”
  43. “/Applications/Adobe Flash Builder 4.6/utilities”
  44. “/Applications/Adobe Flash Builder 4.6/Важное о Adobe Flash Builder 4.6.pdf”
  45. “/Applications/Adobe Flash Builder 4.6/Uninstall Adobe Flash Builder 4.6”
  46. “/Applications/Adobe Flash CS6/AIR3.2”
  47. “/Applications/Adobe Flash CS6/AIR3.4”
  48. “/Applications/Adobe Flash CS6/Common”
  49. “/Applications/Adobe Flash CS6/en_US”
  50. “/Applications/Adobe Flash CS6/Legal”
  51. “/Applications/Adobe Flash CS6/Players”
  52. “/Applications/Adobe Flash CS6/XManConfig.xml”
  53. “/Applications/Adobe Flash CS6/Uninstall Adobe Flash CS6”
  54. “/Applications/Adobe Illustrator CS6/Configuration”
  55. “/Applications/Adobe Illustrator CS6/Cool Extras.localized”
  56. “/Applications/Adobe Illustrator CS6/Legal”
  57. “/Applications/Adobe Illustrator CS6/Plug-ins.localized”
  58. “/Applications/Adobe Illustrator CS6/Presets.localized”
  59. “/Applications/Adobe Illustrator CS6/Read Me.localized”
  60. “/Applications/Adobe Illustrator CS6/Scripting.localized”
  61. “/Applications/Adobe Illustrator CS6/Uninstall Adobe Illustrator CS6”
  62. “/Applications/Adobe InDesign CS6/Configuration”
  63. “/Applications/Adobe InDesign CS6/Documentation”
  64. “/Applications/Adobe InDesign CS6/Fonts”
  65. “/Applications/Adobe InDesign CS6/Legal”
  66. “/Applications/Adobe InDesign CS6/Plug-Ins”
  67. “/Applications/Adobe InDesign CS6/Presets”
  68. “/Applications/Adobe InDesign CS6/Scripts”
  69. “/Applications/Adobe InDesign CS6/Uninstall Adobe InDesign CS6”
  70. “/Applications/Adobe Media Encoder CS6/Configuration”
  71. “/Applications/Adobe Photoshop CS6/Configuration”
  72. “/Applications/Adobe Photoshop CS6/Legal”
  73. “/Applications/Adobe Photoshop CS6/LegalNotices.pdf”
  74. “/Applications/Adobe Photoshop CS6/Locales”
  75. “/Applications/Adobe Photoshop CS6/Photoshop CS6 Read Me.pdf”
  76. “/Applications/Adobe Photoshop CS6/Plug-ins”
  77. “/Applications/Adobe Photoshop CS6/Presets”
  78. “/Applications/Adobe Photoshop CS6/Uninstall Adobe Photoshop CS6”
  79. “/Applications/Adobe Prelude CS6/Configuration”
  80. “/Applications/Adobe Prelude CS6/Uninstall Adobe Prelude CS6”
  81. “/Applications/Adobe Premiere Pro CS6/Configuration”
  82. “/Applications/Adobe Premiere Pro CS6/Presets”
  83. “/Applications/Adobe Premiere Pro CS6/Uninstall Adobe Premiere Pro CS6”
  84. “/Applications/Adobe SpeedGrade CS6/Uninstall Adobe SpeedGrade CS6”
  85. “/Applications/Utilities/Adobe Application Manager”
  86. “/Applications/Utilities/Adobe Installers”
  87. “/Applications/Utilities/Adobe Utilities-CS6.localized/ExtendScript Toolkit CS6/ExtendScript Toolkit ReadMe.pdf”
  88. “/Applications/Utilities/Adobe Utilities-CS6.localized/ExtendScript Toolkit CS6/Legal”
  89. “/Applications/Utilities/Adobe Utilities-CS6.localized/ExtendScript Toolkit CS6/SDK”
  90. “/Applications/Utilities/Adobe Flash Player Install Manager.app”

The exception to this is the Acrobat Pro X uninstaller (“/Applications/Adobe Acrobat X Pro/Acrobat X Uninstaller”) that I couldn’t hide, so instead the script will remove this.

The Script

Rather than paste out the entire script we have added this to our public github repo. The script can be pulled from here.

Before you ask, no I didn’t manually write out all of those paths! Instead I selected all the items I wanted, dragged these into Text Wrangler whilst holding down the “cmd” key (to drag in the paths and not the objects themselves), then utilised the prefix / suffix options in Text Wranger to add “chflags hidden” to each line. I did have to go through and complete some clean up and comments but otherwise that was the bulk of the work completed in a matter of minutes.

Alternative methods

As with most things, there are many ways to skin a cat, there are also many ways to script something like this, including:

  1. Making use of a function to accept each file path, run some error checking and carry out the hiding.
    a. I didn’t use this as the methods I used were sufficient for my needs.
  2. Not bothering at all.
    a. This was an option, however seeing how clean the Applications folder looked afterwards made it worthwhile.
  3. Use another / better scripting language.
    a. I know bash / shell scripting well enough to be happy using over alternatives at the moment.

Summary

And that’s another possibly helpful script added for your use. Please feel free to test out, and tweak as much as you wish, just please ensure to run on test systems first to be 100% happy that it works in your environment.

As always, if you have any questions, queries or comments, let us know below and I’ll try to respond to and delve into as many as I can.

2 Replies to "Adobe CS6: Hide Undesired Items"

    • Darren Wallace

      Hi Ken,
      It will depend on the solution you are using to manage your Macs.
      Possibilities include:
      – Outset (run once)
      – DeployStudio (on reboot)
      – Jamf Pro (formally Casper – on reboot or via a policy)
      – Munki (using a package post-flight)
      – Imagr (Frist Boot)
      – ARD (using the ‘run UNIX command’ option)
      – Manually (In terminal with `sudo`)

      I hope that helps!

      Darren

Leave a Reply

Your email address will not be published. Required fields are marked *