Re: Upgrade installer info?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Apple does this all the time, for instance, iWeb_101.pkg On Mar 1, 2006, at 12:10 PM, Peter Bierman wrote: At 11:17 AM -0800 3/1/06, Nathan Herring wrote: I can create a installer package for say the 1.0 version of my product suite. Beyond a few applications, there's a large number of supporting frameworks and files. Great. Now, I need to edit two of the largish applications for a 1.0.1 release. In the old days, we could use VISE and patch the two largish applications, probably using whatever binary diffing format they have. Is there any such process for the Apple Installer? Is there a way to patch rather than overwrite? Is creating the upgrade installer just a matter of having a sparse installation folder and archiving that, or are there other instructions? There isn't explicit support for this, but we're considering it for a future release. The workaround is pretty simple: just create a package that the installer won't realize is an 'upgrade' of your old package, and only put the modified files in the new package. That gives you a 'sparse' package, and the installer won't delete any of the missing files as long as it doesn't match your package to the older version by CFBundleID or package name. The only downside is that if there are files that need to be deleted during upgrade, you have to figure out what they are, and you deal with them "manually." Apple does this by using various "diff" commands to determine the list, and then including a script that takes a list of files/folders to be deleted. This can be quite annoying if the list is in flux due to ongoing development. Alas. Note also that Apple endeavors to make the "update" be 100% identical to the "fresh install" so as to avoid surprises later. Nib files are especially likely to cause problems. _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Bill Coderre