Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
EOS Utility installer for OS X since Canon only allows to update exisiting installs

What is this?

Canon only let's you download updates for already installed EOS Utility, which you need to install from a CD.

But it's pretty easy to install it without doing so, it's as simple as deleting a file as shown in many videos and guides online

This script only automates this process.


Just run ./ path-to-eos-utility.dmg

For example: ./ eu2.13.40x-updater.dmg

set -o pipefail
if [[ -z $1 ]]; then
echo "Missing EOS Updater Utility dmg argument";
echo "Usage: "
echo "$0 path-to-eos-utility.dmg"
echo "For example: "
echo "./ eu2.13.40x-updater.dmg"
exit 1;
echo "Mounting EOS Utility DMG file..."
DMG_MOUNTED_PATH=$(hdiutil mount -plist -nobrowse -readonly -noidme -mountrandom /tmp $1 | grep -A 1 mount-point | tail -n 1 | awk -F '[<>]' '/string/{print $3}' -)
if [ $? -eq 0 ]
echo "Sucess!"
echo "Creating temporary folder"
TEMP_DIR=$(mktemp -dt eos)
hdiutil detach $DMG_MOUNTED_PATH > /dev/null
rm -f $TEMP_DIR/*.app/Contents/Resources/Info.datx
echo "Deleting Info.datx file"
echo "Opening up installer, it should work. Enjoy!"
open $TEMP_DIR/*.app
echo ""
echo "Mounting failed, please check output for errors"
set +o pipefail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.