By the way, Flat Package Editor is itself inside a package: the PackageMaker application package. To see it, use Show Package Contents for PackageMaker and navigate to Contents > Resources. Java package providing a simple. This includes an editor for making and editing.
Recently I was tasked with finding out a way to prepare OS X applications for automatic distribution to multiple machines.
Most applications require some tampering with their preferences before deploying. I have done it for Windows machines before, and usually I could just replace the preference files/registry entries right inside the .msi installer, using tools like Orca, Wise Package Studio and so on.
I am new to macs, but when I try to look for something similar for OS X, all I find is software to make packages from scratch (PackageMaker, Iceberg, etc.), but nothing for editing already created .pkg files.
Download equation editor for mac. This page contains the latest information about MathMagic Lite Edition for Mac OS X. * Notice: Please read the Feature Comparison table to see the difference between 'MathMagic Lite' and full featured 'MathMagic Personal'. MathMagic Lite Edition is for personal use only.
So here is the question: is there a way to easily edit the content of .pkg file (replace some files, add a script, etc.), without having to install/unpackage it and then package the configured stuff back?
2 Answers
You can use the Flat Package Editor from Apple.
- Go to Apple's Developer downloads site and download the Auxiliary Tools for Xcode - Late July 2012.
- Once downloaded, open the DMG.
- Find PackageMaker.app and open the package contents, then navigate to Contents/Resources.
- Copy Flat Package Editor.app to /Applications or elsewhere then open it.
From this app you can open a .pkg and edit the contents by dragging files out, editing them and dragging them back in, then saving the package.
Packages can be resigned using the button on the title bar:
grg♦grgFlat Package Editor For Mac 2008 Download With Product Key
I am not aware of any Apple recommended tools to edit existing package, pkg
or mpkg
, files. Most packages are signed and thus any changes will invalidate their signature; although resigning is simple enough using pkgbuild
and an appropriate installer certificate.
Wrapping Up Existing Packages
Consider creating a wrapper multi-package that adjusts any required files after installation. With this approach you can bundle up existing packages and then run post-install/update scripts as required.
pkgbuild
There is little documentation about crafting packages as Apple traditionally relied on the graphical tool PackageMaker. Since Mac OS X 10.8, the PackageMaker tool has been replaced by the command line tools productbuild and pkgbuild.
The tool you will want to investigate is pkgbuild
. This tool eases the creation of packages containing multiple packages and scripts. About Distribution Definition Files talks about the internal file format.
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged macosinstallpkg .
Hi,
Here's what I did to get the flat package editor.
Free movie maker programs for mac.
First, you need to have an Apple ID so that you can register on the developer website. You don't have to be an Apple developer.
1) Download the auxiliary tools here: http://adcdownload.apple.com/Developer_Tools/auxiliary_tools_for_xcode__late_jul y_2012/xcode44auxtools6938114a.dmg
2) Double-click on the dmg to open it.
3) Right-click on PackageMaker.app and choose “Show Package Contents”.
4) In the package contents you will see the flat package editor.
5) Copy it to your Applications/Utilities folder.
That ought to do it.
Flat Package Editor For Mac 2008 Download
Regards,
Don James