Convert pkg to dmg

broken image
broken image

This will create Sample I like to include the version in the pkg file name, but that is entirely optional. You can easily convert a Composer generated installer dmg to a standard pkg with these commands. Since the Composer generated dmgs contain all the files for the payload in the proper folder structure you can just use the entire mounted volume as your payload root for pkgbuild. However, in some cases that might not be possible or necessary. In general, it is probably preferable to re-visit your imaging process and rebuild any installer you still may have in dmg format from scratch. I cover many of them in my book: Packaging for Apple Administrators. Luckily there are plenty of great other third-party tools to build installer packages. However, Jamf themselves have been recommending to use the standard pkg format in favor of their proprietary use of dmg.Īlso the Composer application is bit and its future is uncertain. The Jamf Pro management system how ever will understand what to do and how to install the files from the dmg to a system. On its own, however, this dmg cannot do anything. The dmg option will build a standard dmg disk image file, with the payload of the installer as contents. The pkg option will build a standard pkg installer file, which will install with any system that can install pkg files. The standard pkg and the seemlingly standard but not dmg.

broken image
broken image

Jamf Composer has always had two formats to build installers.