Re: Which bundle info.plist keys are used to tell newer app version from old?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=xy0kAbaSPGBZxTzVbWw/HsXvrBNDQpozUpY1ZhCREM0=; b=PNGizItTZSsZDtiG2v2/+2wge8rr4ltMuXWQfJrTIMbLICRrS8LXnjAMxvGLbhi2nQ A9E+41t65Za8SpYUXf2HUnTEBpAURHppV21qzNBIdKbCirWiivZaD0YZr4zzClPNlHxb i6ifr1PIGhWJDJh/gXgiHCWQfNKzKo/5EzqBc= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=hExmtehr79FBtUfgdafPTODXLhjiQQ1/kAb/lvCNlcX9ZF0NOv5CybdLtgLps6ttr4 HDxjPAOjIrqlqesc+WX6GA5zRHU77ddp0te6rMcOt8VmBjKhLMlh/CgQfQ6/dumisKNh uP0D30FcsoHOuIqylTSJ9uqCi4Wg2QMhct/h8= On Dec 18, 2008, at 1:00 AM, Chris Markle wrote: Relatively new at this so forgive the possibly stupid or naive questions... What are the key strings to employ in the application's info.plist to change (increment?) so that the Finder will recognize a newer version of the app as being actually newer? And maybe even better, where is this discussed? Here are what I think the salient plist keys and values are from the current version of the app (which I inherited and with some identifying info changed to protect the innocent). I think this app has mis-used a number of these strings possibly including CFBundleShortVersionString (seems like it should be v.r.m ala 2.1 or 2.1.0), CFBundleVersion (seems like it should be a build number ala 1243), maybe others as well. I've seem in the Launch Services Programming Guide where it talks about preferred apps for a document or URL and notes that (eventually) the Finder will "If two or more verions of the same application have been found, giver preference to the one with the latest version number". But it doesn't say specifically which of these keys represent the version number (and non of these keys are called exactly that). I would have to guess that it's CFBundleShortVersionString but it might not be... Anyone know? _______________________________________________ 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... <plist><dict> <key>CFBundleIdentifier</key><string>com.acmecompany.coolapp1</ string> <key>CFBundleName</key><string>CoolApp1</string> <key>CFBundleIconFile</key><string>CoolApp1.icns</string> <key>CFBundleDisplayName</key><string>CoolApp1</string> <key>CFBundleGetInfoString</key><string>CoolApp1 version 2.1 build 939, Copyright (c) xxxx by Acme, Inc. All rights reserved.</string> <key>CFBundleShortVersionString</key><string>CoolApp1 version 2.1 build 939</string> <key>NSHumanReadableCopyright</key><string>Copyright (c) xxx by Acme, Inc. All rights reserved.</string> <key>CFBundleExecutable</key><string>CoolApp1</string> <key>CFBundleVersion</key><string>2.1bld939</string> [...] </dict></plist> http://developer.apple.com/documentation/MacOSX/Conceptual/ BPRuntimeConfig/Articles/PListKeys.html This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev