Skip to content
⌘ NSIS Forum Archive

Thunderbird Registry

6 posts

slickgoonie#

Thunderbird Registry

Hello everyone:

I'm trying to create an installer for an xpi thunderbird package. I was wondering if anyone knows where can I get the location of the user's thunderbird application data, my plugin has to be installed inside that location and thunderbird always create a ramdon folder name for each user.

I've been trying to find that location looking through the registry, but no luck.

Any ideas?

Thanks.
bholliger#
Hi there!

There is a file called profiles.ini in the path
%appdata%\Thunderbird. I'm sure you'll find more information in there.

Cheers

Bruno

slickgoonie#
Thanks that helped the only problem I have now is that my variable
$0 contains: profiles/8sf99f.default

and When I do this:

SetOutPath "$APPDATA\ThunderBird\$0"

The '/' gets wipped out, and my installation directory looks like this: profiles8sf99f.default

Any idea on how to parse out the '/' out of my variable?

thanks.
Yathosho#
you should probably replace the slash with a backslash.. though StrCpy would be enough to get just the part after Profile/