Explicit Adobe CCP support

490 views
Skip to first unread message

Gregory Neagle

unread,
Nov 3, 2014, 5:12:32 PM11/3/14
to munk...@googlegroups.com
With this commit:
https://github.com/munki/munki/commit/a6955fd0d4b1dd34a2d8cb1d88f801035f487a53

There is now initial, explicit support for Adobe Creative Cloud Packager packages.

After using CCP to package CC apps, the Build directory of the output directory will contain Foo_Install.pkg and Foo_Uninstall.pkg

To import the CC product into Munki, do this:

munkiimport /path/to/Foo_Install.pkg --uninstallerpkg  /path/to/Foo_Uninstall.pkg

If you deploy CC apps, please test! (I do not currently deploy any CC applications)

-Greg


Gregory Neagle

unread,
Nov 3, 2014, 5:19:27 PM11/3/14
to munk...@googlegroups.com
Available as installer pkg here:  https://munkibuilds.org/2.1.0.2319/

REMINDER/DISCLAIMER/WARNING: this code is intended for testing only. Do not deploy widely to your fleet of managed machines....

-Greg

--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Harry Fike

unread,
Nov 3, 2014, 5:39:11 PM11/3/14
to munk...@googlegroups.com
Thanks for this Greg! I will start testing tomorrow!

-- 
Harry

foigus

unread,
Nov 3, 2014, 11:24:15 PM11/3/14
to munk...@googlegroups.com
A couple of quick tests:

VM has Acrobat XI Pro, Bridge CC, Extension Manager CC, Illustrator CC 2014, InDesign CC 2014, and Photoshop CC 2014 installed.

Acrobat XI Pro
  Uninstall while logged out, successful

Illustrator CC 2014
  Uninstall while logged out and software was licensed with a named user, successful and didn't cause named user to have to log in again

InDesign CC 2014, including DPS Desktop Tools 32.0.0 (R32)
  Uninstall while logged in, successful
  Uninstall while logged out, successful
  In both cases, DPS Desktop Tools InDesign plugin was deleted but the DPS Desktop Tools AIR applications remained

Great stuff!

Gregory Neagle

unread,
Nov 3, 2014, 11:54:18 PM11/3/14
to munk...@googlegroups.com
Any tests of _installs_?

Sent from my iPhone
--

foigus

unread,
Nov 4, 2014, 12:20:04 AM11/4/14
to munk...@googlegroups.com
Sorry--was focusing on uninstallation because the installations built with the existing Munki tools were working correctly.  I'll take a look.

foigus

unread,
Nov 4, 2014, 11:43:09 PM11/4/14
to munk...@googlegroups.com
Results of testing CCP package installation and uninstallation:

Installation Notes
------
- I'm using a RestartAction of RequireLogout, so these installations have all occurred at the Login Window
- I've created installs arrays by hand for most of these CCP packages, so I'll note below what I fed to makepkginfo when it _wasn't_ the application itself
- I've packaged each CC 2014 application independently, including packaging earlier software versions where there is no CC 2014 version (e.g. Fireworks CS6, Edge Inspect CC, etc)
- Updates that are baked into the original CCP pkg may not be recognized by munkiimport.  For example if you munkiimport InDesign CC 2014 with today's most current update, munkiimport suggests version "10.0" rather than the actually installed version of "10.1.0.71".  Installs arrays take care of these issues, but it would be advisable to edit the "version" key in the pkginfo to reflect the software version that's actually installed.

The following CCP packages install properly, however updates may not be reflected in munkiimport's determination of the "version" key
------
- Acrobat XI Pro
- After Effects CC 2014 (including 13.1 update)
- After Effects CC 2014 13.1.1 Update (marked as an update_for After Effects CC 2014)
- Audition CC 2014
- Bridge CC
- DreamWeaver CC 2014.1
- Edge Animate CC 2014.1
- Edge Code Preview CC, Since no version information in the Edge application nor the receipt are usable, an installs array that depends on the MD5 hash of the following file is the best I can determine: /Applications/Adobe Edge Code CC.app/Contents/MacOS/EdgeCode
- ExtendScript Toolkit CC
- Extension Manager CC
- Fireworks CS6
- Flash Builder 4.7
- Flash Professional CC 2014
- Illustrator CC 2014
- InCopy CC 2014
- InDesign CC 2014
- Media Encoder CC 2014
- Photoshop CC 2014.2 (including 15.2 update)
- Photoshop CC 2014.2.1 Update (marked as an update_for Photoshop CC 2014)
- Prelude CC 2014
- Premiere Pro CC 2014
- SpeedGrade CC 2014

The following software installs properly, but munkiimport cannot determine the version number.  This software will not install on a Munki client until an installs array is generated.  These pkgs are unusual because they are native OS X pkgs wrapped in an Adobe installation and then wrapped in a CCP pkg
------
- Edge Inspect CC
- Edge Reflow Preview CC
- Gaming SDK, there isn't a single trackable application installed by this installer item.  The best option for this installer item is to use the receipt attached to the pkg embedded in the installer by running makepkginfo "gaming_sdk_14_namedlicense_Install.pkg/Contents/Resources/Setup/GSDK1.4en_US/Adobe Gaming SDK 1.4.pkg"
- Lightroom 5
- Muse CC 2014
- Scout CC

Uninstallation Notes
------
- When importing CCP pkgs that only contain updates (e.g. the Photoshop CC 2014.2.1 update above), the warning "This item appears to be an Adobe Creative Cloud product install. No uninstaller package was specified so product removal will not be possible.".  It appears this may not be an issue since Adobe doesn't provide uninstall pkgs for CCP pkgs that only contain updates, and it appears the uninstaller for the original software also uninstalls the update.
- During uninstallation, a "RestartAction" of "RequireLogout" in the CCP installer item's pkginfo will require the user to be logged out by Munki during uninstallation.  A "RestartAction" of "RequireRestart" also requires the user to be logged out during uninstallation, but the computer does not restart following that uninstallation.
- The size of the uninstaller was being miscalculated in build 2.1.0.2319, causing uninstallation to be skipped due to lack of disk space even if there was sufficient space to download and run the uninstaller.  This appears to have been fixed by Greg on build 2.1.0.2322.
- Uninstallation failures are inconsistent.  One test case where I installed nearly every Creative Cloud application failed those uninstallations even when double-clicking the CCP-created uninstaller.  With another test case I installed the Edge Reflow Preview CC CCP install pkg on a machine with no previous Adobe software installation, then installed the Edge Reflow Preview CC CCP uninstall pkg.  After the "uninstallation", Edge Reflow remained in the Applications folder.

Uninstallation Successful
------
- Acrobat XI Pro
- After Effects CC 2014
- Audition CC 2014
- Bridge CC
- DreamWeaver CC 2014.1
- Edge Animate CC 2014.1
- ExtendScript Toolkit CC
- Extension Manager CC
- Fireworks CS6
- Flash Builder 4.7
- Flash Professional CC 2014
- Illustrator CC 2014
- InCopy CC 2014
- InDesign CC 2014
- Media Encoder CC 2014
- Muse CC 2014
- Photoshop CC 2014
- Prelude CC 2014
- Premiere Pro CC 2014
- SpeedGrade CC 2014

Uninstallation Failed
------
- Edge Code Preview CC
- Edge Inspect CC
- Edge Reflow Preview CC
- Gaming SDK
- Lightroom 5
- Scout CC

On Monday, November 3, 2014 10:54:18 PM UTC-6, gregn...@mac.com wrote:

foigus

unread,
Nov 6, 2014, 2:51:17 PM11/6/14
to munk...@googlegroups.com
Further testing with the six CCP uninstall pkgs (Edge Code Preview CC, Edge Inspect CC, Edge Reflow Preview CC, Gaming SDK, Lightroom 5, and Scout CC) seems to indicate the uninstallation fails outside of Munki:

- Create CCP pkg of one application
- Install CCP install pkg by double-clicking the pkg in the Finder (e.g. "edge_code_cc_preview_namedlicense_Install.pkg")
- Observe application is installed in /Applications (e.g. "Adobe Edge Code CC")
- Install CCP uninstall pkg by double-clicking the pkg in the Finder (e.g. "edge_code_cc_preview_namedlicense_Uninstall.pkg")
- Observe application is still installed in /Applications

I've reached out to Adobe for further support.

- Patrick

foigus

unread,
Nov 11, 2014, 1:52:33 PM11/11/14
to munk...@googlegroups.com
Adobe was able to reproduce the uninstallation failure of the six applications listed when Munki was not in the mix.  No need to track this further as a Munki issue.

- Patrick

foigus

unread,
Nov 20, 2014, 3:11:35 PM11/20/14
to munk...@googlegroups.com
Still Munki-relevant--Adobe pointed me at this article:


Under "Known behavior and issues" in the "Version 1.3" section, there's documentation about the uninstallation behavior:

"- Problem: Adobe Creative Cloud desktop app, Muse, Inspect, Code, Reflow, Scout, and Lightroom are not removed on uninstallation of the package.
- Workaround: On Windows, all of these can be removed via their uninstaller from the ARP. On Mac OS, Lightroom gets uninstalled on uninstallation of the package but Muse, Inspect, Code, Reflow, Scout, can be removed by moving them to trash. Adobe Creative Cloud desktop app can be removed via its uninstaller present in the utilities."

Support indicated to me that Lightroom also fails to uninstall (even though the above documentation says otherwise).  I'll retest to see if the above list is complete, otherwise this appears to probably be a job for postuninstall_script.

- Patrick

Luke Tinker

unread,
Dec 4, 2014, 1:43:56 AM12/4/14
to munk...@googlegroups.com
Thanks for this,
makes getting the CCP packages working so much simpler,

Just an FYI for anyone who comes across this thread,

If you have your repo version controlled with GIT, 
Then pre-commit and post-commits obviously the path for the key added with "-uninstallerpkg" is not going to be uploaded,
you will need to modify your pre-commit to look for the key added then upload it like it would an install package.

Cheers,
Luke

foigus

unread,
Dec 5, 2014, 12:22:28 PM12/5/14
to munk...@googlegroups.com
I've collected my experiences with Creative Cloud Packager, CC 2014 applications, and distribution with Munki:

Packaging Adobe CC 2014 Applications

Distributing Adobe CC 2014 via Munki

- Patrick

foigus

unread,
Dec 15, 2014, 10:06:14 AM12/15/14
to munk...@googlegroups.com
One more post that may be of interest in this thread.

Distributing DPS Desktop Tools for InDesign CC 2014 with Munki
Reply all
Reply to author
Forward
0 new messages