Jump to content

[macOS] Repackage - Easily create packages from applications, DMGs, or other packages


Recommended Posts

Posted

Download / Source Code

 

Repackage is a macOS app (10.12 or later) that makes it easy to create packages from Applications, Disk Images, or other packages. It came out of the work done on MDS for converting items to work with startosinstall on macOS.

 

You can either drag items on the Repackage icon or open the application and drag the items onto the main application window. You can drag as many items at a time as you want, and they will be assesses and converted (if needed) and saved to subfolder named "converted" in the same folder as the original item. The output will always be a meta-flat package. If the original is also a meta flat package, no conversion will take place but the original will be copied to the converted folder. If you set the "force" preference in settings, all packages will be wrapped as a payload inside a meta-flat package (see below).

 

Depending on the type of item dropped on Repackage, it will be packaged in slightly different ways:

 

  • macOS Application: The application will be packaged up and installed in /Applications when the package is installed.
     
     
  • Disk Image: The disk image will be added as a payload for the package and a postinstall script added to mount and install any packages in the Disk Image. All Disk Images are converted to sparse disk images (unless they are already a sparse disk disk image) due to the lack of support for large single file payloads in packages. When the resulting package is installed, the payload will be installed in {Target}/tmp, the disk image mounted from tmp, and the postinstall script will install any and all pkgs at the top level of the mounted disk image.
     
     
  • Bundle Packages (pkg and mpkg): Bundle Packages are added as payload to the new package, and a postinstall script is added to install the bundle package. When the resulting package is installed, the payload will be installed in {Target}/tmp and the postinstall script will install the bundle package from tmp to the target.
     
     
  • Flat Packages: Flat packages are packaged up inside a meta flat package unless the force preference is set. If that preference is set, the flat package is installed like a bundle package.
     
     
  • Meta Flat Packages: Meta Flat Packages are not converted and are just copied unless the force preference is set. If that preference is set, the flat package is installed like a bundle package.

 

Posted
Am I the only one who can't view the video?

The video works for me on my home PC. :confused:

 

 

Do you get the same message if you try playing it in Incognito Mode or a different browser?

  • 5 years later...
Posted

Hi

Was wondering if this would still work/install on MacOS Sonoma either Interl or Silicon processor?

 

Thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...