Adobe Lightroom CC/6 CCP with Munki/MSC

71 views
Skip to first unread message

Miq Viq

unread,
Apr 23, 2015, 7:15:50 AM4/23/15
to munk...@googlegroups.com
Hi all,


Adobe has released a new version of Lightroom, versioned 6 or CC.

Intial deployiment testing using Munki seems good.

I created the installer/uninstaller combo with the latest CCP on OS X 10.10.3.

Imported to repo:

munkiimport Desktop/Adobe_LightroomCC/Build/Adobe_LightroomCC_Install.pkg --pkgvers=6.0.0 --name="Adobe_LightroomCC" --displayname="Adobe Lightroom CC" --category="CC 2014" --developer="Adobe" --subdirectory="Adobe/CC_2014/SingleApps" --blocking_application="Adobe Lightroom.app" --blocking_application="Adobe Photoshop Lightroom 5.app"--catalog=testing --uninstallerpkg=Desktop/Adobe_LightroomCC/Build/Adobe_LightroomCC_Uninstall.pkg

Adobe has changed Lightroom installer packaging to standard "Adobe Installer" which is positive change, I guess.
Still they do not understand the meaning of CFBundleShortVersionString...

Installing and uninstalling worked fine with both user logged in and in loginwindow.

Here is my rats-nest post_install for it:

<key>postinstall_script</key>
<string>#!/bin/bash

# set human readable version
defaults write "/Applications/Adobe Lightroom/Adobe Lightroom.app/Contents/Info" CFBundleShortVersionString "6.0" 2&gt;/dev/null
plutil -convert xml1 "/Applications/Adobe Lightroom/Adobe Lightroom.app/Contents/Info.plist" 2&gt;/dev/null
chmod a+r "/Applications/Adobe Lightroom/Adobe Lightroom.app/Contents/Info.plist" 2&gt;/dev/null

# remove previous version
rm -rf "/Applications/Adobe Photoshop Lightroom 5.app" 2&gt;/dev/null
pkgutil --forget com.adobe.Lightroom5 2&gt;/dev/null
pkgutil --forget com.adobe.Enterprise.install.BAE6DBA1-6196-4F6A-B3B9-2EBCC4B87B09 2&gt;/dev/null

# enable manual updates for staff
adobeUpdAdmPrefsFile="/Library/Application Support/Adobe/AAMUpdaterInventory/1.0/AdobeUpdaterAdminPrefs.dat"
if defaults read /var/root/Library/Preferences/ManagedInstalls ClientIdentifier 2&gt;/dev/null | egrep -qi 'ict-mac|staff-mac'
then
if ! grep -q '&lt;Suppressed&gt;0&lt;/Suppressed&gt;' "${adobeUpdAdmPrefsFile}" 2&gt;/dev/null; then
# return 1 for no need to install
if [ ! -r "${adobeUpdAdmPrefsFile}" ]; then
if [ ! -r "$(dirname "${adobeUpdAdmPrefsFile}")" ]; then
mkdir -p "$(dirname "${adobeUpdAdmPrefsFile}")"
fi
echo '&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;Preferences&gt;
&lt;Suppressed&gt;0&lt;/Suppressed&gt;
&lt;/Preferences&gt;' &gt; "${adobeUpdAdmPrefsFile}" &amp;&amp; echo "Enabled CS/CC manual updates."

else
readAdminPrefs=$(cat "${adobeUpdAdmPrefsFile}")
echo "${readAdminPrefs}" | sed 's/Suppressed&gt;1&lt;/Suppressed&gt;0&lt;/' &gt; "${adobeUpdAdmPrefsFile}" &amp;&amp; echo "CS/CC manual updates are enabled."
fi

# set permissions
chown 0:80 "${adobeUpdAdmPrefsFile}"
chmod 644 "${adobeUpdAdmPrefsFile}"
fi
fi

exit 0</string>

There is one per-user-prefs setting that may be of interest:

defaults write com.adobe.Lightroom6 Showed_Sync_Walkthrough -bool TRUE


-MiqViq

Nick McSpadden

unread,
Apr 23, 2015, 9:14:28 AM4/23/15
to munki-dev
Thanks for this.  I did the same thing yesterday with the new Lightroom CC, worked great with no complaints - huge improvement over Lightroom 5, which had a broken uninstaller from CCP.  I've already edited the wiki to reflect this.




--
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.



--
--
Nick McSpadden
Client Systems Manager
Schools of the Sacred Heart, San Francisco

Miq Viq

unread,
Apr 23, 2015, 9:53:44 AM4/23/15
to munk...@googlegroups.com
Thanks.

And the prefs key the most of us are interested in:

defaults write com.adobe.Lightroom6 noAutomaticallyCheckUpdates -bool TRUE


-MiqViq
Reply all
Reply to author
Forward
0 new messages