RE: Importing/Adding an existing package
RE: Importing/Adding an existing package
- Subject: RE: Importing/Adding an existing package
- From: "LITTLE, MIKE" <email@hidden>
- Date: Mon, 20 Jan 2014 22:13:04 +0000
- Thread-topic: Importing/Adding an existing package
Very clear mud. Lol.
No, kidding aside, thank you very much for this quick and very useful guidance! This gives me something to work with.
From: Conor Schutzman [mailto:email@hidden]
Sent: Monday, January 20, 2014 4:39 PM
To: LITTLE, MIKE
Cc: email@hidden
Subject: Re: Importing/Adding an existing package
• “Distribution” package - “flat” version of a “meta” package, containing multiple raw packages along with custom UI elements and supports installer plugins. So named because of XML Distribution
file that contains the installer options.
• “Meta” package - a bundle (behaves somewhat like a single file, but is really a folder within the file structure) containing multiple raw packages along with custom UI elements and supports
installer plugins.
• “Raw” package - Packages terminology for a package that installs a single component, with no options to for custom ui elements or installer plugins
• “Flat” - a package that is a single file within the file structure (can pertain to either “raw” component packages, or “distribution” packages)
As I learnt a while back, after talking to the developer (Stephane Sudre), Packages cannot import anything but flat packages. In most cases, you can just use pkgutil in Terminal to flatten the package, and then happily import. If not,
the best choice I found was to add the package as a “resource”, and then add it’s installation in the post-install script (Rich Trouton wrote a wonderful article on this - http://derflounder.wordpress.com/2013/11/03/re-packaging-installer-packages-with-packages/)
On Jan 20, 2014, at 12:11 PM, LITTLE, MIKE <email@hidden> wrote:
I am new to Mac installers and am struggling with one step. I am attempting to create a flat package using Packages and I would like to import an additional existing package
into my newly created flat package.
I found the section “Importing a raw package to a distribution” in the online documentation for Packages, but I am not having any luck with these steps. What happens is
that I choose “Project->Import Package…” and select my package file and after I do this I am presented with a screen that directs me to the contents of the package where directories are enabled and filenames are greyed out. I select the top level directory
and continue clicking on child directories until I reach the bottom directory. But the “Import” button never becomes enabled and so all I can end up doing is selecting “Cancel” without importing my package.
I am guessing that my package is not a raw package, which I don’t understand what that means, or that there must be a different approach necessary.
_______________________________________________
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