You are here

Changing thunderbird portable ICON

11 posts / 0 new
Last post
Lope
Offline
Last seen: 12 years 2 months ago
Joined: 2012-08-29 08:16
Changing thunderbird portable ICON

I run 2 instances of TB at once. One for personal emails, and one for work.
I'd like to change the icon of the Work Thunderbird so that its obvious which is which, because i switch between them all day long.

I opened up ThunderbirdPortable.exe in XN Resource Editor 3.0.0.1
Saved the icon 103 as an icon (with all the diff icon formats inside)

Opened the icon in IcoFX, edited the icons.
Then in XN Resource editor I added the new ICON, removed the old one, changed the language and resource number to be the same.
Now windows recognizes the new icons, I see my new icon showing on ThunderbirdPortable.exe but when I try run it I get a NSIS checksum error saying the integrity of the 'installer' has changed etc.

So it seems thunderbird was made portable with the Nullsoft installer.
There is apparently a commandline switch /NCRC which is supposed to skip the checksum check. But it doesn't work, the checksum error persists.

If I had more skills I would edit the exe in a hex editor and NOP the JUMP or whatever it is.

Anyway so I'm wondering if anyone here knows how to reset or disable the checksum check?

===========================

Btw I tried the icon change on thunderbird.exe in the app\thunderbird folder. It ran fine, but the original icon persisted, which means the taskbar icon is coming from thunderbirdportable.exe

===========================

Here is the icon I made.
http://www.sendspace.com/file/q3mtei

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 1 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No Hacking

All portable launchers are compiled with built-in self checks to prevent hacking and infection by viruses. That way you instantly know if something is amiss. This is by design. You can't change the icon within ThunderbirdPortable.exe without recompiling it.

Sometimes, the impossible can become possible, if you're awesome!

Lope
Offline
Last seen: 12 years 2 months ago
Joined: 2012-08-29 08:16
Yeah i figured that. Is there

Yeah i figured that.
Is there a guide to recompiling it?
how would I go about it?

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 1 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No Need

As the ThunderbirdPortable.exe icon isn't shown anywhere, just customize your shortcut to it with a different icon.

Sometimes, the impossible can become possible, if you're awesome!

Lope
Offline
Last seen: 12 years 2 months ago
Joined: 2012-08-29 08:16
you misunderstood

I said:
"I run 2 instances of TB at once.... i switch between them all day long... taskbar icon"

I want to change the icon that appears in the taskbar.

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 1 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
TBP.exe

Right, but ThunderbirdPortable.exe doesn't appear on the taskbar. The thunderbird.exe icon does.

Sometimes, the impossible can become possible, if you're awesome!

Lope
Offline
Last seen: 12 years 2 months ago
Joined: 2012-08-29 08:16
Hi John,As I said in my

Hi John,

As I said in my first post, I've tried changing the icons in thunderbird.exe but it doesn't affect what icon is shown in the taskbar.

see modified exe here,
EXE removed by request

when running thunderbirdportable.exe with the modified thunderbird.exe in place, it runs just fine, but the original icon is shown.

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 1 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Thunderbird Icon

Changing the ThunderbirdPortable.exe icon will not accomplish what you want. The icon shown while Thunderbird is running is dictated by Thunderbird itself. Last I checked, it was dictated by Thunderbird\chrome\icons\default

EDIT: What gluxon said below...

Sometimes, the impossible can become possible, if you're awesome!

rootiko
Offline
Last seen: 6 years 4 months ago
Joined: 2018-07-15 02:53
Good day. How can I make the

Good day. How can I make the same with firefox? Help please. Very important for me! Appreciated.

gluxon
gluxon's picture
Offline
Last seen: 4 years 2 months ago
Developer
Joined: 2008-06-21 19:26
Usually it's a bad idea to

Usually it's a bad idea to edit executables. The changes you made will be reverted with an update. I recommend changing it with this method instead.

  1. Navigate to your ThunderbirdPortable installation. [X]:\PortableApps\ThunderbirdPortable
  2. Go into App\Thunderbird\chrome\icons\default (create these folders if needed)
  3. Any icon you call messengerWindow.ico will be used as Thunderbird's window icon. Just paste your replacement here.

Full path should be [X]:\PortableApps\ThunderbirdPortable\App\Thunderbird\chrome\icons\default\messengerWindow.ico

Side note, the link you posted is in Thunderbird trademark violation, I'm sure this wasn't intended, so I would remove it as soon as possible.

Lope
Offline
Last seen: 12 years 2 months ago
Joined: 2012-08-29 08:16
Dude thats awesome!

Wish I had known it was that simple!
Initially I did a search for icons in the folder but only found App\Appinfo\Appicon.ico and that had no effect. I didn't look further than that.

Thank you!

Log in or register to post comments