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.
Thunderbird Registry
6 posts
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
There is a file called profiles.ini in the path
%appdata%\Thunderbird. I'm sure you'll find more information in there.
Cheers
Bruno
Thanks for your reply! how can I read the data out of the ini file?
thanks.
thanks.
ReadINIStr
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.
$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.