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

Convert macOS DMG files to PKG filesSolved

Participant
Discussion
11 months ago

I try to convert a .dmg file into a .pkg file as it explain on your website. Unfortunately Terminal on my iMac Ventura 13.5.1 says: error: directory “path_to_savedpackage” does not exist for writing “packagename.pkg”

I search on Google but not found any link for this missing.

Any help ?

Replies (2)

Marked SolutionPending Review
Hexnode Expert
11 months ago
Marked SolutionPending Review

Hey @cldjr , thank you for reaching out to us.

You need to provide the actual path to the downloaded .app file and the name with the extension in place of path_to_installedapp/macapp.app. Similarly, you need to provide the path where you want to save the PKG file on the device with a preferred name with .pkg as extension for the file in place of path_to_savedpackage/packagename.pkg.

For example,

Hope this helps!

Regards

Eren Schwarz
Hexnode UEM

Marked SolutionPending Review
Participant
11 months ago
Marked SolutionPending Review

Thank you. I’ll try againfollowing your advice.