Re: packagemaker not working
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com -Greg On Dec 30, 2009, at 3:46 PM, Bill Appleton wrote: hi all, if you use the new command line interface (it is easy to switch from the backwards compatibility interface) there is the option -w this turns off auto relocation and it works best, bill On Dec 30, 2009, at 11:04 AM, Bill Appleton wrote: defaults write FOO.pkg/Contents/Info IFPkgFlagRelocatable -bool NO As for "flat" packages, you could do this: pkgutil --expand FOO.pkg FOO.pkgsrc perl -i -pe 's/relocatable\s*=\s*"true"/relocatable="false"/' FOO.pkgsrc/PackageInfo pkgutil --force --flatten FOO.pkgsrc FOO.pkg These hacks "slam" the relocatable flag to false. _______________________________________________ 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... Thanks, Bill -- this seems to be a relatively new addition to packagemaker (new with the SL release). Bill C's approach works with the Leopard tools, so it's still helpful to know about. On Wed, Dec 30, 2009 at 3:01 PM, Bill Coderre <bc@apple.com> wrote: is there a definitive way to stop the relocation in the latest version of packagemaker used from the command line? I wrote an email a while ago explaining how to remove the relocation info from a package after it's built: Here is a shell script for "bundle" format installer packages which might help: They're "hacks" because they "know" the format of the bundle and flat packages. Package Formats are not officially documented. On the other hand, Installer.app in 10.5.5 still installs packages from 10.1 era (late 2001), so it'll probably be a while before the hacks stop working. Anyway, this might be enough to get your problem solved sufficiently that you can get back to writing software. This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg Neagle