Using MunkiAdmin to extract icons for Munki items

Munki’s command-line tools have the ability to extract icons for various items in your Munki repo, as you saw in Adding an item to your Munki repo

But you can also use MunkiAdmin to extract icons for items in your repo that you may have populated using AutoPkg.

MunkiAdmin Batch Extract Icons menu item

In MunkiAdmin, click on File and then select Batch Extract Icons…

MunkiAdmin items to extract icons for

You’ll see that MunkiAdmin selects only the items that don’t already have icons (we imported Firefox manually earlier, and so were able to extract the icon for it during the manual munkiimport process). Click Extract to try to extract icons from each item.

MunkiAdmin attempts to extract icons

Some items (like the munkitools ones) don’t have icons, so there are no icons to be extracted. Other items (like AdobeFlashPlayer) may have multiple icons, so one can’t automatically be assigned.

MunkiAdmin items view with icons in place.

Afterwards, you should see items (instead of package placeholders) for the items that MunkiAdmin was able to successfully extract icons for.

New icon for single item

If you want to get the icon for AdobeFlashPlayer, you can right-click it, select Icon and then Create New Icon for Name “AdobeFlashPlayer”

Click Extract

Icon chooser in MunkiAdmin

Pick whichever icon you like best out of the extracted icons.

Click Save

Icon save dialogue in MunkiAdmin

Then, click Save again.

Leave a comment

Your email address will not be published. Required fields are marked *