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>/dev/null
plutil -convert xml1 "/Applications/Adobe Lightroom/Adobe Lightroom.app/Contents/Info.plist" 2>/dev/null
chmod a+r "/Applications/Adobe Lightroom/Adobe Lightroom.app/Contents/Info.plist" 2>/dev/null
# remove previous version
rm -rf "/Applications/Adobe Photoshop Lightroom
5.app" 2>/dev/null
pkgutil --forget com.adobe.Lightroom5 2>/dev/null
pkgutil --forget com.adobe.Enterprise.install.BAE6DBA1-6196-4F6A-B3B9-2EBCC4B87B09 2>/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>/dev/null | egrep -qi 'ict-mac|staff-mac'
then
if ! grep -q '<Suppressed>0</Suppressed>' "${adobeUpdAdmPrefsFile}" 2>/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 '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Preferences>
<Suppressed>0</Suppressed>
</Preferences>' > "${adobeUpdAdmPrefsFile}" && echo "Enabled CS/CC manual updates."
else
readAdminPrefs=$(cat "${adobeUpdAdmPrefsFile}")
echo "${readAdminPrefs}" | sed 's/Suppressed>1</Suppressed>0</' > "${adobeUpdAdmPrefsFile}" && 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