site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com You can manually change this using the FLAT Package Editor. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... On Jun 20, 2008, at 6:22 PM, Bill Cheeseman wrote: PackageMaker 3 automatically names component packages when I add a component to a project. I can't find a way to control these names, or in particular their capitalization. For example, my PFEventTaps.framework folder is given the automatic name "pfeventtaps.pkg," and my Event Taps Testbench application is automatically given the name "eventTapsTestbench.pkg." (I can't make out the logic that causes one of them to have all its capital letters converted to lowercase, while the other has only its first capital letter converted to lower case.) This is unfortunate, because Installer displays these names as is during installation. I would rather the user see that "PFEventTaps" or "PFEventTaps Framework" is currently being installed, than "pfeventtaps." Changing the package identifier in PackageMaker has no effect. Naming the install choices has no effect, either. The latter is especially surprising, because I would have expected the editable installer choice name to be used for this purpose as well as for the purpose of populating the customize dialog in Installer. I suppose I could change the component package names via script, but I fear that this might interfere with the functioning of the installer package. Can anybody steer me in a useful direction on this?
From what I've seen, the name of the package is computed from the name of the Install From item. Side note: There's a bug in the current version of PackageMaker, otherwise it would not be fun: if you change the item and build the project, you still get the old item. You have to save the project and rebuild it to get the correct item in the payload and package). Since you're using the FLAT package format in this case, using a script to change the components name would require to edit the xar archive and the distribution file. I had a look at the .pmdoc file bundle and it shows that the names are dynamically computed during build time. Depending on the point of view, it may not be possible to use the choice name during installation. Because a choice may contain multiple packages. So if the idea is to follow the installation of packages, it makes sense to display the .pkg name. This email sent to site_archiver@lists.apple.com