Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: version problems w/ Leopard installer



After further investigation, it seems that the pmdoc xml's have a version hard-coded into them for each framework or app in my project.


<component id="com.savantav.AVComponentXML" path="/Re\
lease/packageFS-Frameworks/component/avComponentXML.framework" version="14"/><


But when I build my code, I use a script to compile everything then I run the PackageMaker from the command line:

/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/ PackageMaker --doc SingleInstaller.pmdoc --out foo.pkg

the binaries have different version numbers, but PackageMaker seems to be inserting the one it has in its XML.

So, how can I build a package from the command line that respects the actual version numbers of the frameworks & apps I have?

Or, what I am doing wrong?

Mike


On Feb 4, 2008, at 9:27 PM, Michael C. Silva wrote:

unfortunately, no.  I just have Info.plist files that have:

       <key>CFBundleVersion</key>
       <string>222</string>

On Feb 4, 2008, at 6:31 PM, Stéphane Sudre wrote:


On Feb 4, 2008, at 7:15 PM, Michael C. Silva wrote:

We have a number of frameworks and apps that are loaded using a .pkg in Leopard. The first install of this code goes fine, but if we bump the revs of our apps and try to install again, I get lots of these in install.log:

Feb 4 13:10:00 Michael-Silvas-MacBookPro Installer[35677]: / Applications/RacePointMedia/syncMonitor.app (version 10) was not installed because a newer version (221) already exists.
[...]


The thing is the new version I am trying to install is 222, but the installer reports version 10 (and 1 in one case). 10 does not exist in any of my info plists. Can anyone help?

Would you have any of these funny version.plist files in your apps bundle?




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/installer-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/email@hidden

This email sent to email@hidden
References: 
 >version problems w/ Leopard installer (From: "Michael C. Silva" <email@hidden>)
 >Re: version problems w/ Leopard installer (From: Stéphane Sudre <email@hidden>)
 >Re: version problems w/ Leopard installer (From: "Michael C. Silva" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.