• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Installer and Upgrade problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installer and Upgrade problems


  • Subject: Re: Installer and Upgrade problems
  • From: Philip Wasson <email@hidden>
  • Date: Mon, 20 Aug 2007 17:51:30 -0400


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.

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 modifying CFBundleShortVersionString and CFBundleVersion to be
SHORT_STRING.

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).


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.

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.


----------------------------------------------------------------------
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 (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Installer and Upgrade problems (From: John Cebasek <email@hidden>)

  • Prev by Date: Installer and Upgrade problems
  • Next by Date: Installer 'skip' in an upgrade.
  • Previous by thread: Installer and Upgrade problems
  • Next by thread: Installer 'skip' in an upgrade.
  • Index(es):
    • Date
    • Thread