HexCon is coming to NYC. Catch the early-bird price before the time's up! Book me a spot

dmg or pkg?Solved

Participant
Discussion
2 years ago

Hello,
We have to install some enterprise app on our employees’ Macs. which format should we use for pushing the apps from hexnode, dmg or pkg? What is the difference between them?

Replies (3)

Marked SolutionPending Review
Hexnode Expert
2 years ago
Marked SolutionPending Review

Hi @karin-la,

Thanks for reaching out to us.

With Hexnode, you can push both the DMG and PKG file formats to install enterprise apps on your macOS devices. The apps will be automatically installed on the device when pushed from the Hexnode portal.

Here is the general difference between DMG and PKG files.

A DMG file is an Apple Disk Image file used to deploy macOS software. However, it can contain files of various types, not just the software installation files.

PKG is a compressed installation package used to install an app on a user’s hard drive. PKG files can be used when the app requires special permissions or any pre-requisites to install the app because you can manually include pre-install and post-install scripts in PKG files to perform such tasks.

Hence, you can opt for PKG or DMG files according to your requirements.

Check out our help doc on distributing macOS enterprise apps to know more.

Hope this answers your query.

Cheers!
Evin Lee
Hexnode UEM

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

I have an enterprise app packed inside a dmg file. The app requires some files to be cleared from the devices before installing. Do I need to convert the dmg to a pkg file so that I can add script to it?

Marked SolutionPending Review
Hexnode Expert
2 years ago
Marked SolutionPending Review

Hi @josfinnn,

Thanks for reaching out to us!

Yes, you can add scripts only in the PKG files. Hence, you will need to convert the DMG file to PKG file using Terminal.

Have a look at converting DMG to PKG Mac apps to know more.

Hope this helps. Do reach out if you have any further queries.
Thanks!
Evin Lee
Hexnode UEM