Menu
Acknowledgements: This is a slightly modified workflow based on one proposed by Taz on MacAdmins Slack. Hotstar app for macos. Thanks, Taz!
You can use Mosyle to install Munki.
- Jul 01, 2020 Considering item UpdatemacOSCatalina, version 10.15.5.19F101 with maximum os version supported 10.15.99 Our OS version is 10.15.5 Found UpdatemacOSCatalina, version 10.15.5.19F101 in catalog testing Adding UpdatemacOSCatalina to list of processed installs Running installcheckscript for UpdatemacOSCatalina Current build 19F96 is not yet.
- Munki macOS App Deployment What is Munki? Munki is an open-source project that provides macOS software management functionality, including a self-service app store for the end-user. Munki has been integrated with SimpleMDM so that you may utilize it in your account without any additional setup.
Munki 2.3.1 or higher is recommended for use with OS X 10.11 and macOS 10.12. Munki 3.0-3.5.x supports OS X 10.8 and higher. Munki 3.6 drops support for OS X 10.8 and 10.9, and is supported on macOS 10.10-10.14. Munki 3.6.3 or later is recommended for macOS 10.15. This is the official release of Munki 4.1.1, a bug-fix and enhancement update to the Munki tools. Munki 4 removes the dependency on Apple's Python, and includes its own copy of Python 3.7.4. See Introduction to Munki 4 for more information on the architectural changes in Munki 4.
Macos afp asks for administrator credentials repeatedly. Switch to the macOS platform (if you're not already in there).
Then, click on Management.
Scroll down to and then click on Custom Commands.
Click Add new profile.
Name it whatever you want (e.g., Install Munki), and then put in a modified version of this code:
#!/bin/bash
# See if it's already been installed
if [[ ! -a '/Applications/Managed Software Center.app' ]]; then
# Name of .pkg
munkitools='munkitools-3.3.1.3537.pkg'
# Desired hash output
desired_hash='MD5 (munkitools-3.3.1.3537.pkg) = 208a04093704dd8039b89dfa671cbd8f'
# Go to the /tmp directory
cd /tmp
# Download the latest Munki tools .pkg
/usr/bin/curl -L -O https://github.com/munki/munki/releases/download/v3.3.1/'$munkitools'
# Make sure the hosting server hasn't been compromised and/or the download isn't corrupted
md5_test=$(/sbin/md5 $munkitools)
if [[ '$md5_test' '$desired_hash' ]]; then
# Install the Munki tools .pkg
/usr/sbin/installer -allowUntrusted -pkg /tmp/'$munkitools' -target /
# Add in basic auth info
/usr/bin/defaults write /private/var/root/Library/Preferences/ManagedInstalls AdditionalHttpHeaders -array 'Authorization: Basic BASICAUTHCODE'
# Wait until the setup assistant is done..
until [ -f '/var/db/.AppleSetupDone' ]; do
# If it's not done yet, wait 2 seconds to check again
sleep 2
done
# Now that setup assistant is done, reboot the machine, since Munki requires a reboot after installation
/sbin/shutdown -r now
fi
fi
# See if it's already been installed
if [[ ! -a '/Applications/Managed Software Center.app' ]]; then
# Name of .pkg
munkitools='munkitools-3.3.1.3537.pkg'
# Desired hash output
desired_hash='MD5 (munkitools-3.3.1.3537.pkg) = 208a04093704dd8039b89dfa671cbd8f'
# Go to the /tmp directory
cd /tmp
# Download the latest Munki tools .pkg
/usr/bin/curl -L -O https://github.com/munki/munki/releases/download/v3.3.1/'$munkitools'
# Make sure the hosting server hasn't been compromised and/or the download isn't corrupted
md5_test=$(/sbin/md5 $munkitools)
if [[ '$md5_test' '$desired_hash' ]]; then
# Install the Munki tools .pkg
/usr/sbin/installer -allowUntrusted -pkg /tmp/'$munkitools' -target /
# Add in basic auth info
/usr/bin/defaults write /private/var/root/Library/Preferences/ManagedInstalls AdditionalHttpHeaders -array 'Authorization: Basic BASICAUTHCODE'
# Wait until the setup assistant is done..
until [ -f '/var/db/.AppleSetupDone' ]; do
# If it's not done yet, wait 2 seconds to check again
sleep 2
done
# Now that setup assistant is done, reboot the machine, since Munki requires a reboot after installation
/sbin/shutdown -r now
fi
fi
![Munki 3.1 For Macos Munki 3.1 For Macos](/uploads/1/2/6/0/126072600/827194200.jpg)
Assign this profile to whatever devices or groups you want, and then click Save.
Any other Munki preferences (e.g., SoftwareRepoURL) you'll want to deploy in a .mobileconfig profile. More details in Importing custom .mobileconfig profiles into Mosyle MDM.
P.S. I haven't done extensive testing on this, but you may be able to deploy Munki as a .pkg and not as a custom command that downloads the .pkg. You'll have to host it somewhere yourself (and Mosyle does not like the redirect URLs, so you'll legit have to host it), but you may want to try Management > Management Profiles > Install App > Add new profile. Then, under Installation source, pick Enterprise app, and then put in the URL of the hosted Munki installer .pkg.
To change the icon, just get a .png of whatever icon you want. Here's an example of how to generate that:
sips -s format png /Applications/Managed Software Center.app/Contents/Resources/Managed Software Center.icns --out MSC.png
Only caveat is that that won't work for scripting basic authentication.
Caveats
This tutorial assumes you know some Munki basics already. If you don't, check out Absolute beginner’s guide to setting up Munki (not monkey) first.
I'm still in the early stages of figuring out different ways to package Adobe CS6 Master Collection (assuming a site license here) using Munki. It isn't seamless, but it generally works. Two little issues I've found so far are Adobe After Effects not working in Yosemite until you install the updates (so you'll have to create an update package for it), and Adobe Illustrator not uninstalling when you mark it for removal (it appears to go through the uninstall procedure, but then Adobe Illustrator is still there and fully usable). I haven't had luck creating individual update packages, but if you use Adobe Remote Update Manager, it will install all the updates for all Adobe CS6 applications (so actually less work than creating update packages).
The Illustrator situation is a bit weird. I'll explain more about it below.
Problem?
If your organization has the Adobe Creative Suite Master Collection, it is a whole bunch of software, most of which your users won't need or even want. You can package the entire Master Collection as one package (which is more than 8 GB for your users to download—a lot, even on a fast connection). But what if you could allow your users à la carte installations of the programs they need (e.g., just Adobe Acrobat Pro or just Photoshop, Illustrator, and InDesign)?
Requirements before you begin
- A Munki server, of course, which you've already set up.
- A site license for Adobe CS6 Master Collection (this tutorial may work with CS5 with some tweaks; for example, you may have to use an older version of AAMEE).
- At least one Munki client, of course, too. Preferably three or more.
- The Adobe Application Manager Enterprise Edition 3.1, which you can get from the Adobe website.
The actual procedure
Install adobe for mac os mojave. First, go get the AAMEE from Adobe's website.
3.1 is the one you'll want for Adobe Creative Suite 6.
While that's downloading, get your Master Collection install CD or .dmg ready to go. Once it's there, go ahead and close the window, but don't eject the disk or disk image.
Once Adobe Application Manager Enterprise Edition is downloaded and installed, go ahead and launch it up.
Random fact: if you try to keep AAMEE in the Dock and then launch the application again from the Dock instead of from the /Applications folder, the application may (i.e., probably will) crash.
For this first go-round, you want to create an Installation Package.
The Product Installation Folder is where the install.app is for your Adobe Creative Suite disk image that's mounted (see the next picture for more details).
The Package Name is whatever description you think makes sense.
For my own sanity, I created separate folders for each program for the Save To option. You're welcome to dump them all in one folder, as long as you can keep track.
Here you can see for Product Installation Folder where you should focus for the mounted disk image or disk.
When prompted, enter your organization's serial number, and then click Next.
Sign in with your Adobe ID.
Select the program you want to install.
These defaults are all right.
The installer will check for updates.
Uncheck all updates.
The official Munki documentation for CS6 says Do not repackage CS6 updates using AAMEE. Simply use munkiimport to import the diskimage as downloaded from Adobe. It doesn't give a reason, but I found my own reason. When I tried to package updates for one piece of the Adobe Creative Suite, it brought in a whole ton of other pieces that I didn't want.
Java for macos mojave not opening photoshop. Note: You can find the downloadable updates for later munkiimport on the Product updates page at Adobe.
Unfortunately, when I tried to package updates directly from Adobe, I got errors like this:
Installing Adobe Photoshop CS6 Update 13.0.1 (4 of 6)..
Mounting disk image Photoshop_CS6_13_0_1_upd-13.0.1.dmg..
Running Adobe Patch Installer..
ERROR: Error : Unable to complete Silent workflow.
ERROR: Adobe Setup error: 7: Unable to complete the silent workflow
It seems a terrible workaround, but apparently you're supposed to use a Adobe's Remote Update Manager instead. Update: The Adobe Remote Update Manager works great. It's just a simple binary file you can schedule (using Launch Daemons, not Munki) to run in the background. Mounting disk image Photoshop_CS6_13_0_1_upd-13.0.1.dmg..
Running Adobe Patch Installer..
ERROR: Error : Unable to complete Silent workflow.
ERROR: Adobe Setup error: 7: Unable to complete the silent workflow
Wait for the build.
If you're building only one package, click Close. If you're planning to do a whole bunch of packages, leave this open to click New Package on later.
Your mileage may vary, but I haven't had good luck using MunkiAdmin to import packages made with AAMEE (it seems to work fine for other software packages, though).
So I would recommend using munkiimport instead.
Most of the answers to the questions should be obvious, but the version number will automatically fill in a 6 for everything. Even though we're install software from Adobe Creative Suite 6, not all of the software we're installing is version 6.
I've done the legwork for you here a bit and put in the initial versions for CS6
- Adobe Acrobat X Pro 10.1.1
- Adobe After Effects CS6 11.0.0
- Adobe Audition CS6 5.0x708
- Adobe Dreamweaver CS6 12.0.0.5808
- Adobe Encore CS6 6.0.0
- Adobe Fireworks CS6 12.0.0.236
- Adobe Flash Builder 4.6
- Adobe Flash CS6 12.0.0.481
- Adobe Illustrator CS6 16.0.0
- Adobe InDesign CS6 8.0.0.370
- Adobe Photoshop CS6 13.0.0
- Adobe Prelude CS6 1.0.0
- Adobe Premiere Pro CS6 6.0.0
- Adobe SpeedGrade CS6 2012.7766.34
I also didn't have any luck getting Munki to recognize any icons from the AAMEE-generated files, so if you want an icon, you may have to figure that out later.
When the package info for the piece you're preparing comes up, scroll down to the installs key. According to HowMunkiDecidesWhatNeedsToBeInstalled, Munki tells whether a piece of software is installed by whether certain files or other things are present in this part of the package info file.
Note: Going by the visible path to the file will work for most of the packages. Illustrator was a bit weird, and I had to run
Munki 3.1 For Macos Laptop
makepkginfo -f /Applications/Adobe Illustrator CS6/Adobe Illustrator.app
to find out that the real path (when running that command above, use tab completion—don't fully type out the path) is /Applications/Adobe Illustrator CS6/Adobe Illustrator.app. Special thanks to Tim Sutton and Greg Neagle for sleuthing this for me on the Munki dev mailing list.
Also important to note: the commands in the terminal will use escapes (backslashes) before spaces in names, but the path in the Munki info file will not use escapes before spaces in names.
Just leaving the default in there, you'll run into a problem of Munki thinking every piece of the Adobe Creative Suite is installed if only one piece is installed.
So we're going to modify it to add in a new path to the exact location of the launcher file. Even though it is a .app file, the string for type should be file and not application. I tried application, and it didn't work.
Munki 3.1 For Macos Windows 10
When you're asked to rebuild the catalogs, go ahead and say yes (y).
![Macos Macos](/uploads/1/2/6/0/126072600/256102133.jpg)
You should then be able to see the software in your client's Managed Software Center after a fresh check for updates.