You are here

[Fixed] Thunderbird Portable leaves folders behind

15 posts / 0 new
Last post
Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
[Fixed] Thunderbird Portable leaves folders behind

First, I have no local Thunderbird installation. Second, after using Thunderbird Portable the empty folder $APPDATA\Thunderbird\Profiles\ is left behind.
The code is at the moment:

TheRealEnd:
		${registry::Unload}
		newadvsplash::stop /WAIT
		RMDir "$APPDATA\Mozilla\" ;=== Will only delete if empty (no /r switch)
		RMDir "$APPDATA\Thunderbird\" ;=== Will only delete if empty (no /r switch)

The Folder $APPDATA\Thunderbird\ will never be empty, so the last line is useless.
A solution could be:

TheRealEnd:
		${registry::Unload}
		newadvsplash::stop /WAIT
		RMDir "$APPDATA\Mozilla\" ;=== Will only delete if empty (no /r switch)
		RMDir "$APPDATA\Thunderbird\Profiles\" ;=== Will only delete if empty (no /r switch)
		RMDir "$APPDATA\Thunderbird\" ;=== Will only delete if empty (no /r switch)

If an user has a local installation, the Profiles folder won't be empty and the folders will be preserved. Otherwise the folders will be removed.

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I dont

have the /Thunderbird/Profiles folder.
Do you have any extensions that might create it?

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
Hmmm,

my only addon/extension is lightning.
I'll check this without lightning tonight.

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
Weird!

Hmmm, I made a fresh install on my hdd (Thunderbird Portable 2.0.0.17_de).
1. Test: Started -> Changed some settings (like check for updates) -> Closed -> nothing is left behind
2. Test: Started -> Changed some random other settings -> Closed -> nothing is left behind
Seems ok, so I installed lightning (0.9).
3. Test: Started -> Changed some random other settings -> Closed -> nothing is left behind
4. Test: Started -> Changed some random other settings -> Closed -> mentioned folder is left behind
Aha, more testing needed with fresh install and with lightning installed.

My results (all tests without my profile):
Thunderbird only:

  • nothing is left behind: ~90%
  • folder is left behind: ~10%

Thunderbird with lightning: same result as thunderbird only

So for me it doesn't matter if lightning is installed or not. After a certain number of tests the folder is left behind.
But I can't reproduce the real reason.

MiK
Offline
Last seen: 1 month 6 days ago
Joined: 2008-08-14 18:25
Folders Re-created

Hi, I'm not too sure it is about the same bug (?), but I've noticed that whenever the core application thunderbird.exe contained in the "App" folder is opened - a "Thunderbird" folder is written/re-created in my "Local Settings > Application Data" directory, with "Profiles" in it.

The same applies to Firefox. That's how I found it about. It writes/re-creates "Mozilla" folder in that case.

This happens on my XP Home, SP2 system, with the portable apps installed on the local HDD, however.
I have no non-portable versions installed at present.

Hope this might help.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 47 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Wait

Why are you running thunderbird.exe?

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

Mickeyj4j
Mickeyj4j's picture
Offline
Last seen: 10 years 4 months ago
Joined: 2008-05-30 07:53
Wondering

Would he be using Thunderbird for checking/sending emails etc ?????

An Old Irish Blessing
May the road rise up to meet you. May the wind always be at your back. May the sun shine warm upon your face, and rains fall soft upon your fields. And until we meet again, May God hold you in the palm of His hand.

MickeyJ4J

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 47 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Directly

He made it sound like he's running thunderbird.exe directly in his post. Don't be a wise ass Blum

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

MiK
Offline
Last seen: 1 month 6 days ago
Joined: 2008-08-14 18:25
Not running directly

Hi again, No, I don't run that directly. But it can happen to anyone digging in the application and testing it.

Though, another instance when this happens (sometimes), in my case, must be due to file associations I've made (or attempted to) on my Windows system. Apparently.

Mickeyj4j
Mickeyj4j's picture
Offline
Last seen: 10 years 4 months ago
Joined: 2008-05-30 07:53
Well...

DOH was I stating the obvious Again. Though that is the answer to what you where asking. it was not my place to say anything as you where not asking me now where you.

SORRY i jumped the gun.

An Old Irish Blessing
May the road rise up to meet you. May the wind always be at your back. May the sun shine warm upon your face, and rains fall soft upon your fields. And until we meet again, May God hold you in the palm of His hand.

MickeyJ4J

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
No

I never opened thunderbird.exe. I always launch ThunderbirdProtable.exe.

I made the fresh install on my hdd for testing purpose. Otherwise I use my normal Thunderbird Portable on my USB-Stick.
From time to time I check my $APPDATA folder for leftbehinds. And I found $APPDATA\Thunderbird\Profiles\ quite often.

eresele
Offline
Last seen: 7 years 1 week ago
Joined: 2007-10-28 18:21
Just want to confirm that I

Just want to confirm that I see this behavior too, on Windows XP sp3 and Thunderbird Portable 2.0.0.17, with Lightening being the only extension installed. No locally installed version of Thunderbird exists, or has ever existed.

I closed Thunderbird Portable, removed the %APPDATA%\Thunderbird directory, and restarted Thunderbird Portable, and logged into an IMAP account. After this the directory %APPDATA%\Thunderbird had been recreated (w/o the Profiles directory though - although it was present initially i.e. before I removed the %APPDATA%\Thunderbird directory - so it seems like the Profile sub-directory might be created at some later execution stage [or by Lightening?]).

horusofoz
horusofoz's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2008-04-03 22:45
Same as above.

Only extensions are Lightning and the English (Australian) dictionary.

PortableApps.com Advocate

eresele
Offline
Last seen: 7 years 1 week ago
Joined: 2007-10-28 18:21
Forgot to mention that I also

Forgot to mention that I also have the Swedish dictionary extension installed, besides Lightening.

horusofoz
horusofoz's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2008-04-03 22:45
What is the likelihood that

What is the likelihood that this is the cause - Dictionary installation? And if so is it likely to be taken into consideration on the next release?

PortableApps.com Advocate

Log in or register to post comments