- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
07-22-2017
07:03 PM
- last edited
Tuesday
by
kh-richa_mig
Hello Everyone,
I'm trying to create a .dmg from a .pkg, but when I use Disk Utility - Image from Folder I can't select any .pkg. They are all greyed out.
Any advice on what I might be doing wrong.
Thanks,
James
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-22-2017 07:10 PM
[Edit] Misunderstood, you're creating, not saving the DMG. I ran a quick test, am able to replicate the issue. Created a blank file, and created an empty folder, both with *.PKG suffix. Disk Utility ignores both. TBH whenever I create a DMG from a PKG, I always create an enclosing folder first.
$ touch ~/Desktop/TRASHME/testFile,pkg
$ mkdir ~/Desktop/TRASHME/testFolder.pkg
$ ls -lF ~/Desktop/TRASHME/
total 0
-rw-r--r-- 1 donmontalvo staff 0 Jul 22 21:59 testFile,pkg
drwxr-xr-x 2 donmontalvo staff 68 Jul 22 21:59 testFolder.pkg/
$
Disk Utility ignores both:
https://donmontalvo.com

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-22-2017 10:05 PM
@jpadilla Are you trying to create a .dmg of a .pkg so you can deploy it with Jamf Pro? Can you not just deploy the .pkg file itself? If you really need the .pkg encapsulated in a .dmg, put the .pkg into a folder, the select that folder as the folder to create the .dmg from rather than the .pkg file itself. Or use the Composer app (one of the tools in the Casper Suite folder) to create the .dmg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-22-2017 07:10 PM
[Edit] Misunderstood, you're creating, not saving the DMG. I ran a quick test, am able to replicate the issue. Created a blank file, and created an empty folder, both with *.PKG suffix. Disk Utility ignores both. TBH whenever I create a DMG from a PKG, I always create an enclosing folder first.
$ touch ~/Desktop/TRASHME/testFile,pkg
$ mkdir ~/Desktop/TRASHME/testFolder.pkg
$ ls -lF ~/Desktop/TRASHME/
total 0
-rw-r--r-- 1 donmontalvo staff 0 Jul 22 21:59 testFile,pkg
drwxr-xr-x 2 donmontalvo staff 68 Jul 22 21:59 testFolder.pkg/
$
Disk Utility ignores both:
https://donmontalvo.com

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-22-2017 10:05 PM
@jpadilla Are you trying to create a .dmg of a .pkg so you can deploy it with Jamf Pro? Can you not just deploy the .pkg file itself? If you really need the .pkg encapsulated in a .dmg, put the .pkg into a folder, the select that folder as the folder to create the .dmg from rather than the .pkg file itself. Or use the Composer app (one of the tools in the Casper Suite folder) to create the .dmg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-23-2017 05:29 AM
@donmontalvo @sdagley Thank You! Enclosing in folder worked for me.
