You are here

GPGPathDirectory

9 posts / 0 new
Last post
mstinaff
Offline
Last seen: 14 years 8 months ago
Joined: 2006-10-01 10:58
GPGPathDirectory

Fresh install of Thunderbird Portable 2.0.0.9
installed enigmail 0.95.6
gpg for thunderbird 1.4.7

works as expected.

I have a copy of my gpg app dir at x:\ProgramFiles\CommonFiles\gpg\App
and a copy of my gpg data dir at x:\ProgramFiles\CommonFiles\gpg\Data

I have put thunderbirdsettings.ini into the same dir as the launcher.
I have added the following lines to the ini:
GPGPathDirectory=X:\PortableApps\CommonFiles\gpg\App
GPGHomeDirectory=X:\PortableApps\CommonFiles\gpg\Data

However in the gpg preferences dialog the gpg being used is still pointing to the /app/gpg copy

1. How can I make sure that ThunderbirdPortableSettings.ini is being parsed and used?
2. Can relative paths be used for GPGPathDirectory and GPGHomeDirectory?

Many many many humble thanks and much gratitude.

Simeon
Simeon's picture
Offline
Last seen: 10 years 2 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I think

GPGPathDirectory and GPGHomeDirectory have to have relative paths.
In you case that would be \PortableApps\CommonFiles\gpg\App
And if you want to test the ini file, disable the splash screen and look whether it comes up or not.

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

mstinaff
Offline
Last seen: 14 years 8 months ago
Joined: 2006-10-01 10:58
So the ini file that is

So the ini file that is being read in is at:
\PortableApps\ThunderbirdPortable\Data\settings\ThunderbirdPortableSettings.ini

however I still cannot seem to get it to take anything for GPGPathDirectory or GPGHomeDirectory.

Thank you for your prompt response. I must leave work now, but eagerly look forward to more debugging at home.

Key ID: 0xDAE3095F
Fingerprint: 5D98 65D2 1844 21A5 76C1 F0F6 4BE6 D689 DAE3 095F

Simeon
Simeon's picture
Offline
Last seen: 10 years 2 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
No

I know its confusing.
There are several ini files.
The one you mentioned (\PortableApps\ThunderbirdPortable\Data\settings\ThunderbirdPortableSettings.ini) is for "internal" use. The launcher uses it to store your last drive letter so if it doesnt change the programm starts faster. There is no need to edit this one.

The one you need to adapt the paths is at
ThunderbirdPortable/Other/ThunderbirdPortableSource
and you have to copy it to where the Launcher is:
/PortableApps/ThunderbirdPortable/
and change the paths. Just make sure you enter relative path names!

Hope that clarifies it.

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

mstinaff
Offline
Last seen: 14 years 8 months ago
Joined: 2006-10-01 10:58
Thank you!

Moved the TunderbirdPortable.ini into the same folder as the launcher and had to change the paths to:

GPGPathDirectory=..\CommonFiles\gpg\App
GPGHomeDirectory=..\CommonFiles\gpg\Data

so the path in OpenPGP>Preferences>FilesAndDirectories now reads:

X:\PortableApps\ThunderbirdPortable\..\CommonFiles\gpg\App\gpg.exe

and the keyring is loaded properly and it all works!

Thank you both! I now have one gpg install that is shared between enigmail and WinPT that I have portablized with Autoit.

Tangent, I am lerning the PA way to portablize. If I get it working how do I become a contributer/maintainer?

Key ID: 0xDAE3095F
Fingerprint: 5D98 65D2 1844 21A5 76C1 F0F6 4BE6 D689 DAE3 095F

Simeon
Simeon's picture
Offline
Last seen: 10 years 2 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
just post it

there are a lot programs done by various people floating around in the forums.

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

ottosykora
Offline
Last seen: 1 day 3 hours ago
Joined: 2007-10-11 17:48
curious: how di you do it exactly

> WinPT that I have portablized with Autoit.

Otto Sykora
Basel, Switzerland

rab040ma
Offline
Last seen: 4 months 5 days ago
Joined: 2007-08-27 13:35
There are several developers

There are several developers working on this sort of thing.

They're volunteers, so it may take a while. But registering your interest this way might help them focus.

MC

mstinaff
Offline
Last seen: 14 years 8 months ago
Joined: 2006-10-01 10:58
It begins

WinPTPortable

SourceForge has not approved the project yet, but as soon as it does I will post everything I've got. As this is my first NSIS project it is a lot of cut and paste coding.

Right now the installer just creates the WinPTPortable file structure. I thought about including GPG in the installer, but opted to keep it separate so that it can be revved independently to stay on top of security fixes and such.

That said I will probably also start a GPG Portable project to handle the installation of GPG to the CommonFiles directory. It would then be up to the individual PA creators to look there for GPG first. But before I do any of that I will need input from the Senior Ranks of PA as to standards and practices of CommonFiles {humble bow}.

Thank you for your interest.

Key ID: 0xDAE3095F
Fingerprint: 5D98 65D2 1844 21A5 76C1 F0F6 4BE6 D689 DAE3 095F

Log in or register to post comments