Skip to content

Support creating an installer from InstallOS.pkg #12

@madsmtm

Description

@madsmtm

The macOS 10.12 link (and probably the others) on Apple's official download page ends up downloading InstallOS.dmg, which in turn contains InstallOS.pkg, which is fairly troublesome to convert to the Install macOS Sierra.app that createinstalliso expects.

What's the recommended approach for these?

From my own testing, I ended up being able to create the iso after following the steps below (though not sure it actually runs yet):

  1. Open InstallOS.dmg to get access to InstallOS.pkg
  2. Unpack InstallOS.pkg and then InstallOS.pkg/Payload using instructions in https://stackoverflow.com/questions/11298855/how-to-unpack-and-pack-pkg-file (or maybe just pkgutil --expand-full?)
  3. Copy InstallESD.dmg to Install XXX.app/Contents/SharedSupport
  4. Run xattr -cr Install XXX.app to allow codesign to work
  5. Run ./createinstalliso

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions