Skip to content →

MEM/Intune automatic Intune pkg wrapping in macOS

Last updated on 14. November 2021

Microsoft Intune allow to deploy packages over MDM but not in the default pkg format.
The only way here is the .itunemac to deploy packages via MEM. Behind this package is just a zip so when you rename the file to zip you can extract this file and have a look what is inside.

Structure of decompressed .itunemac file.
The Detection.xml is a kind of manifest file and contains the package name, version, bundleid.

In order to create an .intunemac in the first place, you need the Microsoft Intune App Wrapping Tool. You can download the command-line app from:

The syntax is relatively simple:

IntuneAppUtil -c <source_file> -o <output_file> [-i] [-n] [-v]

It is only very time-consuming if you have to wrap many packets at the same time. Therefore, I have built an “Automator” folder action that saves me the manual work.
I uploaded a short preview how it works

The published information has been carefully compiled, but does not claim to be up-to-date, complete or correct. No liability is assumed for damages resulting from the use of this script or the information drawn from it. This also applies to third-party content accessible via this offer.

Published in macOS MEM/Intune


  1. Alpochinok Alpochinok

    Hey! I went through all the steps, but when I drag the installation package to the required directory, nothing happens.

  2. Moses Moses

    Where do I need to have the intuneapputil installed/located?

Leave a Reply

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