site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Aug 20, 2007, at 17:40, John Cebasek wrote: It's been a little while since I've done an installer package, and I'm having a wee bit of trouble when doing an upgrade. I'm modifying CFBundleShortVersionString and CFBundleVersion to be SHORT_STRING. Can anyone provide a hint or two to what might be the problem with: 1 - the upgrade sizes are 0; and 2 - the upgrade is installing everything even though the size of the packages are zero. ---------------------------------------------------------------------- Philip D. Wasson pwasson at maned dot com MEI Software Engineer _______________________________________________ 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... Using the command line (because we're doing automated builds), I'm modifying the info.plists of various packages that are in a meta-package as follows - the CFBundleIdentifier key to be defined as something like com.vizible.xyz.$SHORT_STRING, where SHORT_STRING is defined as 0.2.8060 (or whatever the svn number is). I'm also modifying IFMajorVersion, IFMinorVersion and IFPkgBuildVersion to be the appropriate values. The size of the one packages is changing so when I look at the receipt and look at the installer, at least one of the packages I'm trying to install has a bigger size. I do a clean install and then rebuild everything with a new build number and do an 'Upgrade', all the packages in the Customize dialog have a size of 0, and if I 'Upgrade', all the packages are installed (none are skipped). I don't know if I can help with the upgrade sizes being 0, but I think item 2 is because you're changing the CFBundleIdentifier. My impression is that CFBundleIdentifier is supposed to identify a particular product, regardless of what version it is; that is, it's supposed to stay the same between versions. Comparing CFBundleIdentifiers between the package being installed and all packages previously installed is the way, or at least one of the ways, that the Installer determines whether it's performing an install or an upgrade. So try leaving the .version off the CFBundleIdentifier. This email sent to site_archiver@lists.apple.com