Deploy .pkg and .dmg to Mac OS X
We need a way to deploy .pkg and .dmg the LOB seems to hint at only being able to do it for .apps. I can't find any videos or guide on how to do this successfully.
We have run into issues deploying applications .pkg that either need to install outside of /Applications and/or are .pkg files that contain multiple sub .pkg files. This means app deployment on Mac is extremely limited. It would be great if these features could be added in some way.
So Apple released a way for MDM's to install management clients through the DEP setup. Requirement was a Dev cert signed Flat .pkg file and must not contain any embedded .pkg files within. The problem was just about every MDM provider took this feature and used it in a way it wasn't designed for to deploy app's out to MacOS. We had so many problems with software on Mac, we just looked at alternatives and went with JAMF as it offers the Apple MDM control and it also uses their own management client and gives a much better system and control over SCCM. I'm surprised Microsoft haven't brought them out knowing their product history.
Liam Kemp commented
applications with .app can be packaged with the Intune app util, however they must be packaged first with pkgbuild as Julian M commented. It's important to note that these pkg files MUST be signed with an apple developer certificate or deployment will fail
This is not fully supported. There are various requirements for how the .pkg file must be formatted and what it can contain that makes it not usable for general use. One primary thing that would be nice to use this for is installing munki, but after signing the Munki PKG and creating a .intunemac file for it, it repeatedly installs. There are also file-only .pkgs that are needed to bootstrap munki, and those are experience the same issue. I can't have the bootstrap package repeatedly install on Macs enrolled in InTune.
The current LOB package deployment is somehow limited to PKG format and even vendor provided such format packages could not be deployed using Intune to macOS such TeamViewer and Symantec EP to mention few products.
When the package does not comply to Intune requirements and there is no indication such compliance failure during the repacking using IntuneAppUtil and worst when trying to install such application through company portal, it runs for ever and no possibility to stop.
It would be good to support other package format such DMG and APP.
Julian M. commented
Did anyone achieve to install e.g. Google Chrome as LOB? Microsoft PKG's (e.g. Teams) work seamlessly after generating the .intunemac.
Now I tried to generate a PKG from Google Chrome.app with pkgbuild --install-location "/Applications"
But no success. I always get on Intune:
App installation failed with Error code: 0x0
No, dmg is explicitly not supported. Only PKG.
Tom Martinsson commented
Also that IntuneAppUtil for Mac supports all .pkgs, not just some.
Jed Boulton commented
.pkg is supported when does .dmg get support? conversion from .dmg to .pkg is not supported either, help?
This is already supported - Check out the link from @Dheeraj
This should help.