Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

CFBundleGetInfoString?

 
   Macintosh computer (Home) -> General Discussion RSS
Next:  music notation <  
Author Message
Howard1

External


Since: Sep 26, 2003
Posts: 61



(Msg. 1) Posted: Tue Jul 25, 2006 5:55 pm
Post subject: CFBundleGetInfoString?
Archived from groups: comp>sys>mac>programmer>misc (more info?)

Hi,

yesterday morning, I was looking at Apple's docs regarding the strings
that should be put in the info.plist file for bundles, and found the entry
for CFBundleGetInfoString. It contained a note that the string used to
contain the version number (as well as company and copyright information),
but that the version should now be dropped from there.

Experimenting with that recommendation, I removed the version from that
string, leaving it in the two version strings as described. But Finder
doesn't work right with that. It displays (for example) "Version: copyright
2006, My Freaking Company, Inc.". This leaves no way for users to tell what
version of the software they're using!

I decided to ask here if anyone knew what the correct thing to do now
is. So... I went back to their site just now to copy&paste that text here,
but the entire CFBundleGetInfoString entry has been removed! (There's a note
saying it was removed yesterday, but no reason why.)

I also found an entry called NSHumanReadableCopyright, which states that
it is intended to replace the old CFBundleGetInfoString, but when I use that
instead of CFBundleGetInfoString, the GetInfo window only displays the
version number, with no copyright/company information.

Anyone know what the deal is with this? Where are we supposed to put
our copyright/company information, if not in CFBundleGetInfoString? Is it
Apple's intent for Finder to no longer display that information? (And if
so, why???)

Thanks,
-Howard

 >> Stay informed about: CFBundleGetInfoString? 
Back to top
Login to vote
Tom Harrington

External


Since: Aug 19, 2003
Posts: 1469



(Msg. 2) Posted: Tue Jul 25, 2006 5:55 pm
Post subject: Re: CFBundleGetInfoString? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article
,
"Howard" wrote:

> Experimenting with that recommendation, I removed the version from that
> string, leaving it in the two version strings as described. But Finder
> doesn't work right with that. It displays (for example) "Version: copyright
> 2006, My Freaking Company, Inc.". This leaves no way for users to tell what
> version of the software they're using!

I think you want CFBundleShortVersionString. Finder displays that, if
present.

--
Tom "Tom" Harrington
Macaroni, Automated System Maintenance for Mac OS X.
Version 2.0: Delocalize, Repair Permissions, lots more.
See http://www.atomicbird.com/

 >> Stay informed about: CFBundleGetInfoString? 
Back to top
Login to vote
Sean McBride

External


Since: Jan 05, 2004
Posts: 474



(Msg. 3) Posted: Fri Aug 04, 2006 4:11 pm
Post subject: Re: CFBundleGetInfoString? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article
,
"Howard" wrote:

> yesterday morning, I was looking at Apple's docs regarding the strings
> that should be put in the info.plist file for bundles, and found the entry
> for CFBundleGetInfoString. It contained a note that the string used to
> contain the version number (as well as company and copyright information),
> but that the version should now be dropped from there.
>
> Experimenting with that recommendation, I removed the version from that
> string, leaving it in the two version strings as described. But Finder
> doesn't work right with that. It displays (for example) "Version: copyright
> 2006, My Freaking Company, Inc.". This leaves no way for users to tell what
> version of the software they're using!
>
> I decided to ask here if anyone knew what the correct thing to do now
> is. So... I went back to their site just now to copy&paste that text here,
> but the entire CFBundleGetInfoString entry has been removed! (There's a note
> saying it was removed yesterday, but no reason why.)

I know why! My bug <rdar://4423258> against the entire mess you
describe was "fixed" by that updated documentation. Laughable.

> I also found an entry called NSHumanReadableCopyright, which states that
> it is intended to replace the old CFBundleGetInfoString, but when I use that
> instead of CFBundleGetInfoString, the GetInfo window only displays the
> version number, with no copyright/company information.
>
> Anyone know what the deal is with this? Where are we supposed to put
> our copyright/company information, if not in CFBundleGetInfoString? Is it
> Apple's intent for Finder to no longer display that information? (And if
> so, why???)

The deal is that everything is entirely messed up. I suggest you file a
bug, and reference 4444246 and 4423258 while you're at it.

AFAICT, there is no doc that properly explains what has to go in which
of those plist keys, and which the Finder displays where. And God
forbid you want to create an app where all that info is displayed
properly on older and current versions of the OS.

Have fun!
 >> Stay informed about: CFBundleGetInfoString? 
Back to top
Login to vote
Howard1

External


Since: Sep 26, 2003
Posts: 61



(Msg. 4) Posted: Mon Aug 21, 2006 4:55 pm
Post subject: Re: CFBundleGetInfoString? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Sean McBride" wrote in message

> In article
> ,
> "Howard" wrote:
>
>> yesterday morning, I was looking at Apple's docs regarding the
>> strings
>> that should be put in the info.plist file for bundles, and found the
>> entry
>> for CFBundleGetInfoString. It contained a note that the string used to
>> contain the version number (as well as company and copyright
>> information),
>> but that the version should now be dropped from there.
>>
>> Experimenting with that recommendation, I removed the version from
>> that
>> string, leaving it in the two version strings as described. But Finder
>> doesn't work right with that. It displays (for example) "Version:
>> copyright
>> 2006, My Freaking Company, Inc.". This leaves no way for users to tell
>> what
>> version of the software they're using!
>>
>> I decided to ask here if anyone knew what the correct thing to do now
>> is. So... I went back to their site just now to copy&paste that text
>> here,
>> but the entire CFBundleGetInfoString entry has been removed! (There's a
>> note
>> saying it was removed yesterday, but no reason why.)
>
> I know why! My bug <rdar://4423258> against the entire mess you
> describe was "fixed" by that updated documentation. Laughable.
>
>> I also found an entry called NSHumanReadableCopyright, which states
>> that
>> it is intended to replace the old CFBundleGetInfoString, but when I use
>> that
>> instead of CFBundleGetInfoString, the GetInfo window only displays the
>> version number, with no copyright/company information.
>>
>> Anyone know what the deal is with this? Where are we supposed to put
>> our copyright/company information, if not in CFBundleGetInfoString? Is
>> it
>> Apple's intent for Finder to no longer display that information? (And if
>> so, why???)
>
> The deal is that everything is entirely messed up. I suggest you file a
> bug, and reference 4444246 and 4423258 while you're at it.
>
> AFAICT, there is no doc that properly explains what has to go in which
> of those plist keys, and which the Finder displays where. And God
> forbid you want to create an app where all that info is displayed
> properly on older and current versions of the OS.
>
> Have fun!

Oh, I am, I am. Smile

Thanks,
-Howard
 >> Stay informed about: CFBundleGetInfoString? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
modify OS X keyboard mappings - Hello, I need to have access to the french characters. I can do this with the Canadian - CSA keyboard. However, that keyboard has a "," as a decimal. I need a ".". Changing it in the international control panel does not change...

Shared memory - Hello all, If you're not on the beach maybe you can give me a little help. I need to implement shared memory between my application and a helper tool. At first I tried CFMessageProts. This works, but if you transport huge amounts of data the data get al...

mouse freeze - My mouse has started to freeze on booting (OS 9.03). The problem is intermittent, after touching the mouse it sometimes moves just slightly and freezes again. Can someone help? Boris vainerb@access4less.net

Can ZBasic still run on Mac OSX??? - Hi all, I was going through some older floppies and ran across some of my programs from high school written in ZBasic on the old mac classic. Is it possible to find a copy of ZBasic that'll run on a Powermac G4 with OSX Jaguar? I know this app probabl...

Anti Microsoft Video Game for Macs: "Redmond Raid" - Attention People of Earth, Some "Disgruntled Penguin" created an Anti Microsoft Game for Macs online... check it out: http://www.RedmondRaid.com So, the Axis of evil includes Iraq, Iran, and North Korea..... According to a "Disgruntled ...
   Macintosh computer (Home) -> General Discussion All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]