• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: dmg from flat installer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dmg from flat installer?


  • Subject: Re: dmg from flat installer?
  • From: Roy Nielsen <email@hidden>
  • Date: Wed, 17 Mar 2010 17:31:50 -0600

Hello Greg,

With Puppet provisioning(at least one thing we're doing with puppet at LANL), one puts a pkg file inside a dmg. (see:
http://docs.reductivelabs.com/references/latest/type.html#package the "package" type, under provider, see pkgdmg)

" pkgdmg: Package management based on Apple's Installer.app and DiskUtility.app. This package works by checking the contents of a DMG image for Apple pkg or mpkg files. Any number of pkg or mpkg files may exist in the root directory of the DMG file system. Sub directories are not checked for packages. ... Required binaries: /usr/sbin/installer, /usr/bin/hdiutil, /usr/bin/curl. Default for operatingsystem == darwin. Supported features: installable."

Regards,
-Roy

On 3/16/10 5:54 PM, Greg Neagle wrote:
/usr/bin/hdiutil create -srcfolder foo.pkg foo.dmg

Works even if foo.pkg is a flat package.

But why?  One of the advantages of flat packages is they can be transported as-is - there's no need to wrap them in a disk image.

-Greg


On Mar 16, 2010, at 4:35 PM, Allan Marcus wrote:

Hi,

I used to use DMGConverter to drag and drop a .mpkg installer and it would make a DMG for me. Now that that new packages are not folders, drag and drop onto DMGConverter, or make a DMG from a folder in Disk Utility don't work.

Might I ask how you make your DMGs from flat installers?

---
Thanks,

Allan Marcus
505-667-5666



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:


This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: dmg from flat installer?
      • From: Jeremy Reichman <email@hidden>
References: 
 >dmg from flat installer? (From: Allan Marcus <email@hidden>)
 >Re: dmg from flat installer? (From: Greg Neagle <email@hidden>)

  • Prev by Date: Re: Need to do some logic in a component pkg which is specific to the integrated distribution pkg
  • Next by Date: Building distribution package on the commandline
  • Previous by thread: Re: dmg from flat installer?
  • Next by thread: Re: dmg from flat installer?
  • Index(es):
    • Date
    • Thread