Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Change a program's menu bar name Apps
I have both Microsoft Office 2004 and 2008 installed on my machine for compatibility reasons. However, both versions of the application show as, for example, Microsoft Word in the menu bar when running. I wanted to change this, and found an easy way to do so. This only works for the Office 2008 apps, not for the Carbon Office 2004 apps (as you can't drill down into their packages). There may be another way to change those, but I only needed to change one of the two to be different, so it's OK for my purposes.

In Finder, Control-click on the application bundle (i.e. Microsoft Word), and select Show Package Contents from the pop-up menu. Drill down to Contents » Resources » en.lproj (or English.lproj as some apps may use, or whatever is appropriate for your language). Control-click on InfoPlist.strings and use the contextual menu to open it in TextWrangler, BBEdit, or TextEdit.

At the very bottom of the file, change both the keys for the display name you want. For example, for Word, I used:
CFBundleDisplayName = "Word 2008";
CFBundleName = "Word 2008";
This changes both the menu bar name and the name that shows up in the Finder's Open With menu, and other places. Hope this helps someone out.

[robg adds: I believe that if you use this trick on a signed application in 10.5 or 10.6 (such as any of Apple's apps), it will break code signing, which may then cause some Keychain issues.]
  • Currently 2.63 / 5
  You rated: 5 / 5 (30 votes cast)

Change a program's menu bar name | 5 comments | Create New Account
Click here to return to the 'Change a program's menu bar name' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change a program's menu bar name
Authored by: petersconsult on Nov 25, '09 01:50:19AM
This certainly would break code signing, but luckily, it's pretty easy to re-sign an app yourself:

Here is how you re-sign any app (although this is not really a hint because it is plainly documented, maybe we should post it as such, considering the number of hints that involve modifying application packages):

It is simply a two-step process..
First, you need to create a Code Signing certificate in Keychain Access.
To do so, open Keychain Access, then from the Keychain Access menu, select Certificate Assistant --> Create a Certificate...
In the Name field enter your desired CertificateName (try to make it unique to avoid stepping on the toes of a real certificate), and in the Certificate Type menu, select Code Signing
Hit continue, and you're done with that part
see here for more info:

Then, you open Terminal (do *not* 'sudo su' for this!) and type:
codesign -s CertificateName -f PathToYourApp

To check the status of your 'signing', type the following:
codesign -dvvvv PathToYourApp
I hope this helps!

[ Reply to This | # ]
Change a program's menu bar name
Authored by: iKenndac on Nov 26, '09 05:07:37AM

Unfortunately, while you *can* re-sign an application in the manner you describe, doing it that way is completely useless.

Mac OS X uses Code Signing to, amongst other things, verify that a new version of an application comes from the *same* source as the original one. Re-signing in the manner you describe essentially "proves" to the system the the application is, in fact, NOT from the original signing authority.

This doesn't do much now but cause the Keychain to revoke the application's access to its stored Keychain items, prompting the user to re-authorise the application to use the Keychain again - precisely the thing a valid signature is designed to prevent.

However, further down the line in 10.7, 10.8 or whatever when Code Signing is tightly integrated with the system like it is with the iPhone (signing an iPhone app in the manner you describe will cause it to not work at *all*), re-signing apps in this manner will cause no end of troubles.

[ Reply to This | # ]
Change a program's menu bar name
Authored by: petersconsult on Nov 26, '09 01:56:05PM
Ineed, but ann application one hacks like this is not usually the kind that can be updated using Software Update.
On the other hand, having to re-authorize an application in keychain is a bore, but it beats having an app that has, at best, a crippled access to the Keychain -- see the discussion about Safari Beta (with Tabs on Top) here:
I'm not saying that this is a permanent solution, after all, nothing here really is... But it really helps when you really need to hack an application, and still want it to be able to access the keychain as it used to...
Happy Thanksgiving!

[ Reply to This | # ]
Change a program's menu bar name
Authored by: mm2270 on Nov 30, '09 10:16:34AM

I'm not sure I would do this on Office 2008 apps, unless you don't plan on running any updates on them. In the past, making any modifications to these apps would break the Office Updater's ability to see and update these programs. Not sure if that's related to the code signing discussion here, but I know I've had to reinstall my Office 2008 at least once to get updates to work. In my case I think it was simply running utilities to remove localizations to save some disk space that caused it to break.

[ Reply to This | # ]
Change a program's menu bar name
Authored by: renaultssoftware on Nov 30, '09 12:41:06PM

If you have the Xcode Tools, it might be somewhat easier to open the MainMenu.nib file in the bundle and change the title -- if you can. (Sometimes, it's unopenable.) This might work for Carbon apps if you can find it; but in Cocoa apps it's appName Contents Resources language.lproj often.

[ Reply to This | # ]