breaking up a CD into subpackages
breaking up a CD into subpackages
- Subject: breaking up a CD into subpackages
- From: "Nathan Herring" <email@hidden>
- Date: Thu, 29 Jun 2006 12:34:53 -0700
- Thread-topic: breaking up a CD into subpackages
We already have code that assembles all of the various items that we would want to install into a folder for drag-n-drop. And, whereas, I can create one giant, monolithic .pkg file for the whole thing, I can't break it up into smaller packages without actually segmenting the drag-n-drop layout because there doesn't seem to be a way to differentiate between the root of the package and the place to start recording path information in the .bom.
For example, I have
Suite Foo/
Bar.app/
Baz.app/
and I want the über-package "Suite Foo" folder to be installed in /Applications by default, but be relocatable.
If I want to break the Suite Foo.pkg into Suite Foo.mpkg with Bar.pkg and Baz.pkg, if I give Bar's root as "Suite Foo", it'll pick up Baz.app as well. If I give Bar's root as "Suite Foo/Bar.app", then it will only get Bar.app, but the bom information will have "./Bar.app" rather than "./Suite Foo/Bar.app", and thus Bar.app will get installed one directory higher than is desired.
Am I missing something obvious?
It looks like I could add filters to the Bar.pkg and Baz.pkg to omit the other ones, but that only works nicely in this small example. When you have 30 some-odd subfolders and apps then those filter sets get unwieldy.
It would be really nice if packagemaker(1) or the Package Maker UI had some sort of difference between the install root vs. the set of files to include in a package. On the command-line side, having one extra param that gave a subpath to restrict files to add to would suffice, though having the alternate ability to explicitly list the files/folders of interest either on the line or in a file that gets read in would be cool as well.
-nh
_______________________________________________
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